This commit is contained in:
Nicolas Robidoux 2009-03-18 12:40:32 +00:00
parent 1b84cf61c0
commit 42827cac86

View File

@ -114,7 +114,7 @@ typedef struct _VipsInterpolateSnohalo1Class {
} VipsInterpolateSnohalo1Class;
static void inline
snohalo1( const double theta,
snohalo1( const double blur,
const double zer_two_in,
const double zer_thr_in,
const double uno_one_in,
@ -144,8 +144,8 @@ snohalo1( const double theta,
double* restrict r2,
double* restrict r3 )
{
const double beta = 1. + -.5 * theta;
const double gamma = .125 * theta;
const double beta = 1. + -.5 * blur;
const double gamma = .125 * blur;
/*
* Computation of the blurred pixel values: