pysdic.Image.n_channels#

property Image.n_channels: int#

[Get] The number of channels in the image (1 for a grayscale image).

Returns:

The number of channels in the image.

Return type:

int