Calculate dual demosaic auto contrast threshold when saving file, #4866
This commit is contained in:
parent
392e00cd69
commit
4d46e618bb
@ -209,8 +209,10 @@ private:
|
||||
if (pl) {
|
||||
pl->setProgress (0.20);
|
||||
}
|
||||
double contrastThresholdDummy;
|
||||
imgsrc->demosaic (params.raw, false, contrastThresholdDummy);
|
||||
bool autoContrast = imgsrc->getSensorType() == ST_BAYER ? params.raw.bayersensor.dualDemosaicAutoContrast : params.raw.xtranssensor.dualDemosaicAutoContrast;
|
||||
double contrastThreshold = imgsrc->getSensorType() == ST_BAYER ? params.raw.bayersensor.dualDemosaicContrast : params.raw.xtranssensor.dualDemosaicContrast;
|
||||
|
||||
imgsrc->demosaic (params.raw, autoContrast, contrastThreshold);
|
||||
|
||||
|
||||
if (pl) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user