Skip to Main Content Skip to Search
Product Documentation

isbw - True for binary image

Syntax

flag = isbw(A)

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

isgray | isind | isrgb

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS