<< Chapter < Page Chapter >> Page >

One-dimensional wavelet transform

Suppose we are given as signal the projection of a function onto the space V j + 1 :

P j + 1 f = k s j + 1 , k ϕ j + 1 , k ( x ) , s j + 1 , k = f , ϕ ˜ j + 1 , k .

Using the dual refinement equations, we have:

s j , k = f , ϕ ˜ j , k = f , l h ˜ l ϕ j + 1 , 2 k + l = k h ˜ l - 2 k s j + 1 , l ,

where the coefficients s j k are called scaling coefficients , since they are related to scaling functions. Similarly, the wavelet or detail coefficients d j k are obtained as

d j k = f , ψ ˜ j k = k g ˜ l - 2 k s j + 1 , l .

The coefficients s j k and d j k are obtained from s j + 1 , l by `moving average' schemes, using the filter coefficients { h ˜ l } and { g ˜ l } as `weights', with the exception that these moving averages are sampled only at the even integers, i.e. a downsampling is performed. Such transform allows, once we have computed s J , k = f , ϕ ˜ J , k for a fine level J N , to compute s j k and d j k for all coarser levels j < J without evaluating the integrals.

Suppose now we are given the values of f at n = 2 J equispaced design points. The scaling functions ϕ ˜ J , k , k = 0 , ... , 2 J - 1 , are compactly supported and localized around 2 - J k . Hence the coefficients f , ϕ ˜ J , k are weighted and scaled average of f on a neighborhood of 2 - J k which becomes smaller as J tends to infinity. Consequently, it makes sense to replace the integral f , ϕ ˜ J , k by the (scaled) value of f at 2 - J k . More complicate quadrature formulae have been developedin [link] , [link] , [link] .

With s j : = { s j k ; k = 0 , ... , 2 j - 1 } and d j : = { d j k ; k = 0 , ... , 2 j - 1 } , the forward (or analyzing) wavelet transform given by [link] - [link] can be rewritten as

s j = H ˜ j * s j + 1 and d j = G ˜ j * s j + 1 ,

where H ˜ j * denotes the Hermitian conjugate of H ˜ j .

The inverse (or synthesis) transform is found by using the primal refinement equations and the fact that V j + 1 = V j W j .

P j + 1 f = l s j + 1 , l ϕ j + 1 , l = k s j , k ϕ j , k + k d j , k ψ j , k = k s j , k l h l ϕ j + 1 , 2 k + l + k d j , k l g l ϕ j + 1 , 2 k + l = l ϕ j + 1 , l k h l - 2 k s j , k + k g l - 2 k d j k ,

from which it follows that

s j + 1 , l = k h l - 2 k s j k + k g l - 2 k d j k .

In matrix form, we have

s j + 1 = H j s j + G j d j .

In the finite and classical setting, the matrices H j , G j , H ˜ j and G ˜ j are of size 2 j + 1 × 2 j . Moreover, if the basis functions are compactly supported, the four filters ( h l , g l , h ˜ l , g ˜ l ) have only a finite number of nonzero elements, and hence all these matrices are banded.

Example: haar wavelet transform

In case of the orthogonal Haar transform, H ˜ j * = H j * and is of the form

H ˜ j * = h 0 h 1 h 0 h 1 ... h 0 h 1

since only h 0 and h 1 are different from zero : h 0 = h 1 = 1 / 2 . The high-pass filter { g l } is such that g 0 = - 1 / 2 and g 1 = 1 / 2 . The forward transform [link] - [link] reduces to

s j , k = 1 2 s j + 1 , 2 k + 1 + 1 2 s j + 1 , 2 k d j , k = 1 2 s j + 1 , 2 k + 1 - 1 2 s j + 1 , 2 k ,

and the reconstruction is given by

s j + 1 , 2 k = 1 2 s j , k - 1 2 d j , k s j + 1 , 2 k + 1 = 1 2 s j , k + 1 2 d j , k .

Two-dimensional wavelet transform

The wavelet transform has been successfully applied to compress images, which are modelled as functions defined on a regular two-dimensional grid.

Two-dimensional wavelet transform: first the filters are applied on the column of the matrix S J , this produces two matrices. The filters are applied a second time on the columns of these two matrices, resulting in four elements: a matrix of scaling coefficients, and three detail matrices.

The easiest way to build a two-dimensional MRA is probably to use tensor products of spaces, see [link] , [link] . In terms of wavelet transforms, this leads to applying two times a one-dimensional transform: first on the `row' of the signal matrix S J , and second on the `columns' of the resulting two matrices, see [link] . In this figure, we see that, at each level of the decomposition, three types of detail coefficients are produced: D j h , D j v and D j d . These superscripts recall that, in an image, horizontal edges will lead to large values of D j h , vertical edges will show up in D j v and D j d will be sensitive to diagonal lines.

However, such a transform is not able to compress efficiently an image that contains curves. More complex bidimensional bases are now proposed in the literature to better model discontinuities along curves, see forexample [link] , [link] , [link] , [link] .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, An introduction to wavelet analysis. OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10566/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'An introduction to wavelet analysis' conversation and receive update notifications?

Ask