Image Processing Toolbox
  Go to function:
    Search    Help Desk 
isrgb    See Also

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:

Note:
A four-dimensional array that contains multiple RGB images returns 0, not 1.

Class Support

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

See Also

isbw, isgray, isind



[ Previous | Help Desk | Next ]