ovl.image_utilities.is_image module

ovl.image_utilities.is_image.is_color_image(image: numpy.ndarray) → bool[source]

A function that checks if an image is a color image (each pixel is not one value but multiple color components)

Parameters:image – the image to be checked, a numpy array
ovl.image_utilities.is_image.is_greyscale_image(image: numpy.ndarray) → bool[source]

A function that checks if an image is a greyscale image (an image where pixels are a number - has 1 color channel)

Parameters:image – the image to be checked, a numpy array
ovl.image_utilities.is_image.is_image_grayscale(image: numpy.ndarray) → bool

A function that checks if an image is a greyscale image (an image where pixels are a number - has 1 color channel)

Parameters:image – the image to be checked, a numpy array