基于Kmeans聚类分析的彩色图像分割我要分享

Color image segmentation based on kmeans clustering analysis

关注次数: 237

下载次数: 0

文件大小: 2.46 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:本资源中包含两个基于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.


代码预览

相关推荐