Issue 2843: Hl compression function restored (restored some bad changes caused by new DCP look table code)

This commit is contained in:
torger
2015-07-15 17:13:06 +02:00
parent a1ca02fd67
commit 094ad23cce
6 changed files with 11 additions and 17 deletions

View File

@@ -608,7 +608,7 @@ IImage16* processImage (ProcessingJob* pjob, int& errorCode, ProgressListener* p
ipf.g = imgsrc->getGamma();
ipf.iGamma = true;
CurveFactory::complexCurve (0.0, black/65535.0, hlcompr, hlcomprthresh, params.toneCurve.shcompr, bright, contr, ipf.g, !ipf.iGamma,
CurveFactory::complexCurve (expcomp, black/65535.0, hlcompr, hlcomprthresh, params.toneCurve.shcompr, bright, contr, ipf.g, !ipf.iGamma,
params.toneCurve.curveMode, params.toneCurve.curve, params.toneCurve.curveMode2, params.toneCurve.curve2,
hist16, dummy, curve1, curve2, curve, dummy, customToneCurve1, customToneCurve2 );