1 | initial version |
There is no algorithm that is truly invariant to rotation of template, and to noise some algorithms may be more robust (i would advice zero normalised cross correlation with can be efficiently implemented using fft). And multiple minima can be avoided by cropping image before and find minima in croped sections, it will be helpfull if You Can make aditional test on localisation that would differenciate between minimas.