Enabled bad pixels interpolation for ST_XTRANS after upstream fix c0a033e

This commit is contained in:
rom9
2019-06-09 13:09:29 +02:00
parent b990b89875
commit d2366e633c

View File

@@ -307,7 +307,21 @@ void RawImageSource::filmNegativeProcess(const procparams::FilmNegativeParams &p
} else if(ri->getSensorType() == ST_FUJI_XTRANS) {
// TODO
#ifdef _OPENMP
#pragma omp parallel for reduction(+:totBP) schedule(dynamic,16)
#endif
for(int i = 0; i < H; i++)
for(int j = 0; j < W; j++) {
if (rawData[i][j] >= MAX_OUT_VALUE) {
bitmapBads.set(j, i);
totBP++;
}
}
if (totBP > 0) {
interpolateBadPixelsXtrans( bitmapBads );
}
}