HomeSort by relevance Sort by last modified time
    Searched refs:dftsize (Results 1 - 2 of 2) sorted by null

  /external/opencv/cv/src/
cvtemplmatch.cpp 61 CvSize dftsize, blocksize; local
119 dftsize.width = cvGetOptimalDFTSize(blocksize.width + templ->cols - 1);
120 if( dftsize.width == 1 )
121 dftsize.width = 2;
122 dftsize.height = cvGetOptimalDFTSize(blocksize.height + templ->rows - 1);
123 if( dftsize.width <= 0 || dftsize.height <= 0 )
127 blocksize.width = dftsize.width - templ->cols + 1;
129 blocksize.height = dftsize.height - templ->rows + 1;
132 CV_CALL( dft_templ = cvCreateMat( dftsize.height*templ_cn, dftsize.width, max_depth ))
    [all...]
  /external/opencv3/modules/imgproc/src/
templmatch.cpp 665 Size blocksize, dftsize; local
674 dftsize.width = std::max(getOptimalDFTSize(blocksize.width + templ.cols - 1), 2);
675 dftsize.height = getOptimalDFTSize(blocksize.height + templ.rows - 1);
676 if( dftsize.width <= 0 || dftsize.height <= 0 )
680 blocksize.width = dftsize.width - templ.cols + 1;
682 blocksize.height = dftsize.height - templ.rows + 1;
685 Mat dftTempl( dftsize.height*tcn, dftsize.width, maxDepth );
686 Mat dftImg( dftsize, maxDepth )
    [all...]

Completed in 63 milliseconds