i couldn't understand convex area

54 views (last 30 days)
i know ''area'' command calculates the number of pixels in the region.
As far as i see, The value of ''ConvexArea'' is bigger than ''area''
In regionprops, The term ''ConvexArea'' what is it exactly?
what does it calculate? For what purpose can we use this property?

Accepted Answer

David Legland
David Legland on 12 Jul 2012
Hi Selim,
the 'convexArea' property corresponds the area of the convex hull of the region. The convex hull of a region is the smallest region that satisfy two conditions: (1) it is convex (2) it contains the original region.
The convex area is by definition greater than or equal to the area of the region. It can be used to compute a shape factor known either as "convexity" or "solidity", defined as the ratio of area over convex area. It can be obtained by using the 'solidity' parameter in regionprops function.
The solidity can be used to discriminate or classify regions using shape criteria.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!