Remove objects from binary image based on shape's eccentricity

7 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 28 Jun. 2016
Try bwpropfilt().

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by