Description: The K means algorithm for image segmentation, the input is a color image, convert to grayscale image segmentation, the output of grayscale images. The use of gray as the characteristics of each pixel clustering, due to light and other reasons, and sometimes should belong to an object pixel, its gray value will also be very different, may lead to clustering of the pixel error has occurred. in the segmentation results, the surface, there would be different from other pixel noise points, so , the algorithm Finally, the results of a median filter to eliminate noise, to the role of smoothing the image
File list (Check if you may need any files):
Filename | Size | Date |
---|
imgkmeans\corelread.m |
.........\DistMatrix.asv |
.........\DistMatrix.m |
.........\kMeansCluster1.asv |
.........\kMeansCluster1.m |
.........\readsize.m |
.........\..sult\10.fig |
.........\......\113044.fig |
.........\......\23084-medfilt2.fig |
.........\......\23084-medfilt2[7 | 7].fig |
.........\......\23084.fig |
.........\rgb2lab.m |
.........\show_seg_img.asv |
.........\show_seg_img.m |
.........\test\10.jpg |
.........\....\113044.jpg |
.........\....\12003.jpg |
.........\....\23084.jpg |
.........\....\Thumbs.db |
.........\Untitled3.asv |
.........\Untitled3.m |
.........\利用k均值进行图像分割.doc |
.........\result |
.........\test |
imgkmeans |