Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.8k stars 316 forks source link

Auto exposure should fit histogram to touch edges #539

Closed Beep6581 closed 9 years ago

Beep6581 commented 9 years ago

Originally reported on Google Code with ID 550

What steps will reproduce the problem?
1. Open ryanair.pef, use the neutral profile, set highlight recovery amount = 100 and
turn on highlight reconstruction.
2. Notice the histogram, there is an abrupt end on the bright end because of the large
overexposed area.
3. Turn on auto levels. Only the black slider changes, the bright end is still far
from the right edge despite there not being enough bright pixels (clip = 0.0010) to
warrant that. Even if you set clip to 0.2, still won't work. There are no pixels of
any value between 243 and 255 (8 bit per channel image in gimp).

What is the expected output? What do you see instead?
I expect auto exposure to nicely fit the histogram to touch both edges according to
the clip value. If clip=0.01, then 1% of all pixels should be white. In this case,
none are.

RT version/revision:
Latest tag: Dev-3.1, Latest tag distance: 62, Changeset: 1013:512f167cfdf5

Operating system and architecture (e.g. winXP-32, ubuntu-10.10-64):
Gentoo 64

Reported by entertheyoni on 2011-03-01 00:15:46

Beep6581 commented 9 years ago
http://i.imgur.com/uPGED.png
http://www.rawtherapee.com/test_images/ryanair.pef

Reported by entertheyoni on 2011-03-01 00:23:27

Beep6581 commented 9 years ago
What are you using for working space color space?

Reported by ejm.60657 on 2011-03-01 22:13:37

Beep6581 commented 9 years ago
sRGB.

Reported by entertheyoni on 2011-03-02 22:54:26

Beep6581 commented 9 years ago
Made obsolete by the new autolevels.

Reported by entertheyoni on 2012-04-24 20:51:16