The algorithm of K-means clustering was employed to mainly classify the results of region segmentation in the previous stage. The brain MR images were classified into three categories, respectively GM, WM, and CSF. Because there were many fragmentary regions, it was necessary to classify all the regions, in which all the regions were divided into three categories, it was assumed that K=3, and the region was regarded as a unit to conduct the algorithm of K-means clustering. After the algorithm was accomplished, the regions in the same category belonged to namely the same sort of brain tissue. .