Image Processing Toolbox User's Guide |
Return true for an indexed image
Syntax
Description
flag = isind(A)
returns 1 if A
is an indexed image and 0 otherwise.
isind
uses these criteria to determine if A
is an indexed image:
A
is of class double
, all values in A
must be integers greater than or equal to 1, and the number of dimensions of A
must be 2.
A
is of class uint8
or uint16
, the number of dimensions of A
must be 2.
Class Support
A
can be of class logical
, uint8
, uint16
, or double
.
See Also
isicc | isrgb |
© 1994-2005 The MathWorks, Inc.