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 Kommentare

Adam
Adam am 3 Jul. 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 am 3 Jul. 2017
Please can you give me some guidance or direct me to any material on how to use a 'mask'?
Thank you
KSSV
KSSV am 3 Jul. 2017
Attach the image....
Misha Patel
Misha Patel am 3 Jul. 2017
Misha Patel
Misha Patel am 3 Jul. 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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Image Analyst
Image Analyst am 3 Jul. 2017

0 Stimmen

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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by