提出了一种基于K-均值算法和EM算法混合聚类的彩色图像分割方法。首先将待分割的RGB彩色图像转化成YUV空间模型,然后将该图像分割成n小块,对每个块的颜色分量用改进的K-均值聚类算法进行聚类分析,最后用EM聚类算法对每个块进行聚类,分割源图像。对K-均值算法和EM算法的初始聚类中心引进了改进算法,加快了算法的收敛速度。并与相似的分割方法进行了比较实验,给出了详细的实验结果与分析。实验表明该方法分割速度快,效果好,具有较高的实用价值。
A new color image segmentation algorithm is introduced based on hybrid clustering including K-means algorithm and EM algorithm,which firstly converts RGB color image into YUV-Space model,and then divides the whole image to n-blocks,clusters the color components of each block with K-means improved in this paper,and finally,segments the source image by clustering each block with EM clustering algorithm.In this paper,a new method is proposed to set initial cluster centers in K-means algorithm and EM algorithm,accelerates the convergence speed.The experiment results and the comparison results with similar approach are provided.Experiment results show the proposed algorithm is effective and has high practical value.