This is a hugely studied field in the area of medical image processing. Goes by name of (large) diffeomorphic registration or diffeomorphic mapping