Optimisation methods for medical image registratio door