Compute the root-mean-square (RMS) contrast of an image.
The image is converted to 8-bit grayscale and the RMS contrast is the
population standard deviation of the pixel intensities (values in
[0, 255]).
- Parameters:
- image
Image Input image in any Pillow mode; converted to grayscale internally.
- Returns:
floatRMS contrast. 0 for a uniform image; 127.5 is the maximum.