histogram matching: cache the computed tone curve in RawImageSource
This commit is contained in:
@@ -743,7 +743,7 @@ private:
|
||||
if (params.toneCurve.histmatching) {
|
||||
imgsrc->getAutoMatchedToneCurve(params.toneCurve.curve);
|
||||
|
||||
params.toneCurve.histmatching = false;
|
||||
params.toneCurve.autoexp = false;
|
||||
params.toneCurve.curveMode = ToneCurveParams::TcMode::FILMLIKE;
|
||||
params.toneCurve.curve2 = { 0 };
|
||||
params.toneCurve.expcomp = 0.0;
|
||||
|
Reference in New Issue
Block a user