diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index 3e83685a6..a6f0cac66 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -2624,11 +2624,11 @@ printf("h=%f l=%f c=%f s=%f\n", hueref, lumaref, chromaref, sobelref); float newhr = 0.f; float difL = 0.f; - if (senstype == 2 || senstype == 8) { + if (senstype == 2 ) { const float lightc = bufexporig->L[y - ystart][x - xstart]; const float fli = (100.f + realstrdE) / 100.f; transformed->L[y][x] = CLIP(original->L[y][x] + (lightc * fli - original->L[y][x]) * factorx); - } else if (senstype == 6) { + } else if (senstype == 6 || senstype == 8) { difL = (bufexporig->L[y - ystart][x - xstart] - original->L[y][x]) * localFactor * reducdE; transformed->L[y][x] = CLIP(original->L[y][x] + difL); } else if (senstype == 1 || senstype == 0 || senstype == 9 || senstype == 3) { @@ -2747,11 +2747,11 @@ printf("h=%f l=%f c=%f s=%f\n", hueref, lumaref, chromaref, sobelref); float diflc = 0.f; float newhr = 0.f; float difL = 0.f; - if (senstype == 2 || senstype == 8) { + if (senstype == 2) { const float lightc = bufexporig->L[y - ystart][x - xstart]; const float fli = (100.f + realstrdE) / 100.f; transformed->L[y][x] = CLIP(original->L[y][x] + lightc * fli - original->L[y][x]); - } else if (senstype == 6) { + } else if (senstype == 6 || senstype == 8) { difL = (bufexporig->L[y - ystart][x - xstart] - original->L[y][x]) * reducdE; transformed->L[y][x] = CLIP(original->L[y][x] + difL); } else if (senstype == 1 || senstype == 0 || senstype == 9 || senstype == 3) { diff --git a/rtengine/procparams.cc b/rtengine/procparams.cc index e7c87feb1..370b13dbe 100644 --- a/rtengine/procparams.cc +++ b/rtengine/procparams.cc @@ -2464,7 +2464,7 @@ LocallabParams::LocallabSpot::LocallabSpot() : rewei(0), sensitm(19), softradiustm(0.0), - amount(80), + amount(95), // Retinex expreti(false), retinexMethod("high"), diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index ed6d9c918..f4920cefa 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -137,14 +137,14 @@ Locallab::Locallab(): strength(Gtk::manage(new Adjuster(M("TP_LOCALLAB_STRENGTH"), 0, 100, 1, 0))), sensibn(Gtk::manage(new Adjuster(M("TP_LOCALLAB_SENSIBN"), 0, 100, 1, 40))), // Tone Mapping - stren(Gtk::manage(new Adjuster(M("TP_LOCALLAB_STREN"), -50, 100, 1, 10))), + stren(Gtk::manage(new Adjuster(M("TP_LOCALLAB_STREN"), -50, 200, 1, 10))), gamma(Gtk::manage(new Adjuster(M("TP_LOCALLAB_GAM"), 80, 400, 1, 100))), estop(Gtk::manage(new Adjuster(M("TP_LOCALLAB_ESTOP"), 10, 400, 1, 140))), scaltm(Gtk::manage(new Adjuster(M("TP_LOCALLAB_SCALTM"), 1, 100, 1, 10))), rewei(Gtk::manage(new Adjuster(M("TP_LOCALLAB_REWEI"), 0, 9, 1, 0))), sensitm(Gtk::manage(new Adjuster(M("TP_LOCALLAB_SENSI"), 0, 100, 1, 15))), softradiustm(Gtk::manage(new Adjuster(M("TP_LOCALLAB_SOFTRADIUSCOL"), 0.0, 100.0, 0.1, 0.))), - amount(Gtk::manage(new Adjuster(M("TP_LOCALLAB_AMOUNT"), 50, 100, 1, 80))), + amount(Gtk::manage(new Adjuster(M("TP_LOCALLAB_AMOUNT"), 50, 100, 1, 95))), // Retinex str(Gtk::manage(new Adjuster(M("TP_LOCALLAB_STR"), 0, 100, 1, 0))), chrrt(Gtk::manage(new Adjuster(M("TP_LOCALLAB_CHRRT"), 0, 100, 1, 0))),