Detcting irregular circles with different sizes

5 vues (au cours des 30 derniers jours)
Vahid Abolhasannejad
Vahid Abolhasannejad le 19 Fév 2015
Commenté : Image Analyst le 21 Fév 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,

Réponses (1)

David Young
David Young le 19 Fév 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 commentaires
Vahid Abolhasannejad
Vahid Abolhasannejad le 21 Fév 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 le 21 Fév 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by