machinevisiontoolbox.Image.false

property Image.false

False value for logical image

Returns:

Value used as true

Return type:

int or float

The false value is 0.0 for a floating point image and 0 value for an integer value.

Example:

>>> from machinevisiontoolbox import Image
>>> img = Image.Zeros(20, dtype='float32')
>>> img.false
0
>>> img = Image.Zeros(20, dtype='uint8')
>>> img.false
0
Seealso:

true