Snake segmentation of multiple sclerosis lesions for assisted diagnosis by cluster analysis-based techniques