How to close small circles?
7 views (last 30 days)
Show older comments
Below you see a binary image of a spray. I have to focus on the little drops outside on the very left and very right region. Some circles on the left and right side are still open. How can i close them? I allready tried BW = bwmorph(BW,'close'); and BW = bwmorph(BW,'diag'); but they wont work.
1 Comment
Image Analyst
on 2 Nov 2012
Though you mgiht want us to, we can't see images on your X drive. Upload it somewhere where we can see it: http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers. Make sure it's somewhere where we can see it instantly and don't have to click a bunch of times or download anything.
Answers (2)
Image Analyst
on 2 Nov 2012
Edited: Image Analyst
on 2 Nov 2012
You might try using a bigger kernel, or try edge linking. Or try imfindcircle() in the Image Processing Toolbox (>= R212a).
0 Comments
Alexander Esser
on 5 Nov 2012
1 Comment
Image Analyst
on 5 Nov 2012
This should have been a comment, rather than an answer to your question. Anyway, what I called a kernel, they call a "structuring element" in the help.
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!