how to find cluster centroid?

4 次查看(过去 30 天)
praislin
praislin 2012-10-9
i hav clusterd my image into three clusters. Now how to find the cluster centroids?

回答(2 个)

Amateuromania
Amateuromania 2012-10-9
if you are storing the cluster points' values, you can use kmeans() function.

bes
bes 2012-10-9
[IDX,C] = kmeans(X,k)

类别

Help CenterFile Exchange 中查找有关 Cluster Analysis and Anomaly Detection 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by