removed memset in cv::pyrMeanShiftFiltering (ticket #664)

This commit is contained in:
Vadim Pisarevsky 2010-11-20 12:39:52 +00:00
parent 4d676165ea
commit 9785cc1427

View File

@ -330,9 +330,6 @@ cvPyrMeanShiftFiltering( const CvArr* srcarr, CvArr* dstarr,
#define cdiff(ofs0) (tab[c0-dptr[ofs0]+255] + \
tab[c1-dptr[(ofs0)+1]+255] + tab[c2-dptr[(ofs0)+2]+255] >= isr22)
memset( src_pyramid, 0, sizeof(src_pyramid) );
memset( dst_pyramid, 0, sizeof(dst_pyramid) );
double sr2 = sr * sr;
int isr2 = cvRound(sr2), isr22 = MAX(isr2,16);
int tab[768];