i couldn't understand convex area
30 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
0 commentaires
Réponse acceptée
David Legland
le 12 Juil 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.
regards,
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Bounding Regions dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!