| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
bool = mmisbinary( f ) f: Gray-scale (uint8 or uint16) or binary image (logical uint8). bool: Boolean. 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.
a=uint8([0 1 0 1]);
mmisbinary(a)
ans =
0
b=mmbinary(a)
b =
0 1 0 1
mmisbinary(b)
ans =
1
|
| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||