Commit 9785cc14 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

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

parent 4d676165
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment