Uniform Color Extraction from Image

1 view (last 30 days)
I have a image with multiple colors.I need to extract individual color by suppressing the other color.I mean, if image consist of different color balls and in that one color ball(say yellow or red etc)i need to extract(display) by suppressing remaining color balls. Like that all color balls i need to display separately.
Does any one know please suggest me how to implement this or any MATLAB code?
Thank You

Accepted Answer

Image Analyst
Image Analyst on 10 Dec 2012
Have you tried my color segmentation tutorials: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 ?
  2 Comments
Chandra Shekhar
Chandra Shekhar on 11 Dec 2012
I tried but its not giving clear output for my requirement. I tried with color based segmentation using K means clustering, here i am getting better result.
Thank You Sir.
Image Analyst
Image Analyst on 11 Dec 2012
OK - k-means is good if your colors vary from image to image. You know how many colors there should be but you don't have consistent colors, due to varying illumination, varying object colors, or some other reason. Here's the Mathworks demo on it: http://www.mathworks.com/products/demos/image/color_seg_k/ipexhistology.html

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!