Azzera filtri
Azzera filtri

convex hull perimeter

7 visualizzazioni (ultimi 30 giorni)
Nagarajan sivathanu
Nagarajan sivathanu il 24 Feb 2012
Hi guys, I want to determine convex hull perimeter (for convexity). I think it will be useful for shape determination.
I want to separate irregular shape and regular shape.
If not, how to distinguish irregular and regular shape??
  1 Commento
Image Analyst
Image Analyst il 24 Feb 2012
Can you define the difference in words first? Because I have no idea what regular and irregular mean to you. Is a circle regular? How about a square? A kite shape? A dumbbell? A star shape? An asterisk shape?

Accedi per commentare.

Risposte (2)

Nagarajan sivathanu
Nagarajan sivathanu il 24 Feb 2012
I have tried to go for centroid, perimeter but it ended as a failure

Stephen
Stephen il 12 Mar 2012
The easiest way to discriminate between shapes is the circularity (perimeter^2/area) and eccentricity (major axis/minor axis). I think bwperim and regionprops can get you what you need. If you want to get fancier, you can calculate the bending energy of the shape. Ian T. Young wrote an easy to follow paper about bending energy of shapes in 1974. Good luck

Community Treasure Hunt

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

Start Hunting!

Translated by