Automatic Segmentation of Brain Lesions from MR Data using Cluster Analysis