Problem in kmeans, image segmentation algorithm.
显示 更早的评论
In K-means clustering using tutorial
images we get after clustering are random as cluster centers are randomly selected. I am using this code to land use and land cover analysis where regions such as green/forest area, water area, soil area road area, built up area etc etc are clustered out as an output. Now, I want to use only green/forest area for further coding and since that clustered image, sometimes comes under cluster 1; sometimes under cluster 5/4/3/2; it is impossible to code further.
Can anybody help me in how to avoid random selection of cluster centers in kmeans.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 k-Means and k-Medoids Clustering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!