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 the images from quantised coefficients.
In order to allow a fair comparison with the JPEG DCT results, we have modified the DWT quantising strategy to take advantage of the reduced visibility of the higher frequency wavelets. This approximately matches the effects achieved by the JPEG Qlum matrix of this previous equation. To achieve a high degree of compression we have used the following allocation of quantiser step sizes to the 4-level DWT bands:
Levels | Qstep |
---|---|
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 Qstep=5Qlum.
For reference, Figure 1 compares the DCT and Haar transforms using these two quantisers. The rms errors between the reconstructed images and the original are virtually the same at 10.49 and 10.61 respectively, but the DCT entropy 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.
- The LeGall 3,5-tap filters: H0, H1 and G0, G1 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 H0, H1 and G0, G1 swapped.
- The near-balanced 5,7-tap filters: substituting Z=
1 2 - The near-balanced 13,19-tap filters: substituting this previous equation into this equation.
The near-balanced 5,7-tap filters (Figure 2(c)) produce a relatively good image but there are still a few bright or dark point-artefacts produced by the sharp peaks 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 mottledappearance.
Figure 3 shows the entropies (with RLC) of the separate subimages of the 4-level DWT for the Haar filter set and the four filter sets of Figure 2. Qstep is defined by Table 1 and it is particularly noticeable how the higher step sizes at levels 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 of entropy with increasing filter smoothness is also apparent.
NOTE:
We see that we have now been able to reduce the bit rate to around 0.3 bit/pel.Measurements at many more step sizes can be taken in order to give more compete rate-distortion curves if required.
The good performance of the 13,19-tap filters is clear, but the inverse-LeGall filters do surprisingly well - showing that the poor smoothness of the analysis filters does not seem to matter. Correct ways to characterise unbalanced filter sets to account properly for this phenomenon are still the subject of current research.
NOTE:
What is clear is that when filters are unbalanced between analysis and reconstruction, the ones which give smoother wavelets must be used for reconstruction.Finally, in these tests, the assessments of subjective image quality approximately match the assessments based on rms errors. However this is not always true and one must be careful to backup any conclusions from rms error measurements with at least some subjective tests.
0 comments:
Post a Comment