I am using 'imfindcircles' to detect bright circles but I am trying to refine it so that it will filter out green coloured circles. Is this possible?
Thank you

5 commentaires

Adam
Adam le 3 Juil 2017
Can't you just filter out the green circles as a 2nd step, using the first result as a mask into the original image?
Misha Patel
Misha Patel le 3 Juil 2017
Please can you give me some guidance or direct me to any material on how to use a 'mask'?
Thank you
KSSV
KSSV le 3 Juil 2017
Attach the image....
Misha Patel
Misha Patel le 3 Juil 2017
Misha Patel
Misha Patel le 3 Juil 2017
The issue arises when the function begins to detect 'circles' around the object due to varous curves. I want it to only detect the yellow/green circles. I have already adjusted the sensitivity and cannot change it more without it stopping detecting certain markers. Thanks

Connectez-vous pour commenter.

 Réponse acceptée

Image Analyst
Image Analyst le 3 Juil 2017

0 votes

See the Color Thresholder on the Apps tab of the tool ribbon.
See my File Exchange for a few color segmentation demos.
See the attached zip file where I track a green Sharpie.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by