摘要

According to the indeterminate clustering number k and initial cluster center in K-means clustering algorithm while used in color image segmentation, a new segmentation approach by adaptive K-means clustering algorithm was proposed. The major improvements include: Firstly, adopt Octree color quantization algorithm to quantize the color image, shown with representative characteristics; then, apply a mean-equivalent method to determine initial cluster center, based on the color distribution of image; finally, cluster with K-means algorithm, and define the optimal clustering number adaptively through a new cluster validity index designed in this paper. Experimental results show that the proposed algorithm not only gives more accurate clustering number than the other algorithm, but also be effective, which greatly reduces the human intervention and has high practical value.