Variational Methods For Shape And Image Registrations.