文件名称:kmeansK
介绍说明--下载内容来自于网络,使用问题请自行百度
KMEANSK Performs K-means clustering given a list of feature vectors and k
The argument k indicates the number of clusters you want the data to be
divided into. data_vecs (N*R) is the set of R dimensional feature
vectors for N data points. Each row in data_vecs gives the R
dimensional vector for a single data point. Each column in data_vecs
refers to values for a particular feature vector for all the N data
points. The output data_idxs is a N*1 vector of integers telling which
cluster number a particular data point belongs to. It also outputs
centroids which is a k*R matrix, where each rows gives the vector for
the cluster center. If we want to segment a color image i into 5
clusters using spacial and color information, we can use this function
as follows:
-KMEANSK Performs K-means clustering given a list of feature vectors and k
The argument k indicates the number of clusters you want the data to be
divided into. data_vecs (N*R) is the set of R dimensional feature
vectors for N data points. Each row in data_vecs gives the R
dimensional vector for a single data point. Each column in data_vecs
refers to values for a particular feature vector for all the N data
points. The output data_idxs is a N*1 vector of integers telling which
cluster number a particular data point belongs to. It also outputs
centroids which is a k*R matrix, where each rows gives the vector for
the cluster center. If we want to segment a color image i into 5
clusters using spacial and color information, we can use this function
as follows:
The argument k indicates the number of clusters you want the data to be
divided into. data_vecs (N*R) is the set of R dimensional feature
vectors for N data points. Each row in data_vecs gives the R
dimensional vector for a single data point. Each column in data_vecs
refers to values for a particular feature vector for all the N data
points. The output data_idxs is a N*1 vector of integers telling which
cluster number a particular data point belongs to. It also outputs
centroids which is a k*R matrix, where each rows gives the vector for
the cluster center. If we want to segment a color image i into 5
clusters using spacial and color information, we can use this function
as follows:
-KMEANSK Performs K-means clustering given a list of feature vectors and k
The argument k indicates the number of clusters you want the data to be
divided into. data_vecs (N*R) is the set of R dimensional feature
vectors for N data points. Each row in data_vecs gives the R
dimensional vector for a single data point. Each column in data_vecs
refers to values for a particular feature vector for all the N data
points. The output data_idxs is a N*1 vector of integers telling which
cluster number a particular data point belongs to. It also outputs
centroids which is a k*R matrix, where each rows gives the vector for
the cluster center. If we want to segment a color image i into 5
clusters using spacial and color information, we can use this function
as follows:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
kmeansK.cpp
kmeansK.m
license.txt
mexutils.h
kmeansK.m
license.txt
mexutils.h
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
