The discrete wavelet transform decomposes a function as a sum of basis functions called wavelets. These basis functions have
the property that they can be obtained by dilating and translating two basic types of wavelets known as the scaling function, or father wavelet , and The mother wavelet
. These translations and dilations are defined as follows:
The index j defines the dilation or level while the index k defines the translate. Loosely speaking, sums of the capture low frequencies and sums of the
represent high frequencies in the data. More precisely, for any suitable function
and for any
,
where the and
are known as the scaling coefficients and the detail coefficients, respectively. For orthonormal wavelet families these coefficients
can be computed by
The key to obtaining fast numerical algorithms for computing the detail and scaling coefficients for a given function is that there are simple recurrence relationships that enable you to compute the coefficients at level
from the values of the scaling coefficients at level j. These formulas are
The coefficients and
that appear in these formulas are called filter coefficients. The
are determined by the father wavelet and they form a low-pass filter;
and form a high-pass filter. The preceding sums are formally over the entire (infinite) range of integers. However, for wavelets
that are zero except on a finite interval, only finitely many of the filter coefficients are nonzero, and so in this case
the sums in the recurrence relationships for the detail and scaling coefficients are finite.
Conversely, if you know the detail and scaling coefficients at level , then you can obtain the scaling coefficients at level j by using the relationship
Suppose that you have data values
at equally spaced points
. It turns out that the values
are good approximations of the scaling coefficients
. Then, by using the recurrence formula, you can find
and
,
. The discrete wavelet transform of the
at level
consists of the
scaling and
detail coefficients at level
. A technical point that arises is that in applying the recurrence relationships to finite data, a few values of the
for
or
might be needed. One way to cope with this difficulty is to extend the sequence
to the left and right by using some specified boundary treatment.
Continuing by replacing the scaling coefficients at any level j by the scaling and detail coefficients at level j – 1 yields a sequence of N coefficients
This sequence is the finite discrete wavelet transform of the input data . At any level
the finite dimensional approximation of the function
is