Manual calculation of template matching
hi master, i'm working on the final project to get undergraduate degree. i took topic about template matching, and i have problem with 'how to template matching work'. So, can you give me example of manual calculation of template matching? just simple example, maybe 20 x 20 pixels image example as original image, and 5 x 5 pixels as template image. And second question, i also confused different about template matching method : CV_TM_SQDIFF, CV_TM_CCORR, CV_TM_CCOEFF, because in my final project, i took CV_TM_SQDIFF and CV_TM_SQDIFF_NORMED method as template matching method. Thank you and sorry for my bad english.