For a project, I want to measure the contrast of a global image.
I want to compare different images to get the image with the best contrast. I know about the Weber contrast, but I need a normalized contrast value (in the range between 0-1 or other).
Is there a simple method to do this in openCV?