Image Processing Toolbox User's Guide |
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:
A
is of class double
, all values must be in the range [0,1], and A
must be m
-by-n
-by-3.
A
is of class uint16
or uint8
, A
must be m
-by-n
-by-3.
Class Support
A
can be of class logical
, uint8
, uint16
, or double
.
See Also
isind | lab2double |
© 1994-2005 The MathWorks, Inc.