How can i detect a single color from an image?

Hello,
Sorry about the original question. I edited my question. I hope it is now clear. Here it is:
I have a picture with a white ball in it. I would like to detect the color white so i can use use a hough transform to detect the circle.
I know i have to convert my rgb image to an hsv image.
I would like to be able to detect any color. ie: orange, green...
Thank you for your help

3 Comments

Would you mind clarifying a bit? When you say "filter", do you mean remove it? Or perhaps make it less noisy?
How are you defining your colors? Purely by hue? If so then what if the hue comes out somewhere between the hue of two well-known colors ?
Hello friends,
I edited my question. I hope it is clear now.

Sign in to comment.

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!