k-均值聚类算法实现灰度图像分割我要分享

Gray image segmentation based on K-means clustering algorithm

灰度分割 分割 图像分割 K均值 matlab

关注次数: 261

下载次数: 0

文件大小: 1K

代码分类: 智能算法

开发平台: matlab

下载需要积分: 1积分

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

代码描述

中文说明:k-均值聚类算法实现灰度图像分割,输入图像矩阵和聚类中心个数,返回为最终的聚类中心和图像中每个像素所属类的编号(对应于图像矩阵)


English Description:

The K-means clustering algorithm realizes gray image segmentation, inputs the image matrix and the number of clustering centers, and returns the final clustering center and the class number of each pixel in the image (corresponding to the image matrix)


代码预览