How to close small circles?

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

Image Analyst
Image Analyst 2012년 11월 2일
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.

댓글을 달려면 로그인하십시오.

답변 (2개)

Image Analyst
Image Analyst 2012년 11월 2일
편집: Image Analyst 2012년 11월 2일

1 개 추천

You might try using a bigger kernel, or try edge linking. Or try imfindcircle() in the Image Processing Toolbox (>= R212a).
Alexander Esser
Alexander Esser 2012년 11월 5일

0 개 추천

What do you mean by "_a bigger kerne_l"? How do I change the kernel and how does it affect the image/circles?

댓글 수: 1

Image Analyst
Image Analyst 2012년 11월 5일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2012년 11월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by