pixelshift: don't generate demosaiced motion replacement when motion correction is disabled

This commit is contained in:
heckflosse
2017-03-17 23:09:55 +01:00
parent 6f1438e09d
commit 75895515f3

View File

@@ -2159,7 +2159,7 @@ void RawImageSource::demosaic(const RAWParams &raw)
amaze_demosaic_RT (0, 0, W, H, rawData, red, green, blue); // for non pixelshift files use amaze if pixelshift is selected. We need it also for motion correction
}
}
} else {
} else if(bayerParams.pixelShiftMotionCorrectionMethod != RAWParams::BayerSensor::Off) {
if(bayerParams.pixelShiftLmmse) {
lmmse_interpolate_omp(W, H, rawData, red, green, blue, raw.bayersensor.lmmse_iterations);
} else {