Image.iscolor#
- property Image.iscolor: bool[source]#
Image has color pixels?
Examples
>>> from machinevisiontoolbox import Image >>> img = Image.Read('flowers1.png') >>> img.iscolor True >>> img = Image.Read('street.png') >>> img.iscolor False
Image has color pixels?
Examples
>>> from machinevisiontoolbox import Image
>>> img = Image.Read('flowers1.png')
>>> img.iscolor
True
>>> img = Image.Read('street.png')
>>> img.iscolor
False