Hi Qiusheng Wu , Thank you for your prompt reply. In Q1 I meant that, let say that I have an image and calculated the NDVI indexes. I choose 3 clusters. NDVI values will be between 0.1 and 0.7 in my image. The higher values are representing high vegetation, the medium values low vegetation, and the lower values other land types. Let's assume that the cluster centroids will be around 0.2, 0.4 and 0.6. My Q1 question is, will these values will return in ascending order respective to the cluster IDs? So cluster 0 represents 0.2, cluster 1 represents 0.4, and cluster 2 represents 0.6? In Q2 question actually I don't want to know the physical location of the centroids, but only the KMeans, the values, like 0.2, 0.4 and 0.6 in this example. How to get those?