diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index 1202c3550..56dfbc15a 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -1697,6 +1697,7 @@ void ImProcFunctions::ciecam_02float(CieImage* ncie, float adap, int pW, int pwb // level of adaptation const float deg = (params->colorappearance.degree) / 100.0f; const float pilot = params->colorappearance.autodegree ? 2.0f : deg; + const float degout = (params->colorappearance.degreeout) / 100.0f; const float pilotout = params->colorappearance.autodegreeout ? 2.0f : degout; diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index 24e0ba935..2224af8e5 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -679,9 +679,9 @@ void ImProcFunctions::ciecamloc_02float(LabImage* lab, LabImage* dest) int tempo; if (params->locallab.warm > 0) { - tempo = 5000 - 35 * params->locallab.warm; + tempo = 5000 - 30 * params->locallab.warm; } else { - tempo = 5000 - 50 * params->locallab.warm; + tempo = 5000 - 49 * params->locallab.warm; } ColorTemp::temp2mulxyz(params->wb.temperature, params->wb.method, Xw, Zw); //compute white Xw Yw Zw : white current WB