HDR tone mapping: normalize luminance relative to the brightest point in the input

(Also tweaked the default value for the "amount" slider)

Fixes #4255
This commit is contained in:
Alberto Griggio
2018-01-08 14:54:55 +01:00
parent 1006dd1ebf
commit 7f89c362d0
3 changed files with 13 additions and 7 deletions

View File

@@ -26,10 +26,7 @@ using namespace rtengine::procparams;
FattalToneMapping::FattalToneMapping(): FoldableToolPanel(this, "fattal", M("TP_TM_FATTAL_LABEL"), true, true)
{
// setEnabledTooltipMarkup(M("TP_EPD_TOOLTIP"));
amount = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_AMOUNT"), 1., 100., 1., 0.0));
amount = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_AMOUNT"), 1., 100., 30., 0.0));
threshold = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_THRESHOLD"), -100., 100., 1., 0.0));
amount->setAdjusterListener(this);