Hi there. This is a histogram of a grayscaled image I have:
I need it to be more like this:
And I wonder what's the best and efficient way to reach it. In general, I need n% (I guess n is between 0-20) of the image's area with the highest luminance to be brighter. Or (100-n)% to be darker.