A approach in fast matching seems to be downsizing template and queryimage in pyramids. What would be a good strategy to make this method rotation-invariant where more than one instances of the (non-scaled) template can arise? I am very sure that the first step has to rotate the
templateImage on smallest pyramid level with bigger steps of rotation angle
But i do not know how to make a fit, where in each step the estimation of the rotation angle gets more preciser. Can someone give me an idea -perhaps in the form of pseudocode- how such an algorithm could work?