MATLAB: Color feature of the image

colorImage Processing Toolbox

Hi,
I would like to obtain the color feature of the 3 images(attached) as the color of the image are quite distinctive among each other. But matlab only permit Red , Green and Blue pixel which do not relevant to this case. I am quite new to matlab programming could anyone help generate the code to obtain the color feature as one of the feature vector of the image? Thankyou in advance.
Regards, Ivan

Best Answer

I don't know what you mean that MATLAB only handles red, blue, and green. For 24 bit images (8 bit for each of red, green, and blue), there are 16.7 million possible colors and I deal with true color images all the time with no problem. See my color segmentation demos in my File Exchange http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862