中文说明:本资源中包含两个基于Kmeans聚类分析的彩色图像分割算法。Kmeans1算法将彩色图像分解到Lab空间,然后在ab变量空间里进行Kmeans聚类分析,最后将各类再转回到RGB空间,得到彩色分割结果。Kmeans2算法将彩色图像分解到RGB空间,然后在RGB三个变量空间里进行Kmeans聚类分析,最后将各类再转回到RGB空间,得到彩色分割结果。
English Description:
This resource contains two color image segmentation algorithms based on kmeans clustering analysis. Kmeans1 algorithm decomposes the color image into lab space, then performs kmeans clustering analysis in AB variable space, and finally turns all kinds of color images back to RGB space to get the color segmentation results. Kmeans2 algorithm decomposes the color image into RGB space, and then carries out kmeans clustering analysis in RGB three variable space. Finally, all kinds of color images are transferred back to RGB space, and the color segmentation results are obtained.