iscolor

Test for color image

iscolor(im) is true (1) if im is a color image, that is, it its third dimension is equal to three.


Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.