4.1.1 Continuous WT |
( Next Previous Contents ) |
Formally, the wavelet transform of a function 2is a projection of to the basic wavelet dilated by factor and shifted by :
The admissibility condition (), which provides a possibility of a function to be used as a basic wavelet , is rather loose. That is why there exist a lot of different basic wavelets invented by Daubechies [6], Meyer [7], Mallat and others [8].
4.1.1.1 Gaussian wavelets |
( Next Previous Contents ) |
Amongst all differentiable functions used as wavelets, the derivatives of the Gaussian
It follows from the definition () that
The localization properties for family can be evaluated explicitly.
In general case the continuous wavelet transform with basic wavelet
is centered at and has the window width
:
Wavelet | -norm | Window width |
4.1.1.2 Examples |
( Next Previous Contents ) |
As the first example of how wavelets work, let us take a harmonic signal constructed by superposing the low-frequency one with the small fraction of the high-frequency one and then contaminating it by uniformly distributed random noise, see Fig. .
|
Let us perform -wavelet transform (widely known as "Mexican hat") of the contaminated signal. Fig. (left) presents the wavelet spectrum. The shade-plot provides a powerful tool, which helps to display the structure of the signal. The set of wavelet coefficients can be presented as a projection of 3-dimensional surface onto the - plane. Coefficients with higher values are shown in light colors, the lower ones in dark. Although the wavelet spectrum is very informative, it often brings too much visually redundant information. To make it more contrast, the gray-scaled image is often transformed to the so-called wavelet skeleton. Lines on the skeleton correspond to local maxima of the wavelet coefficients.
In the next figure the results of the final -filtering of the same signal are shown. First, we accomplish -filters with four selected scales only: 32, 64, 128 and 256. The result of the inversion is the signal in fig. a. When our signal was processed at scales 1, 2, 4, 8 and 16 its inversion gives result in Fig. b.
|
It is seen that the filter allows to extract both components of the original signal. Thus selecting properly the scales of the wavelet transformation it is possible to highlight the components of desired scales. It should be pointed out here, that with the same signal the simple Fourier filter would fail. It could be done, in principle, as well by applying a Fourier filter, but as two-step procedure: to select the high frequency short-living sin-wave you should, first, extract the low-frequency wave and than subtract it from the signal. The wavelet filter allows a direct extraction of the desired component.
|
Another important application of wavelets is signal denoising. The procedure of denoising consists of nullifying wavelet coefficients with small amplitude before inverse transform. The skeleton of the signal after such denoising is shown in Fig. . As one can see, its typical high-frequency part produced by noise is efficiently suppressed. Then the inverse transform would enhance the corrupted signal back to its original view in Fig. a.
4.1.1.3 Implementation in WASP |
( Next Previous Contents ) |
The direct evaluation of the convolution in the direct () and inverse () wavelet transform may be performed numerically but is expensive in memory and CPU time. At the same time, the self-similarity property of WT suggests the methods for constructing fast and effective algorithms. The straightforward way of WT implementation is to restrict the calculation on a discrete sub-lattice
An inverse discrete transform
However, if the analyzed signal consists of a discrete set of measured counts , we can realize two discretization schemes using the explicit integration formula of explicit integration of Gaussian wavelets over bins to speed up the computations.
For a discretized signal
The formula () does not contain integral and this fact allows one to speed-up the wavelet transform algorithm for discretized signals like (). Thus, () is just what is used in WASP for the wavelet analysis.
However for gaussian wavelets (GW) especially there is one more way to improve this algorithm [5]. Having a discretized signal , one can define
Due to () we can replace the integral by the difference
However this expression is still rather slow to evaluate and could be used only for obtaining a few coefficients. For example, applying () to calculate while is fixed, but runs over values , one needs to calculate values of the wavelet in points . Nevertheless, if we restrict the choice of the shift steps, as
In the second case () one has the vector with components and should replace everywhere and by and .
The next substantial resource of increasing the speed of calculations is based on the practically compact support of the GW in space.
4.1.2 Discrete WT |
( Next Previous Contents ) |
The main idea of a discrete wavelet transform is to represent a given data as a decomposition using basis functions , . They are constructed as scaled and shifted two basic functions:
Each decomposition step realized by using two filters: -- low pass
filter and -- high pass filter.
Filters and depend on functions and as follows:
4.1.3 Data filtering |
( Next Previous Contents ) |
The filtering is carried out in three steps:
One of the useful properties of WT is its ability to denoise a data by thresholding. There are two basic methods yielding a good result:
4.1.4 Lifting scheme |
( Next Previous Contents ) |
Follow W.Sweldens [11], let us assume that we have a signal and we need to make a decomposition of this signal into a non-correlated parts. First we separate the signal into a two equal parts, by putting all even points into one array, and all odd into another. If the data in the source signal are correlated, than the first array contains some information about the second one. Let us denote these two arrays by and , respectively. Thus the first stage of the lifting scheme is two separate data into two classes. The second stage of the lifting scheme is to find a data-independent prediction operator, such that . Let us call it prediction. If the second array is functionally dependent, the prediction is exact, if not, we can substitute the array , in place, by the differences, called wavelets: . Let us call this update rule. The procedure is then recursed storing the lost details in place of removed data. On each stage of reconstruction the lost details are added to the result of prediction.
As it shown by I. Daubechies and W. Sweldens, the realization of the lifting scheme generates an orthogonal wavelets of the Daubechies family.
4.2.1 WT via fast Fourier transform (FFT) |
( Next Previous Contents ) |
One of the wavelets of most common use is the Mexican Hat wavelet
(18) |
4.2.2 Discrete WT |
( Next Previous Contents ) |
One step of a wavelet transform of a signal with a dimension higher than one is performed by transforming each dimension of the signal independently. Afterwords the -dimensional subband that contains the low pass part in all dimensions is transformed further. The 2-dimensional case is presented on the Fig. . The areas denoted by letters: