Improve lightness for color and light and fix crashed with contrast when lightness -100

This commit is contained in:
Desmis
2018-03-10 18:12:15 +01:00
parent f3a6a2b759
commit 1a91bb60fe
8 changed files with 285 additions and 49 deletions

View File

@@ -287,8 +287,8 @@ public:
int skip = 1);
static void complexCurvelocal(double ecomp, double black, double hlcompr, double hlcomprthresh, double shcompr,
LUTf & hlCurve, LUTf & shCurve, LUTf & outCurve,
static void complexCurvelocal(double ecomp, double black, double hlcompr, double hlcomprthresh, double shcompr, double br,
LUTf & hlCurve, LUTf & shCurve, LUTf & outCurve, LUTf & lightCurveloc,
int skip = 1);
static void curveBW(const std::vector<double>& curvePointsbw, const std::vector<double>& curvePointsbw2, const LUTu & histogrambw, LUTu & outBeforeCCurveHistogrambw,