Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How does macthTemplate() deal with scaling?

 matchTemplate(Image, Template, ResImage, CV_TM_SQDIFF);

If size of "Image" changes, matchTemplate() can't find location of "Template" in the "Image".

Should "Template" be exact part of "Image" in order for matchTemplate() to find its location?