Avoid gaps between box filter kernels.

pull/32/head
Jorge Rodriguez 2014-07-24 15:02:39 -07:00
parent 9e726bb3e4
commit 8ac052ac8a
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ typedef struct
float stbr__filter_nearest(float x)
{
if (fabs(x) < 0.5)
if (fabs(x) <= 0.5)
return 1;
else
return 0;