machinevisiontoolbox.Image.isbool

property Image.isbool

Image has bolean values?

Returns:

True if image has boolean pixel values

Return type:

bool

Example:

>>> from machinevisiontoolbox import Image
>>> img = Image.Read('flowers1.png') > 200
>>> img.isint
False
>>> img.isbool
True
Seealso:

isint isfloat