| Image Processing Toolbox™ | ![]() |
flag = isind(A)
Note This function is obsolete and may be removed in future versions. |
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:
If 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.
If A is of class uint8 or uint16, the number of dimensions of A must be 2.
Note A four-dimensional array that contains multiple indexed images returns 0, not 1. |
A can be of class logical, uint8, uint16, or double.
![]() | isicc | isnitf | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |