answered Mar 2 '13
I don't know of any heuristics but you could optimize it using a hierarchical scheme, see http://opencv-code.com/tutorials/fast-template-matching-with-image-pyramid/