Robust registration