convex hull perimeter
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
Image Analyst
2012-2-24
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?
回答(2 个)
Stephen
2012-3-12
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!