Gravar-mail: Joint Segmentation and Groupwise Registration of Cardiac Perfusion Images Using Temporal Information