Home | History | Annotate | Download | only in src

Lines Matching full:corr

635 void crossCorr( const Mat& img, const Mat& _templ, Mat& corr,
648 CV_Assert( img.dims <= 2 && templ.dims <= 2 && corr.dims <= 2 );
662 corr.create(corrsize, ctype);
669 blocksize.width = std::min( blocksize.width, corr.cols );
672 blocksize.height = std::min( blocksize.height, corr.rows );
681 blocksize.width = MIN( blocksize.width, corr.cols );
683 blocksize.height = MIN( blocksize.height, corr.rows );
727 int tileCountX = (corr.cols + blocksize.width - 1)/blocksize.width;
728 int tileCountY = (corr.rows + blocksize.height - 1)/blocksize.height;
749 Size bsz(std::min(blocksize.width, corr.cols - x),
750 std::min(blocksize.height, corr.rows - y));
759 Mat cdst(corr, Rect(x, y, bsz.width, bsz.height));
870 Mat corr(corrSize, CV_32F);
871 crossCorr( img, mask2_templ, corr, corr.size(), corr.type(), Point(0,0), 0, 0 );
874 result -= corr * 2;
885 Mat corr(corrSize, CV_32F);
886 crossCorr( img2, mask2, corr, corr.size(), corr.type(), Point(0,0), 0, 0 );
889 sqrt(corr, corr);
890 result = result.mul(1/corr);