You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
k-means clustering is used for Image Compression. In this matlab program, the feature vectors are simply the N X N non-overlapping blocks of pixels in the image. Like a scalar quantizer, a vector quantizer has a quantization levels called codevectors and the set of K such codevectors is called codebook of size K.
K-means clustering is an iterative process in which the codevectors are refined every stage by computing the centroid of the input vectors which belong to the respective cluster.
Cite As
Vinay Kumar Tadepalli (2026). K means clustering for Image Compression (https://uk.mathworks.com/matlabcentral/fileexchange/36376-k-means-clustering-for-image-compression), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.5.0.0 (4.99 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.5.0.0 | A small bug is fixed. |
||
| 1.4.0.0 | I have revamped the code completely to make it more efficient(run Faster). I have rectified all the previous bugs. Feel free to contact me at my email address. See ya!! |
||
| 1.3.0.0 | I have revamped the code completely to make it more efficient and hence run faster. The bugs in the previous version are fixed and hopefully its bug-free now. See ya!! :) |
||
| 1.2.0.0 | This file solves the issues with different dimensions of the images and also prints the output in a user-friendly manner. |
||
| 1.1.0.0 | The file I uploaded previously will fail to work for Images of different dimensions, since it was not generalized for all the dimensions. This updated file contains the instructions for working on different dimensions of Images. |
||
| 1.0.0.0 |
