Fast wavelet transform

From Wikipedia, the free encyclopedia
Jump to: navigation, search

The Fast Wavelet Transform is a mathematical algorithm designed to turn a waveform or signal in the time domain into a sequence of coefficients based on an orthogonal basis of small finite waves, or wavelets. The transform can be easily extended to multidimensional signals, such as images, where the time domain is replaced with the space domain.

It has as theoretical foundation the device of a finitely generated, orthogonal multiresolution analysis (MRA). In the terms given there, one selects a sampling scale J with sampling rate of 2J per unit interval, and projects the given signal f onto the space V_J; in theory by computing the scalar products

s^{(J)}_n:=2^J \langle f(t),\phi(2^J t-n) \rangle,

where \phi is the scaling function of the chosen wavelet transform; in practice by any suitable sampling procedure under the condition that the signal is highly oversampled, so

 P_J[f](x):=\sum_{n\in\Z} s^{(J)}_n\,\phi(2^Jx-n)

is the orthogonal projection or at least some good approximation of the original signal in V_J.

The MRA is characterised by its scaling sequence

a=(a_{-N},\dots,a_0,\dots,a_N) or, as Z-transform, a(z)=\sum_{n=-N}^Na_nz^{-n}

and its wavelet sequence

b=(b_{-N},\dots,b_0,\dots,b_N) or b(z)=\sum_{n=-N}^Nb_nz^{-n}

(some coefficients might be zero). Those allow to compute the wavelet coefficients d^{(k)}_n, at least some range k=M,...,J-1, without having to approximate the integrals in the corresponding scalar products. Instead, one can directly, with the help of convolution and decimation operators, compute those coefficients from the first approximation s^{(J)}.

Forward DWT[edit]

One computes recursively, starting with the coefficient sequence s^{(J)} and counting down from k=J-1 to some M<J,

single application of a wavelet filter bank, with filters g=a*, h=b*

s^{(k)}_n:=\frac12 \sum_{m=-N}^N a_m s^{(k+1)}_{2n+m}
or 
s^{(k)}(z):=(\downarrow 2)(a^*(z)\cdot s^{(k+1)}(z))

and


d^{(k)}_n:=\frac12 \sum_{m=-N}^N b_m s^{(k+1)}_{2n+m}
or 
d^{(k)}(z):=(\downarrow 2)(b^*(z)\cdot s^{(k+1)}(z))
,

for k=J-1,J-2,...,M and all n\in\Z. In the Z-transform notation:

recursive application of the filter bank
  • The downsampling operator (\downarrow 2) reduces an infinite sequence, given by its Z-transform, which is simply a Laurent series, to the sequence of the coefficients with even indices, (\downarrow 2)(c(z))=\sum_{k\in\Z}c_{2k}z^{-k}.
  • The starred Laurent-polynomial a^*(z) denotes the adjoint filter, it has time-reversed adjoint coefficients, a^*(z)=\sum_{n=-N}^N a_{-n}^*z^{-n}. (The adjoint of a real number being the number itself, of a complex number its conjugate, of a real matrix the transposed matrix, of a complex matrix its hermitian adjoint).
  • Multiplication is polynomial multiplication, which is equivalent to the convolution of the coefficient sequences.

It follows that

P_k[f](x):=\sum_{n\in\Z} s^{(k)}_n\,\phi(2^kx-n)

is the orthogonal projection of the original signal f or at least of the first approximation P_J[f](x) onto the subspace V_k, that is, with sampling rate of 2k per unit interval. The difference to the first approximation is given by

P_J[f](x)=P_k[f](x)+D_k[f](x)+\dots+D_{J-1}[f](x),

where the difference or detail signals are computed from the detail coefficients as

D_k[f](x):=\sum_{n\in\Z} d^{(k)}_n\,\psi(2^kx-n),

with \psi denoting the mother wavelet of the wavelet transform.

Inverse DWT[edit]

Given the coefficient sequence s^{(M)} for some M<J and all the difference sequences d^{(k)}, k=M,...,J-1, one computes recursively


s^{(k+1)}_n:=\sum_{k=-N}^N a_k s^{(k)}_{2n-k}+\sum_{k=-N}^N b_k d^{(k)}_{2n-k}
or 
s^{(k+1)}(z)=a(z)\cdot(\uparrow 2)(s^{(k)}(z))+b(z)\cdot(\uparrow 2)(d^{(k)}(z))

for k=J-1,J-2,...,M and all n\in\Z. In the Z-transform notation:

  • The upsampling operator (\uparrow 2) creates zero-filled holes inside a given sequence. That is, every second element of the resulting sequence is an element of the given sequence, every other second element is zero or (\uparrow 2)(c(z)):=\sum_{n\in\Z}c_nz^{-2n}. This linear operator is, in the Hilbert space \ell^2(\Z,\R), the adjoint to the downsampling operator (\downarrow 2).

See also[edit]

References[edit]

  • A.N. Akansu Multiplierless Suboptimal PR-QMF Design Proc. SPIE 1818, Visual Communications and Image Processing, p. 723, November, 1992
  • A.N. Akansu Multiplierless 2-band Perfect Reconstruction Quadrature Mirror Filter (PR-QMF) Banks US Patent 5,420,891, 1995
  • A.N. Akansu Multiplierless PR Quadrature Mirror Filters for Subband Image Coding IEEE Trans. Image Processing, p. 1359, September 1996
  • M.J. Mohlenkamp, M.C. Pereyra Wavelets, Their Friends, and What They Can Do for You (2008 EMS) p. 38
  • B.B. Hubbard The World According to Wavelets: The Story of a Mathematical Technique in the Making (1998 Peters) p. 184
  • S.G. Mallat A Wavelet Tour of Signal Processing (1999 Academic Press) p. 255
  • A. Teolis Computational Signal Processing with Wavelets (1998 Birkhäuser) p. 116
  • Y. Nievergelt Wavelets Made Easy (1999 Springer) p. 95

Further reading[edit]

G. Beylkin, R. Coifman, V. Rokhlin, "Fast wavelet transforms and numerical algorithms" Comm. Pure Appl. Math., 44 (1991) pp. 141–183