From db9b71fa775fa06cf0384d8761a087f8e99d5507 Mon Sep 17 00:00:00 2001 From: Ingo Date: Tue, 1 Apr 2014 15:14:25 +0200 Subject: [PATCH] Lab HH does not work when 'Avoid dolor shift' is disabled, Issue 2318 --- rtengine/improcfun.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index 81509515e..aae4b6067 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -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