Description Usage Arguments Details Value Author(s)
From an image mask, it calcultates the hull area of the unmasked object
1 | hull_area_from_masks(img)
|
img |
A two-dimensional matrix representing an image mask. Any non-zero pixel is considered as part of the oject that wants to be encapsulated. |
The mask must be a two-dimensional matrix where 0 values indicate masked pixels, and non-zero values unmasked (selected) pixels. The convex hull is the smallest convex polygon that encapsulates all the unmasked pixels, and this function returns the area of that polygon
The area (in pixels) of the convex hull
Sur Herrera Paredes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.