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.
© 1990-2012 Peter Corke.