xtrans: border artifacts when using 1-pass Markesteijn, fixes #5452

This commit is contained in:
Ingo Weyrich
2019-09-15 12:55:20 +02:00
parent 51daaf5fa1
commit 19e0112495

View File

@@ -959,7 +959,7 @@ void RawImageSource::xtrans_interpolate (const int passes, const bool useCieLab,
free(buffer);
}
xtransborder_interpolate(8, red, green, blue);
xtransborder_interpolate(passes > 1 ? 8 : 11, red, green, blue);
}
#undef CLIP
void RawImageSource::fast_xtrans_interpolate (const array2D<float> &rawData, array2D<float> &red, array2D<float> &green, array2D<float> &blue)