how to find cluster centroid?

10 views (last 30 days)
praislin
praislin on 9 Oct 2012
i hav clusterd my image into three clusters. Now how to find the cluster centroids?

Answers (2)

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

bes
bes on 9 Oct 2012
[IDX,C] = kmeans(X,k)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!