Remove experimental code that could prevent anti-alias filter

This commit is contained in:
Lovell Fuller
2015-11-21 23:37:44 +00:00
parent 5febce7a59
commit 8a3098604c
2 changed files with 3 additions and 5 deletions

View File

@@ -549,10 +549,8 @@ class PipelineWorker : public AsyncWorker {
vips_object_local(hook, interpolator);
// Use average of x and y residuals to compute sigma for Gaussian blur
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 == "lbb" || baton->interpolator == "nohalo"
)) {
// Apply Gaussian blur before large affine reductions
if (residual < 1.0) {
// Calculate standard deviation
double sigma = ((1.0 / residual) - 0.4) / 3.0;
if (sigma >= 0.3) {