Image Processing Toolbox | ![]() ![]() |
Return true for a binary image
Syntax
Description
flag = isbw(A)
returns 1 if A
is a binary image and 0 otherwise.
The input image, A
, is considered to be a binary image if it is a nonsparse logical array.
Class Support
The input image, A
, can be any MATLAB array.
See Also
![]() | iradon | isflat | ![]() |