in my project i want to implement a modul which add or remove contrast to a given picture automatically. My problem is, to find out how much contrast i can add or remove. I know about photoshops auto-contrast/auto-color function. Can someone explain me how it works or a theory/paper/idea how to implement this?
I know, there is a histogram-equalization feature. But that's not the feature i'm seeking for.
For example i want to choose one of this three gradiant-curves,which match with the image.
greetings