I have some RGB images.
What's the best way to know most color used in an image is Red or Yellow or White? The input images must have more than 50% red, yellow or white pixels and it's impossible to an image have two colors in same percentage. Other colors in image may be black or blue.
Is there any function in MATLAB
for this?
Note that i need a method with good performance for this!
Thanks in advance...