Hybrid method for the determination of the relative orientation between displaced images