Image Processing Toolbox
  Go to function:
    Search    Help Desk 
isgray    See Also

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 if A is an intensity image:

Note that a four-dimensional array that contains multiple intensity images returns 0, not 1.

Class Support

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

See Also

isbw, isind, isrgb



[ Previous | Help Desk | Next ]