Bug 623850 - (Paco) Recursive Gaussian Filter error

This commit is contained in:
Massimo Valentini 2010-09-16 19:47:37 +02:00 committed by Martin Nordholts
parent ec7fc273d8
commit 2643107912
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ gausssmooth (gfloat *in, gfloat *out, gint size, gint rowstride, gauss3_coefs *c
w2[size+3]= w1[size+3];
for (i = size, n = i; i >= 0; i--, n--)
{
w2[n]= out[i * rowstride] = (gfloat)(c->B*w1[n] +
w2[n]= out[i * rowstride] = (gfloat)(c->B*w1[n+3] +
((c->b[1]*w2[n+1] +
c->b[2]*w2[n+2] +
c->b[3]*w2[n+3] ) / c->b[0]));