convex hull perimeter
6 views (last 30 days)
Show older comments
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 Comment
Image Analyst
on 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?
Answers (2)
Stephen
on 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
0 Comments
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!