Detect rounding objects only and remove all other objects!
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2011-9-17
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!