Image Processing Toolbox    
isbw

Return true for a binary image

Syntax

Description

flag = isbw(A) returns 1 if A is a binary image and 0 otherwise.

isbw uses these criteria to decide if A is a binary image:

Class Support

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

See Also

isind, isgray, isrgb


 iradon isgray