pyaesthetics.saturation.saturation

pyaesthetics.saturation.saturation(img)

This function evaluates the saturation of an image.

The image is first converted to the HSV color space, then the mean saturation value is computed.

Parameters:

img (numpy.ndarray) – Image to analyze, in RGB format.

Returns:

Mean saturation value of the image.

Return type:

float