MATLAB: Color identify

colorsimage colorsImage Processing Toolbox

Hi Jan & Image Analyst, How to identify a particular color of a given image. For example. I am giving tomato image as input. if the color is red, then it is good one. if the color is green, then it is moderate. Likewise MATLAB has to produce the output.
Regards, Siva

Best Answer

Did you try to adapt any of my color segmentation demos? http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862