Segmentation algorithms for neurosurgical support in epilepsy treatments