[mmReadgray] [Up] [mmIsequal] Relations

mmIsbinary
Check for binary image

Synopsis

Boolean mmIsbinary ( const Image& f );

Input

f Image [ Unsigned gray-scale (uint8 or uint16), signed (int32) or binary image ]

Output

boo Boolean

Description

mmIsbinary returns TRUE(1) if the datatype of the input image is binary. A binary image has just the values 0 and 1.

See also

mmBinary Convert a gray-scale image into a binary image
mmGray Convert a binary image into a gray-scale image.
[mmReadgray] [Up] [mmIsequal]