Ensure gaussian blur is applied before lbb interpolator #289

This commit is contained in:
Lovell Fuller 2015-11-16 08:26:35 +00:00
parent 84fd1caa46
commit 5dfeaa9fd1
2 changed files with 1 additions and 3 deletions

View File

@ -530,9 +530,7 @@ class PipelineWorker : public AsyncWorker {
double residual = (xresidual + yresidual) / 2.0;
// Apply Gaussian blur before large affine reductions with non-linear interpolators
if (residual < 1.0 && (
baton->interpolator == "bicubic" ||
baton->interpolator == "locallyBoundedBicubic" ||
baton->interpolator == "nohalo"
baton->interpolator == "bicubic" || baton->interpolator == "lbb" || baton->interpolator == "nohalo"
)) {
// Calculate standard deviation
double sigma = ((1.0 / residual) - 0.4) / 3.0;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 65 KiB