K means clustering for Image Compression
by Vinay Kumar Tadepalli
25 Apr 2012
(Updated 22 Apr 2013)
K-means clustering is a popular vector quantization method for data compression.
|
Watch this File
|
| File Information |
| Description |
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. |
| Required Products |
Image Processing Toolbox
MATLAB Compiler
MATLAB Coder
MATLAB
|
| MATLAB release |
MATLAB 7.10 (R2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 02 Jul 2012 |
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. |
| 09 Jul 2012 |
This file solves the issues with different dimensions of the images and also prints the output in a user-friendly manner. |
| 15 Mar 2013 |
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!! :) |
| 15 Mar 2013 |
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!! |
| 22 Apr 2013 |
A small bug is fixed. |
|
Contact us