This commit is contained in:
ziyangli 2014-03-12 18:16:54 +08:00
parent 4f5896493e
commit bbe8654c3d

View File

@ -119,10 +119,10 @@ static void prefilterNorm( const Mat& src, Mat& dst, int winsize, int ftzero, uc
const uchar* curr = sptr + srcstep*y;
const uchar* next = sptr + srcstep*MIN(y+1,size.height-1);
uchar* dptr = dst.ptr<uchar>(y);
for( x = 0; x < size.width; x++ )
vsum[x] = (ushort)(vsum[x] + bottom[x] - top[x]);
for( x = 0; x <= wsz2; x++ )
{
vsum[-x-1] = vsum[0];