Lines Matching refs:dftsize
61 CvSize dftsize, blocksize; in icvCrossCorr() local
119 dftsize.width = cvGetOptimalDFTSize(blocksize.width + templ->cols - 1); in icvCrossCorr()
120 if( dftsize.width == 1 ) in icvCrossCorr()
121 dftsize.width = 2; in icvCrossCorr()
122 dftsize.height = cvGetOptimalDFTSize(blocksize.height + templ->rows - 1); in icvCrossCorr()
123 if( dftsize.width <= 0 || dftsize.height <= 0 ) in icvCrossCorr()
127 blocksize.width = dftsize.width - templ->cols + 1; in icvCrossCorr()
129 blocksize.height = dftsize.height - templ->rows + 1; in icvCrossCorr()
132 CV_CALL( dft_templ = cvCreateMat( dftsize.height*templ_cn, dftsize.width, max_depth )); in icvCrossCorr()
137 CV_CALL( dft_img[k] = cvCreateMat( dftsize.height, dftsize.width, max_depth )); in icvCrossCorr()
160 int yofs = k*dftsize.height; in icvCrossCorr()
183 cvGetSubRect( dft_templ, dst, cvRect(0,yofs,dftsize.width,dftsize.height) ); in icvCrossCorr()
219 yofs = i*dftsize.height; in icvCrossCorr()
246 if( dftsize.width > isz.width ) in icvCrossCorr()
249 dftsize.width - isz.width,dftsize.height) ); in icvCrossCorr()
255 cvRect(0,(templ_cn>1?yofs:0),dftsize.width,dftsize.height) ); in icvCrossCorr()