diff --git a/rtengine/ipretinex.cc b/rtengine/ipretinex.cc index a93afbabc..0f67c1a84 100644 --- a/rtengine/ipretinex.cc +++ b/rtengine/ipretinex.cc @@ -275,6 +275,11 @@ void RawImageSource::MSR(float** luminance, float** originalLuminance, float **e moderetinex = 3; } for(int it=1; it= 0; scale-- ) { if(scale == scal - 1) { gaussianBlur (src, out, W_L, H_L, RetinexScales[scale], buffer); - } else { // reuse result of last iteration + } else { + printf("reti=%f\n",RetinexScales[scale]);// reuse result of last iteration gaussianBlur (out, out, W_L, H_L, sqrtf(SQR(RetinexScales[scale]) - SQR(RetinexScales[scale + 1])), buffer); } diff --git a/rtgui/retinex.cc b/rtgui/retinex.cc index 0bd5c28ae..099ee7310 100644 --- a/rtgui/retinex.cc +++ b/rtgui/retinex.cc @@ -144,7 +144,7 @@ Retinex::Retinex () : FoldableToolPanel(this, "retinex", M("TP_RETINEX_LABEL"), transLabels->set_tooltip_markup (M("TP_RETINEX_TLABEL_TOOLTIP")); transLabels2 = Gtk::manage(new Gtk::Label("---", Gtk::ALIGN_CENTER)); - scal = Gtk::manage (new Adjuster (M("TP_RETINEX_SCALES"), -1, 5., 1., 3.)); + scal = Gtk::manage (new Adjuster (M("TP_RETINEX_SCALES"), -1, 6., 1., 3.)); iter = Gtk::manage (new Adjuster (M("TP_RETINEX_ITER"), 1, 5., 1., 1.)); grad = Gtk::manage (new Adjuster (M("TP_RETINEX_GRAD"), -2., 2., 1., 1.)); grads = Gtk::manage (new Adjuster (M("TP_RETINEX_GRADS"), -2., 2., 1., 1.));