Home
last modified time | relevance | path

Searched refs:dftsize (Results 1 – 1 of 1) sorted by relevance

/external/opencv/cv/src/
Dcvtemplmatch.cpp61 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()
[all …]