Robust registration of satellite images with local distortions