As i understand template matching finds areas of an image that match (are similar) to a template image (patch) according to this
So i have two images of different dimension. And when i am trying to match my template image with the source image it usually marks the wrong area in the image.
Source Image
Template image
Output image
It works fine with threshold value if the images are of same dimension. What needs to be done to overcome this problem?? Or can i use template matching in this scenario??