machinevisiontoolbox.Image.minval

property Image.minval

Minimum value of image datatype

Returns:

Minimum value

Return type:

int or float

For the datatype of the image, return its minimum possible value

Example:

>>> from machinevisiontoolbox import Image
>>> img = Image.Zeros(20, dtype='float32')
>>> img.minval
-3.4028235e+38
>>> img = Image.Zeros(20, dtype='uint8')
>>> img.minval
0
Seealso:

maxval