isbw
Returns true if the given image, x, has only black and white colors.
Syntax
R = isbw(x)
Inputs
- x
 - Name of the image file, 2D or ND non-sparse matrix.
 
Outputs
- R
 - Returns true if x is black and white and false otherwise.
 
Examples
R = isbw('test.bmp')R = 1