Skip to content

Commit

Permalink
Apply less blur before affine reduction #121
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Nov 24, 2014
1 parent b7c7fc2 commit 118b17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class ResizeWorker : public NanAsyncWorker {
// Apply Gaussian blur before large affine reductions
if (residual < 1.0) {
// Calculate standard deviation
double sigma = ((1.0 / residual) - 0.5) / 1.5;
double sigma = ((1.0 / residual) - 0.4) / 3.0;
if (sigma >= 0.3) {
// Create Gaussian function for standard deviation
VipsImage *gaussian;
Expand Down

0 comments on commit 118b17a

Please sign in to comment.