MATLAB Answers


Image compression through vector quantization

Asked by mona
on 16 Apr 2013

When talking about vector quantization for compressing images, three steps have been taught to us so far: Codebook generation, encoding the image into vectors and decoding.

We have been taught to generate the codebook function which is basically going to take the vector from encodeImage.m as one of its argument.

My question is: Is there any command in Matlab which encodes the image? More specifically, how would you vectorize the image into specific bits of pixels? For instance, how would I compress the 8 bit pixel to 0.25 bits per pixel and vectorize it?


Log in to comment.


No products are associated with this question.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!