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 comentario

Image Analyst
Image Analyst el 2 de Nov. de 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.

Iniciar sesión para comentar.

Respuestas (2)

Image Analyst
Image Analyst el 2 de Nov. de 2012
Editada: Image Analyst el 2 de Nov. de 2012

1 voto

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

0 votos

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

1 comentario

Image Analyst
Image Analyst el 5 de Nov. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 2 de Nov. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by