Change default settings and tooltip

This commit is contained in:
Desmis 2019-10-07 15:01:29 +02:00
parent 7f5ea7ef6f
commit 06eaf8cc85
3 changed files with 7 additions and 5 deletions

View File

@ -2071,6 +2071,7 @@ TP_LOCALLAB_BALAN;Balance deltaE ab-L
TP_LOCALLAB_BILATERAL;Bilateral filter
TP_LOCALLAB_BLENDMASKCOL;Blend
TP_LOCALLAB_BLUR;Gaussian Blur and Noise
TP_LOCALLAB_BLUMETHOD_TOOLTIP;To blur the background and isolate the foreground:\nBlur the background by a RT-spot fully covering the image (scope #100).\nIsolate the foreground by an excluding RT-spot with the tools you want, you can use a mask to enhance and amplify the effects
TP_LOCALLAB_BLMED;Median
TP_LOCALLAB_BLGUID;Guided Filter Luminance
TP_LOCALLAB_GUIDBL;Soft radius

View File

@ -7090,7 +7090,7 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o
}
double thresM = 0.05 * lp.epsb;
double thresm = 0.01 * lp.epsb;
double thresm = 0.001 * lp.epsb;
softproc(bufgb.get(), tmp1.get(), 3.f * lp.guidb, bfh, bfw, thresM, thresm, 0.1f, sk, multiThread, 0);
}
@ -7109,7 +7109,7 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o
}
double thresM = 0.05 * lp.epsb;
double thresm = 0.01 * lp.epsb;
double thresm = 0.001 * lp.epsb;
softproc(tmp2.get(), tmp1.get(), 3.f * lp.guidb, GH, GW, thresM, thresm, 0.1f, sk, multiThread, 0);
}

View File

@ -240,11 +240,11 @@ Locallab::Locallab():
laplace(Gtk::manage(new Adjuster(M("TP_LOCALLAB_LAPLACE"), 0., 100., 0.5, 25.))),
sensisf(Gtk::manage(new Adjuster(M("TP_LOCALLAB_SENSI"), 1, 100, 1, 15))),
// Blur & Noise
radius(Gtk::manage(new Adjuster(M("TP_LOCALLAB_RADIUS"), 1.0, 100.0, 0.1, 1.0))),
radius(Gtk::manage(new Adjuster(M("TP_LOCALLAB_RADIUS"), 1.0, 300.0, 0.1, 1.0))),
strength(Gtk::manage(new Adjuster(M("TP_LOCALLAB_STRENGTH"), 0, 100, 1, 0))),
itera(Gtk::manage(new Adjuster(M("TP_DIRPYRDENOISE_MEDIAN_PASSES"), 1, 4, 1, 1))),
guidbl(Gtk::manage(new Adjuster(M("TP_LOCALLAB_GUIDBL"), 1, 100, 1, 1))),
epsbl(Gtk::manage(new Adjuster(M("TP_LOCALLAB_EPSBL"), 1, 100, 1, 10))),
guidbl(Gtk::manage(new Adjuster(M("TP_LOCALLAB_GUIDBL"), 1, 300, 1, 1))),
epsbl(Gtk::manage(new Adjuster(M("TP_LOCALLAB_EPSBL"), 1, 500, 1, 10))),
sensibn(Gtk::manage(new Adjuster(M("TP_LOCALLAB_SENSIBN"), 0, 100, 1, 40))),
blendmaskbl(Gtk::manage(new Adjuster(M("TP_LOCALLAB_BLENDMASKCOL"), -100, 100, 1, 0))),
radmaskbl(Gtk::manage(new Adjuster(M("TP_LOCALLAB_RADMASKCOL"), 0.0, 100.0, 0.1, 10.))),
@ -1892,6 +1892,7 @@ Locallab::Locallab():
if (showtooltip) {
// blMethod->set_tooltip_markup(M("TP_LOCALLAB_BLUMETHOD_TOOLTIP"));
expblur->set_tooltip_markup(M("TP_LOCALLAB_BLUMETHOD_TOOLTIP"));
}
blMethodConn = blMethod->signal_changed().connect(sigc::mem_fun(*this, &Locallab::blMethodChanged));