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