pysdic.Image.is_color#

property Image.is_color: bool | None#

[Get] Check if the image is a color image (3D array).

Note

3-channel images with only one channel are still considered color images.

Returns:

True if the image is a color image, False if it is grayscale, or None if not set.

Return type:

Optional[bool]