Image Processing Toolbox User's Guide Previous page   Next Page
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 whether A is an RGB image:

Class Support

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

See Also

isbw, isgray, isind


Previous page  isind lab2double Next page

© 1994-2005 The MathWorks, Inc.