Change calculation references in case of exclude spot
This commit is contained in:
parent
4136a6ee03
commit
abd26953a5
@ -2583,6 +2583,7 @@ void PerceptualToneCurve::BatchApply(const size_t start, const size_t end, float
|
||||
g = newg;
|
||||
b = newb;
|
||||
}
|
||||
|
||||
rc[i] = r;
|
||||
gc[i] = g;
|
||||
bc[i] = b;
|
||||
@ -2756,6 +2757,7 @@ void PerceptualToneCurve::BatchApply(const size_t start, const size_t end, float
|
||||
g = newg;
|
||||
b = newb;
|
||||
}
|
||||
|
||||
rc[i] = r;
|
||||
gc[i] = g;
|
||||
bc[i] = b;
|
||||
|
@ -2698,7 +2698,12 @@ void ImProcCoordinator::updatePreviewImage(int todo, Crop* cropCall)
|
||||
double huere, chromare, lumare, huerefblu;
|
||||
double sobelre;
|
||||
|
||||
if (params.locallab.Exclumethod == "exc") {
|
||||
ipf.calc_ref(reserv, reserv, 0, 0, pW, pH, scale, huerefblu, huere, chromare, lumare, sobelre);
|
||||
} else {
|
||||
ipf.calc_ref(nprevl, nprevl, 0, 0, pW, pH, scale, huerefblu, huere, chromare, lumare, sobelre);
|
||||
}
|
||||
|
||||
huerblu = huerefblu;
|
||||
huer = huere;
|
||||
chromar = chromare;
|
||||
@ -4899,7 +4904,8 @@ void ImProcCoordinator::changenumberofspot(int **dataspot, int maxdata, int maxs
|
||||
fich2.close() ;
|
||||
}
|
||||
}
|
||||
bool ImProcCoordinator::getHighQualComputed() {
|
||||
bool ImProcCoordinator::getHighQualComputed()
|
||||
{
|
||||
// this function may only be called from detail windows
|
||||
if (!highQualityComputed) {
|
||||
if (options.prevdemo == PD_Sidecar) {
|
||||
@ -4914,10 +4920,12 @@ bool ImProcCoordinator::getHighQualComputed() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return highQualityComputed;
|
||||
}
|
||||
|
||||
void ImProcCoordinator::setHighQualComputed() {
|
||||
void ImProcCoordinator::setHighQualComputed()
|
||||
{
|
||||
highQualityComputed = true;
|
||||
}
|
||||
|
||||
|
@ -2166,8 +2166,14 @@ private:
|
||||
double huere, chromare, lumare, huerefblu;
|
||||
double sobelre;
|
||||
|
||||
if (params.locallab.Exclumethod == "exc") {
|
||||
|
||||
ipf.calc_ref(reservView, reservView, 0, 0, fw, fh, 1, huerefblu, huere, chromare, lumare, sobelre);
|
||||
} else {
|
||||
ipf.calc_ref(labView, labView, 0, 0, fw, fh, 1, huerefblu, huere, chromare, lumare, sobelre);
|
||||
|
||||
}
|
||||
|
||||
params.locallab.huerefblur = huerefblu;
|
||||
params.locallab.hueref = huere;
|
||||
params.locallab.chromaref = chromare;
|
||||
|
Loading…
x
Reference in New Issue
Block a user