How can i detect a single color from an image?

1 view (last 30 days)
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
Walter Roberson
Walter Roberson on 30 Apr 2011
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 ?
Hervé Chubaka Bagalwa
Hervé Chubaka Bagalwa on 30 Apr 2011
Hello friends,
I edited my question. I hope it is clear now.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!