Irregular Land Area from Image (irg_landimg)

Calculate the irregular land area from an image in pixel units. Get image size and land area percentage.

Irregular Land Area from Image

Purpose

The purpose of this function is to calculate the area of irregular land from an image provided by the user.

Use Cases

This function can be used when you have an image of a piece of land with irregular shape and you want to calculate its area.

How to Use

  1. Upload an image of the land.
  2. Click on the "Calculate" button.
  3. The function will process the image and return the calculated land area.

Input Values

  1. Land Image: Upload an image of the land.

Output Values

  1. Image Size: The size of the uploaded image in pixels.
  2. Land Area: The calculated area of the irregular land in percentage.
  3. Land Image: The uploaded image.

Any other Instruction

Ensure that the uploaded image is clear and properly captures the boundaries of the land.

Code Analysis

  1. Read the uploaded image.
  2. Convert the image to black and white.
  3. Calculate the area of the land based on the black and white pixels.
  4. Calculate the percentage of the land area.
  5. Return the image size, land area, and the land image.

Technical Parameters

land_image

Return Values

Image Size, Land Area, Land Image

Example Expressions

You can use the following expressions to directly evaluate in a non-interactive manner using eva():

irg_landimg(land_image=image1)
irg_landimg(land_image=image2)

Click on Help icon to open the help page on a separate window.






Calculator: irg_landimg, Created by: super, V#0: , Variant owner: , Link