another small change
This commit is contained in:
parent
a7684624ec
commit
0b9b74bcd4
@ -838,7 +838,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
|
|||||||
int t_invers = 0;
|
int t_invers = 0;
|
||||||
int t_Smeth = 0;
|
int t_Smeth = 0;
|
||||||
int t_currentspot = 1;
|
int t_currentspot = 1;
|
||||||
int t_radius = 0;
|
int t_radius = 1;
|
||||||
int t_strength = 0;
|
int t_strength = 0;
|
||||||
int t_sensibn = 60;
|
int t_sensibn = 60;
|
||||||
int t_inversrad = 0;
|
int t_inversrad = 0;
|
||||||
@ -1483,7 +1483,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
|
|||||||
int t_invers = 0;
|
int t_invers = 0;
|
||||||
int t_Smeth = 0;
|
int t_Smeth = 0;
|
||||||
int t_currentspot = 1;
|
int t_currentspot = 1;
|
||||||
int t_radius = 0;
|
int t_radius = 1;
|
||||||
int t_strength = 0;
|
int t_strength = 0;
|
||||||
int t_sensibn = 60;
|
int t_sensibn = 60;
|
||||||
int t_inversrad = 0;
|
int t_inversrad = 0;
|
||||||
|
@ -3766,12 +3766,12 @@ void ImProcFunctions::Lab_Local (int call, int sp, float** shbuffer, LabImage *
|
|||||||
|
|
||||||
//Blur and noise
|
//Blur and noise
|
||||||
|
|
||||||
//printf("rad=%f gaus=%f\n", radius, GAUSS_SKIP);
|
|
||||||
if (((radius >= 1.5 * GAUSS_SKIP && lp.rad > 1.) || lp.stren > 0.1) && lp.blurena) { // radius < GAUSS_SKIP means no gauss, just copy of original image
|
if (((radius >= 1.5 * GAUSS_SKIP && lp.rad > 1.) || lp.stren > 0.1) && lp.blurena) { // radius < GAUSS_SKIP means no gauss, just copy of original image
|
||||||
LabImage *tmp1;
|
LabImage *tmp1;
|
||||||
LabImage *bufgb;
|
LabImage *bufgb;
|
||||||
int GW = transformed->W;
|
int GW = transformed->W;
|
||||||
int GH = transformed->H;
|
int GH = transformed->H;
|
||||||
|
printf ("rad=%f gaus=%f call=%i skip=%i\n", radius, GAUSS_SKIP, call, sk);
|
||||||
|
|
||||||
if (call == 2 && !lp.invrad) { //simpleprocess
|
if (call == 2 && !lp.invrad) { //simpleprocess
|
||||||
int bfh = int (lp.ly + lp.lyT) + del; //bfw bfh real size of square zone
|
int bfh = int (lp.ly + lp.lyT) + del; //bfw bfh real size of square zone
|
||||||
|
@ -916,7 +916,7 @@ void LocallabParams::setDefaults()
|
|||||||
invers = false;
|
invers = false;
|
||||||
curvactiv = false;
|
curvactiv = false;
|
||||||
activlum = false;
|
activlum = false;
|
||||||
radius = 0;
|
radius = 1;
|
||||||
inversrad = false;
|
inversrad = false;
|
||||||
inversret = false;
|
inversret = false;
|
||||||
inverssha = false;
|
inverssha = false;
|
||||||
|
@ -68,7 +68,7 @@ Locallab::Locallab ():
|
|||||||
contrast (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_CONTRAST"), -100, 100, 1, 0))),
|
contrast (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_CONTRAST"), -100, 100, 1, 0))),
|
||||||
chroma (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_CHROMA"), -100, 150, 1, 0))),
|
chroma (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_CHROMA"), -100, 150, 1, 0))),
|
||||||
sensi (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_SENSI"), 0, 100, 1, 19))),
|
sensi (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_SENSI"), 0, 100, 1, 19))),
|
||||||
radius (Gtk::manage ( new Adjuster (M ("TP_LOCALLAB_RADIUS"), 0, 100, 1, 0) )),
|
radius (Gtk::manage ( new Adjuster (M ("TP_LOCALLAB_RADIUS"), 1, 100, 1, 1) )),
|
||||||
strength (Gtk::manage ( new Adjuster (M ("TP_LOCALLAB_STRENGTH"), 0, 100, 1, 0) )),
|
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, 60))),
|
sensibn (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_SENSIBN"), 0, 100, 1, 60))),
|
||||||
transit (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_TRANSIT"), 5, 95, 1, 60))),
|
transit (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_TRANSIT"), 5, 95, 1, 60))),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user