Remove objects from binary image based on shape's eccentricity

조회 수: 9 (최근 30일)
JasMar
JasMar 2016년 6월 28일
댓글: JasMar 2016년 6월 29일
I am trying to identify all of the objects in an image with an eccentricity less than 0.7. The radius of the shapes vary but the primary objective is to remove all non-circle images.
Thus far I have tried the circular hough transforms and the imfindcircles but neither fulfills the purpose. My main problem is removing the noncircles and/or isolating the circles. (Just to clarify, the objects that I am trying to isolate are not perfect circles, they vary between being an ellipse and a circle.
Any help to resolve this issue would be appreciated. Thank you.

채택된 답변

Image Analyst
Image Analyst 2016년 6월 28일
Try bwpropfilt().

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by