You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Demo.m shows a K-means segmentation demo
K-means clustering is one of the popular algorithms in clustering and segmentation. K-means segmentation treats each imgae pixel (with rgb values) as a feature point having a location in space. The basic K-means algorithm then arbitrarily locates, that number of cluster centers in multidimensional measurement space. Each point is then assigned to the cluster whose arbitrary mean vector is closest. The procedure continues until there is no significant change in the location of class mean vectors between successive iterations of the algorithms.
Cite As
Alireza (2026). K-means segmentation (https://uk.mathworks.com/matlabcentral/fileexchange/52697-k-means-segmentation), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: K-means clustering
General Information
- Version 1.0.0.0 (11.9 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
