Area of a irregular shape

后端 未结 7 1682
挽巷
挽巷 2021-02-06 05:09

I have set of points which lies on the image. These set of points form a irregular closed shape. I need to find the area of this shape. Does any body which is the normal algorit

7条回答
  •  长情又很酷
    2021-02-06 06:02

    You might want to be more precise, possibly even providing a graphical example.

    For instance, if the points you have are merely pixels, then the number of pixels equals the area. But if the points are the corners of a polygon, then the area of the polygon isn't that easily determined. You'd use polygon triangulation, and sum the areas of the triangles obtained.

提交回复
热议问题