An evaluation of image segmentation techniques for MRI scans