From 8b7f51008c20f7b76637bee50d10ad348f871548 Mon Sep 17 00:00:00 2001 From: Hombre Date: Sat, 9 Nov 2013 21:21:56 +0100 Subject: [PATCH] Solving issue 2018; "Neutral profile not neutral (highlight recovery is 70)" --- rtengine/procparams.cc | 8 ++++---- rtgui/shadowshighlights.cc | 4 ++-- rtgui/sharpening.cc | 2 +- rtgui/tonecurve.cc | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/rtengine/procparams.cc b/rtengine/procparams.cc index 03c8c1faa..64e7c050f 100644 --- a/rtengine/procparams.cc +++ b/rtengine/procparams.cc @@ -136,8 +136,8 @@ void ProcParams::setDefaults () { toneCurve.contrast = 0; toneCurve.saturation = 0; toneCurve.black = 0; - toneCurve.hlcompr = 70; - toneCurve.hlcomprthresh = 0; + toneCurve.hlcompr = 0; + toneCurve.hlcomprthresh = 33; toneCurve.shcompr = 50; toneCurve.curve.clear (); toneCurve.curve.push_back(DCT_Linear); @@ -301,9 +301,9 @@ void ProcParams::setDefaults () { sh.enabled = false; sh.hq = false; - sh.highlights = 10; + sh.highlights = 0; sh.htonalwidth = 80; - sh.shadows = 10; + sh.shadows = 0; sh.stonalwidth = 80; sh.localcontrast = 0; sh.radius = 40; diff --git a/rtgui/shadowshighlights.cc b/rtgui/shadowshighlights.cc index 14f2dff4a..2467bbae2 100644 --- a/rtgui/shadowshighlights.cc +++ b/rtgui/shadowshighlights.cc @@ -38,14 +38,14 @@ ShadowsHighlights::ShadowsHighlights () : Gtk::VBox(), FoldableToolPanel(this) { hqConn = hq->signal_toggled().connect( sigc::mem_fun(*this, &ShadowsHighlights::hqChanged) ); pack_start (*Gtk::manage (new Gtk::HSeparator())); - highlights = Gtk::manage (new Adjuster (M("TP_SHADOWSHLIGHTS_HIGHLIGHTS"), 0, 100, 1, 10)); + highlights = Gtk::manage (new Adjuster (M("TP_SHADOWSHLIGHTS_HIGHLIGHTS"), 0, 100, 1, 0)); h_tonalwidth = Gtk::manage (new Adjuster (M("TP_SHADOWSHLIGHTS_HLTONALW"), 10, 100, 1, 80)); pack_start (*highlights); pack_start (*h_tonalwidth); pack_start (*Gtk::manage (new Gtk::HSeparator())); - shadows = Gtk::manage (new Adjuster (M("TP_SHADOWSHLIGHTS_SHADOWS"), 0, 100, 1, 10)); + shadows = Gtk::manage (new Adjuster (M("TP_SHADOWSHLIGHTS_SHADOWS"), 0, 100, 1, 0)); s_tonalwidth = Gtk::manage (new Adjuster (M("TP_SHADOWSHLIGHTS_SHTONALW"), 10, 100, 1, 80)); pack_start (*shadows); pack_start (*s_tonalwidth); diff --git a/rtgui/sharpening.cc b/rtgui/sharpening.cc index 0555bc609..4dd87a2cf 100644 --- a/rtgui/sharpening.cc +++ b/rtgui/sharpening.cc @@ -75,7 +75,7 @@ Sharpening::Sharpening () : Gtk::VBox(), FoldableToolPanel(this) { Gtk::HSeparator *hsep6a = Gtk::manage (new Gtk::HSeparator()); - amount = Gtk::manage (new Adjuster (M("TP_SHARPENING_AMOUNT"), 1, 1000, 1, 125)); + amount = Gtk::manage (new Adjuster (M("TP_SHARPENING_AMOUNT"), 1, 1000, 1, 200)); radius = Gtk::manage (new Adjuster (M("TP_SHARPENING_RADIUS"), 0.3, 3, 0.01, 0.5)); threshold = Gtk::manage (new ThresholdAdjuster (M("TP_SHARPENING_THRESHOLD"), 0., 2000., 20., 80., 2000., 1200., 0, false)); threshold->setBgGradient(milestones); diff --git a/rtgui/tonecurve.cc b/rtgui/tonecurve.cc index a055813ee..d41f0b5ae 100644 --- a/rtgui/tonecurve.cc +++ b/rtgui/tonecurve.cc @@ -69,9 +69,9 @@ ToneCurve::ToneCurve () : Gtk::VBox(), FoldableToolPanel(this) { //----------- Exposure Compensation ------------------------ expcomp = Gtk::manage (new Adjuster (M("TP_EXPOSURE_EXPCOMP"), -5, 10, 0.05, 0)); pack_start (*expcomp); - hlcompr = Gtk::manage (new Adjuster (M("TP_EXPOSURE_COMPRHIGHLIGHTS"), 0, 500, 1, 70)); + hlcompr = Gtk::manage (new Adjuster (M("TP_EXPOSURE_COMPRHIGHLIGHTS"), 0, 500, 1, 0)); pack_start (*hlcompr); - hlcomprthresh = Gtk::manage (new Adjuster (M("TP_EXPOSURE_COMPRHIGHLIGHTSTHRESHOLD"), 0, 100, 1, 0)); + hlcomprthresh = Gtk::manage (new Adjuster (M("TP_EXPOSURE_COMPRHIGHLIGHTSTHRESHOLD"), 0, 100, 1, 33)); pack_start (*hlcomprthresh); //----------- Black Level ----------------------------------