First steps to allow border = 0, issue #4642

This commit is contained in:
heckflosse
2018-06-27 22:34:53 +02:00
parent 6af47bb8d7
commit 5c04e6308f
17 changed files with 73 additions and 11 deletions

View File

@@ -206,6 +206,10 @@ private:
double contrastThresholdDummy;
imgsrc->demosaic (params.raw, false, contrastThresholdDummy);
if(imgsrc->getSensorType() == ST_BAYER && params.raw.bayersensor.method != RAWParams::BayerSensor::getMethodString(RAWParams::BayerSensor::Method::PIXELSHIFT)) {
imgsrc->setBorder(params.raw.bayersensor.border);
}
if (pl) {
pl->setProgress (0.30);
}