K Means Algorithm with the application to image compression

This program uses the K means clustering algorithm to group the pixels in an image for compression
655 Downloads
Aktualisiert 25 Jul 2014

Lizenz anzeigen

- 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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2012a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0