Image Processing Toolbox User's Guide Previous page   Next Page
isgray

Return true for intensity image

Syntax

Description

flag = isgray(A) returns 1 if A is a grayscale intensity image and 0 otherwise.

isgray uses these criteria to decide whether A is an intensity image:

Class Support

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

See Also

isbw, isind, isrgb


Previous page  isflat isicc Next page

© 1994-2005 The MathWorks, Inc.