Updated 09 May 2020
Intensity based clustering of an image Using Statistics and Machine Learning and Image Processing Toolbox for K (No of Clusters)= 1 to 4
k-means clustering is a partitioning method. The function kmeans partitions data into k mutually exclusive clusters and returns the index of the clustered data.
Akhilesh Kumar (2020). Cluster Image Intensity using K-Means Clustering (https://www.mathworks.com/matlabcentral/fileexchange/75437-cluster-image-intensity-using-k-means-clustering), MATLAB Central File Exchange. Retrieved .