Detcting irregular circles with different sizes

5 visualizaciones (últimos 30 días)
Vahid Abolhasannejad
Vahid Abolhasannejad el 19 de Feb. de 2015
Comentada: Image Analyst el 21 de Feb. de 2015
Hi friends,
I am going to detect some circles with different size in an image. I already binarized the image and applied the cannyy edge detection. But still have problem in seprating the circles from the other object in the image. I will appreciate if you tell me how I can solve this problem? I attached the picture here.
Thank you,

Respuestas (1)

David Young
David Young el 19 de Feb. de 2015
You could consider the Hough Transform. The best place to start is imfindcircles. There are also some circle Hough Transform implementations in the file exchange.
By the way, note that Canny edge detection should normally be applied to the grayscale image, not to a binarized image. It sounded like maybe you binarized then applied Canny, which is not usually the best approach.
  6 comentarios
Vahid Abolhasannejad
Vahid Abolhasannejad el 21 de Feb. de 2015
Thank you david for your helps, I fortunately found a way through "regionprops" to solve this problem. This method can also give me subpixel accuracy.
Image Analyst
Image Analyst el 21 de Feb. de 2015
Evidently you didn't understand David's answer. And though you can use regionprops to find blobs that are circular, you must have the blobs to begin with - and that is where the substantial work comes in that David and I just don't have time to help you with. Just using some edge detection or threshold will give you some blobs of course, but that doesn't mean those blobs are all the circles in the image and that no circles were missed during that segmentation.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by