Describir: Mathematical Models for Registration and Applications to Medical Imaging