Detect rounding objects only and remove all other objects!
3 views (last 30 days)
Show older comments
Hello,
My name is Raafat, I'm a quite new in this community and I'm trying my luck in here to get answers from you guys if anybody can help me out!
Briefly, my project with using Matlab image processing tools is detecting objects which are rounding and out-layer is smooth but in my images we can find irregular and non smooth objects! so please, which code in image processing tools can I use to detect the rounding and at same time delete the other which are non rounding??
I have found a code which is helping me to identify round objects in DEMO but I'm looking for more, looking for deleting non-round objects in same image!
Please guys, I will appreciate your helping! any answer!
Regards,
0 Comments
Accepted Answer
Image Analyst
on 17 Sep 2011
For roundness, you'll need to calculate the circularity, which is the perimeter squared divided by (4*pi*Area). See my BlobsDemo demo for how to filter blobs on various criteria using the ismember() function - deleting non-round objects like you say.
More Answers (0)
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!