K Means Algorithm with the application to image compression

版本 1.0.0.0 (1.2 MB) 作者: Jason Rebello
This program uses the K means clustering algorithm to group the pixels in an image
1.0K 次下载
更新时间 2013/7/25

查看许可证

- K means algorithm is performed with different initial centroids in order to get the best clustering.
- The total cost is calculated by summing the distance of each point to its cluster centre and then summing over all the clusters.
- Based on the minimum overall cost achieved during each iteration of 'iterKMeans' the pixel assignment to their respective clusters are made and final compressed image is obtained.
- This algorithm will run slower as the number of clusters , size of the image and number of iterations increase.

引用格式

Jason Rebello (2024). K Means Algorithm with the application to image compression (https://www.mathworks.com/matlabcentral/fileexchange/42829-k-means-algorithm-with-the-application-to-image-compression), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0