[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] SDC Morphology Toolbox V1.1 15Jan02

mmisbinary - Check for binary image. Obsolete, use mmis.


Synopsis
bool = mmisbinary( f )
Input
f: Gray-scale (uint8 or uint16) or binary image (logical uint8).
Output
bool: Boolean.
Description
mmisbinary returns TRUE(1) if the input image is binary. A binary image is a logical uint8 image that has just the values 0 and 1.
Examples
a=uint8([0 1 0 1]);
mmisbinary(a)

ans =
     0
b=mmbinary(a)

b =
     0     1     0     1
mmisbinary(b)

ans =
     1
See Also
mmbinary - Convert a gray-scale image into a binary image.
mmfreedom - Control automatic data type conversion.
mmgray - Convert a binary image into a gray-scale image.
mmis - Verify if a relationship among images is true or false.

[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] Valid XHTML 1.0!
Copyright (c) 1998-2002 by SDC Information Systems