Local contrast - Try to solve bug issue #6132 (#6134)

* Try to solve bug issue 6132

* Refine placement localcontrast in pipeline
This commit is contained in:
Desmis
2021-03-08 08:29:57 +01:00
committed by GitHub
parent 9b2e955dc9
commit 0170305906
7 changed files with 54 additions and 28 deletions

View File

@@ -1346,6 +1346,10 @@ private:
bool ccutili, cclutili;
CurveFactory::complexsgnCurve(autili, butili, ccutili, cclutili, params.labCurve.acurve, params.labCurve.bcurve, params.labCurve.cccurve,
params.labCurve.lccurve, curve1, curve2, satcurve, lhskcurve, 1);
if (params.localContrast.enabled) {
// Alberto's local contrast
ipf.localContrast(labView, labView->L, params.localContrast, false, 1);//scale);
}
ipf.chromiLuminanceCurve(nullptr, 1, labView, labView, curve1, curve2, satcurve, lhskcurve, clcurve, lumacurve, utili, autili, butili, ccutili, cclutili, clcutili, dummy, dummy);