First time here? Check out the FAQ!
answered 2013-03-02 06:31:24 -0600
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/