Anatomic registration based on medial axis parametrizations