From 99e52febe9f7e87e3565f7de47d89a24ac1d89b3 Mon Sep 17 00:00:00 2001 From: Ingo Date: Sun, 19 Jan 2014 17:22:31 +0100 Subject: [PATCH] LC curve blotches, Issue 2209 --- rtengine/improcfun.cc | 2 +- rtgui/ppversion.h | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index 1661dad93..d005ab52a 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -3272,7 +3272,7 @@ void ImProcFunctions::chromiLuminanceCurve (int pW, LabImage* lold, LabImage* ln float skbeg=-0.05f;//begin hue skin float skend=1.60f;//end hue skin - const float chrmin=20.0f;//to avoid artefact, because L curve is not a real curve for luminance + const float chrmin=50.0f;//to avoid artefact, because L curve is not a real curve for luminance float aa,bb; float zz=0.0f; float yy=0.0f; diff --git a/rtgui/ppversion.h b/rtgui/ppversion.h index 7de11b392..9bb1ca126 100644 --- a/rtgui/ppversion.h +++ b/rtgui/ppversion.h @@ -1,12 +1,14 @@ #ifndef _PPVERSION_ #define _PPVERSION_ -// This number have to be incremented whenever the PP3 file format is modified -#define PPVERSION 316 +// This number has to be incremented whenever the PP3 file format is modified or the behaviour of a tool changes +#define PPVERSION 317 #define PPVERSION_AEXP 301 //value of PPVERSION when auto exposure algorithm was modified /* - Log of version changes + Log of version changes + 317 2014-01-19 + changes to behaviour of LC curve, Issue 2209 315 2013-12-12 add LH et HH curve to lab mode 313 2013-11-19