Energy functional driven by multiple features for brain lesion segmentation