<< Chapter < Page
  Image coding   Page 1 / 1
Chapter >> Page >
This module introduces Quantisation of DCT Coefficients.

For our discussion of the 2-D DCT we assumed a quantiser step size of 15 to allow direct comparison ofentropies with the Haar transform. But what step size do we really need?

(a) and (b) show images reconstructed from the 8 8 DCT of Lenna (see subfigure (c) ), when all the DCT coefficients are quantised with step sizes of 15 and 30respectively. It is difficult to see quantising artefacts in (a) ( Q step 15 ) but they are quite noticeable in (b) ( Q step 30 ).

The visibility of the 8 8 DCT basis functions of subfigure (a) in our discussion of the 2-D DCT has been measured (for a 720 576 image viewed from 6 times the image width) and the minimum quantiser steps have been determined which will giveartefacts just at the threshold of visibility. The matrices (JPEG Book, p37) for the luminance and chrominance thresholdstep sizes are:

Q lum 16 11 10 16 24 40 51 61 12 12 14 19 26 58 60 55 14 13 16 24 40 57 69 56 14 17 22 29 51 87 80 62 18 22 37 56 68 109 103 77 24 35 55 64 81 104 113 92 49 64 78 87 103 121 120 101 72 92 95 98 112 100 103 99
Q chr 17 18 24 47 99 99 99 99 18 21 26 66 99 99 99 99 24 26 56 99 99 99 99 99 47 66 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
(c) shows the reconstructed image when each of the subimages of (c) is quantised using the corresponding step size from Q lum . It is certainly difficult to detect any quantising artefacts, even though many of the step sizes are greater than Q step 30 , used in (b). (d) is the reconstructed image using step sizes of 2 Q lum and the artefacts are still quite low.

Images reconstructed using the 8 8 DCT with (a) Q step 15 , (b) Q step 30 , (c) Q step Q lum , the JPEG luminance matrix, and (d) Q step 2 Q lum .
Plots of the entropies of the 8 8 DCT quantised subimages for the four reconstructed images of .

shows the entropies of the 64 quantised subimages used to reconstruct each of the fourimages in . Also given on each plot is the mean entropy (giving the bits/pel for theimage) and the rms quantising error between the quantised image and the original.

We see that (c) has about the same mean entropy and rms error as (b), but that its quantising artefacts are much less visible. (d) has similar visibility of artefacts to (b), but has significantly lower entropy and hence greater compression (similarly for (c) versus (a)).

This shows the distinct advantages of subjectively weighted quantisation , and also that it is unwise to rely too much on the rms error as a measure of image quality.

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