<< Chapter < Page
  Image coding   Page 1 / 1
Chapter >> Page >
This module shows how well the various wavelet filters perform in practice.

We now look at how well the various wavelet filters perform in practice. We have used them in place of the Haar transform discussed earlier, and have measured the entropies and reconstructed theimages from quantised coefficients.

In order to allow a fair comparison with the JPEG DCT results, we have modified the DWT quantising strategy to take advantageof the reduced visibility of the higher frequency wavelets. This approximately matches the effects achieved by the JPEG Q lum matrix of this previous equation . To achieve a high degree of compression we have used the following allocation ofquantiser step sizes to the 4-level DWT bands:

Levels Q step
All bands at levels 3 and 4: 50
Hi-Lo and Lo-Hi bands at level 2: 50
Hi-Hi band at level 2: 100
Hi-Lo and Lo-Hi bands at level 1: 100
Hi-Hi band at level 1: 200

A similar compressed bit rate is produced by the 8 8 DCT when Q step 5 Q lum .

For reference, compares the DCT and Haar transforms using these two quantisers. The rmserrors between the reconstructed images and the original are virtually the same at 10.49 and 10.61 respectively, but the DCTentropy of 0.2910 bit/pel is significantly lower than the Haar entropy of 0.3820 bit/pel. Both images display significant blocking artefacts at this compression level.

Reconstructions after coding using the 8 8 DCT (a) with Q step 5 Q lum , and (b) using the Haar transform with Q step from .

shows the reconstructed images for the following four DWTs using the quantiser of :

  • The LeGall 3,5-tap filters: H 0 , H 1 and G 0 , G 1 from these previous equations and these previous equations from our discussion of good filters/wavelets.
  • The inverse-LeGall 5,3-tap filters: these previous equations and these previous equations from our discussion of good filters/wavelets with H 0 , H 1 and G 0 , G 1 swapped.
  • The near-balanced 5,7-tap filters: substituting Z 1 2 z z into this equation from Good Filter/Wavelets.
  • The near-balanced 13,19-tap filters: substituting this previous equation into this equation .
We see that the LeGall 3,5-tap filters ( (a)) produce a poor image, whereas the other three images are all significantly better. The poor image is caused bythe roughness of the LeGall 5,3-tap filters (shown in this previous figure ) which are used for reconstructing he image when the 3,5-tap filters are used for analysing theimage. When these filters are swapped, so that thereconstruction filters are the 3,5-tap ones of this figure , the quality is greatly improved ( (b)).

The near-balanced 5,7-tap filters ( (c)) produce a relatively good image but there are still a few bright or dark point-artefacts produced by the sharppeaks in the wavelets (shown in this previous figure ). The smoother 13,19-tap wavelets ( see this figure ) eliminate these, but their longer impulse responses tend to cause the image to have a slightly blotchy or mottled appearance.

Reconstructions after coding using Q step from with (a) the LeGall 3,5-tap filters, (b) the inverse-LeGall 5,3-tapfilters, (c) the near-balanced 5,7-tap filters, and (d) the near-balanced 13,19-tap filters.

shows the entropies (with RLC) of the separate subimages of the 4-level DWT for the Haarfilter set and the four filter sets of . Q step is defined by and it is particularly noticeable how the higher step sizes atlevels 1 and 2 substantially reduce the entropy required to code these levels (compare with this previous figure ). In fact the Hi-Hi band at level 1 is not coded at all! The reduction ofentropy with increasing filter smoothness is also apparent.

Entropies of 4-level DWT subimages using Q step defined by , for five different wavelet filter pairs.

We see that we have now been able to reduce the bit rate to around 0.3 bit/pel.
However measurement of entropy is not the whole story, as it is the tradeoff of entropy vs quantising error which isimportant. attempts to show this trade-off by plotting rms quantising error (obtainedby subtracting the reconstructed image from the original) versus the entropy for the 8 8 DCT and the five DWTs. To show the slope of the curves, the measurements are repeated with an 80% lowerquantiser step-size, giving lower rms errors and higher entropies. The pair of points for each configuration are jointedby lines which indicate the slope of the rate-distortion curve.

Measurements at many more step sizes can be taken in order to give more compete rate-distortion curves if required.

RMS error vs. entropy for the 8 8 DCT and five wavelet filter pairs. For the DCT, Q step 5 Q lum and 4 Q lum ; for the DWT, Q step is 1.0 and 0.8 of the values in ( ).

The good performance of the 13,19-tap filters is clear, but the inverse-LeGall filters do surprisingly well - showing that thepoor smoothness of the analysis filters does not seem to matter. Correct ways to characterise unbalanced filter sets toaccount properly for this phenomenon are still the subject of current research.

What is clear is that when filters are unbalanced between analysis and reconstruction, the ones which give smootherwavelets must be used for reconstruction.

Finally, in these tests, the assessments of subjective image quality approximately match the assessments based on rmserrors. However this is not always true and one must be careful to backup any conclusions from rms error measurements with atleast some subjective tests.

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