Matchtemplate(Normalized Cross Correlation) same size two picture

asked 2019-06-10 03:13:18 -0500

andane gravatar image

updated 2019-06-10 04:53:28 -0500

berak gravatar image

If src1 and src2 are same size. I know 'result' is one pixel.

I want to know why this method has this result. I want to know what value the second line returns.

cv::matchTemplate(image1, image2, corr, cv::TM_CCORR_NORMED);
return<float>(0,0);  // corr only has one pixel
edit retag flag offensive close merge delete