<< Chapter < Page
  Image coding   Page 1 / 1
Chapter >> Page >
This module gives a basic image compression example.

We shall represent a monochrome (luminance) image by a matrix x whose elements are x n , where n n 1 n 2 is the integer vector of row and column indexes. The energy of x is defined as

Energy of x n x n 2
where the sum is performed over all n in x .

The basic block diagram of an image coding system.

shows the main blocks in any image coding system. The decoder is the inverse of theencoder. The three encoder blocks perform the following tasks:

  • Energy compression - This is usually a transformation or filtering process which aims toconcentrate a high proportion of the energy of the image x into as few samples (coefficients) of y as possible while preservingthe total energy of x in y . This minimises the numberof non-zero samples of y which need to be transmitted for a given level of distortion inthe reconstructed image x ^ .
  • Quantisation - This represents the samples of y to a given level of accuracy in the integer matrix q . The quantiser step size controls the tradeoff between distortion and bit rate andmay be adapted to take account of human visual sensitivities. The inverse quantiser reconstructs y ^ , the best estimate of y from q .
  • Entropy coding - This encodes the integers in q into a serial bit stream d , using variable-length entropy codes which attempt to minimise thetotal number of bits in d , based on the statistics (PDFs) of various classes of samplesin q .
The energy compression / reconstruction and the entropy coding / decoding processes are normally all lossless. Only the quantiserintroduces loss and distortion: y ^ is a distorted version of y , and hence x ^ is a distorted version of x . In the absence of quantisation, if y ^ y , then x ^ x .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Image coding. OpenStax CNX. Jan 22, 2004 Download for free at http://cnx.org/content/col10206/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Image coding' conversation and receive update notifications?

Ask