Eugenio Ballini's Home Page


Appendix A
APPENDIX B
Appendix C 

INTRODUCTION WAVELET TESTS
“Felix qui potuit rerum cognoscere causas”
(Virgilio, Georgiche, II, 490)

 

B.1. INTRODUCTION

In chapters 4, 5 and in the appendix C, the results of some tests directed at having a better comprehension of the most up to date and frequently used method of image and signal compression, the Wavelet Transform Method are illustrated. A complete explanation on wavelet transforms and especially on Discrete Wavelet Transform (DWT) and Inverse Discrete Wavelet Transform (IDWT) can be found in the first part of this project at the section 2.2.3.; in this introduction we want only to specify something regarding the development of the tests.

B.1.1. WAVELAB

All the tests explained in this appendix and in the chapters 4 and 5, are developed with Matlab 5  applications, precisely with the use of WaveLab, a toolbox developed by “Stanford University”  instead of the original Wavelet Toolbox developed by “The MathWorks” . WaveLab is actually not so complete as the Wavelet Toolbox in terms of functions and utilities, but it is freeware and it contains all the basic functions needed for the tests. There is the possibility with the functions FWT2_PO, FWT2_PBS, IWT2_PO and IWT2_PBS to make DWT and IDWT for orthogonal and biorthogonal wavelet and to build with MakeONFilter and MakeBSFilter the QMF  orthogonal and biorthogonal suitable for these transformations. These functions work only with greyscale images, u8int or double class arrays, and require images whose size is square and with dyadic length , usually 256 ´ 256 or 512 ´ 512, as the test images shown in Figure 3.2.

B.1.2. IMAGES USED

The results obtained from these tests will be extracted for each image and for the mean of the five images. The basic idea of these tests is to improve the knowledge about these subjects:

Figure B.1 : Division into Subbands and Levels within the wavelet coefficients matrix.

homepage

B.2. WAVELET COEFFICIENTS

Anytime a DWT is carried out on the 512 ´ 512 greyscale image a 512 ´ 512 matrix of double is obtained, in which every value represents the amplitude of a single WCF (wavelet coefficient). These coefficients, as explained in the section 2.2.3. are grouped together, for a 3 level DWT, in 10 groups, as in the left part of Figure B.1, and in 4 levels, as shown in the right part of the same figure:

This sharing of the WCF matrix in groups and levels is very important because a first step in understanding better how the DWT works, is to carry out some tests separately on these groups and levels so as to have a critical view of the values of the coefficients in every group and in every level.

B.3. QUADRATURE MIRROR FILTERS

B.3.1. QMF EXPLANATION

In every DWT for the subband decomposition, a particular kind of filters, as seen in section 2.2.3., is used: High and Low Pass filters; these filters are called Quadrature Mirror Filters (QMF) and are really important for this kind of transformation because through them it is possible to have a perfect reconstruction of the images after the process of the direct and inverse transformation. Wavelab uses two kind of functions to build the DWT, FWT2_PO and FWT2_PBS, and two functions for the IDWT, IWT2_PO and IWT2_PBS; actually WaveLab divides the QMF into 2 groups, orthogonal and biorthogonal filters, using these 2 functions, MakeONFilter and MakeBSFilter respectively, to build these filters; within the two groups it is possible to find further groups as explained later on. Before proceeding with the illustration of the results of the tests it is important to have a closer look at these groups of QMF so as to have a better knowledge of the filters used in the different tests.

............under construction..............

homepage


E-mail to:
eug67@supereva.it                    e.ballini@eng.abdn.ac.uk