Image Processing Toolbox    
isrgb

Return true for an RGB image

Syntax

Description

flag = isrgb(A) returns 1 if A is an RGB truecolor image and 0 otherwise.

isrgb uses these criteria to determine if A is an RGB image:

Class Support

A can be of class logical, uint8, uint16, or double.

See Also

isbw, isgray, isind


  isind label2rgb