필터 지우기
필터 지우기

convex hull perimeter

조회 수: 7 (최근 30일)
Nagarajan sivathanu
Nagarajan sivathanu 2012년 2월 24일
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
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개)

Nagarajan sivathanu
Nagarajan sivathanu 2012년 2월 24일
I have tried to go for centroid, perimeter but it ended as a failure

Stephen
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

Community Treasure Hunt

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

Start Hunting!

Translated by