machinevisiontoolbox.Image.isfloat
- property Image.isfloat
Image has floating point pixel values?
- Returns:
True if image has floating point values
- Return type:
bool
Example:
>>> from machinevisiontoolbox import Image >>> img = Image.Read('flowers1.png') >>> img.isfloat False >>> img = Image.Read('flowers1.png', dtype='float32') >>> img.isfloat True