Lab HH does not work when 'Avoid dolor shift' is disabled, Issue 2318

This commit is contained in:
Ingo
2014-04-01 15:14:25 +02:00
parent 768d27c2e2
commit db9b71fa77

View File

@@ -3446,6 +3446,7 @@ void ImProcFunctions::chromiLuminanceCurve (EditBuffer *editBuffer, int pW, LabI
double hr;
float valparam = float((hhCurve->getVal(hr=Color::huelab_to_huehsv2(HH))-0.5f) * 1.7f) +HH;//get H=f(H) 1.7 optimisation !
HH = valparam;
sincosval = xsincosf(HH);
}
//simulate very approximative gamut f(L) : with pyramid transition