Haar wavelet

From Wikipedia, the free encyclopedia

The Haar wavelet is the first known wavelet and was proposed in 1909 by Alfréd Haar[1]. Haar used these functions to give an example of a countable orthonormal system for the space of square-integrable functions on the real line. The study of wavelets, as well as the term "wavelet", did not come until much later. As a special case of the Daubechies wavelet, it is also known as D2.

The Haar wavelet is also the simplest possible wavelet. The disadvantage of the Haar wavelet is that it is not continuous and therefore not differentiable.

The Haar wavelet
The Haar wavelet

The Haar wavelet's mother wavelet function ψ(t) can be described as

\psi(t) = \begin{cases}1 \quad & 0 \leq  t < 1/2,\\
 -1 & 1/2 \leq t < 1,\\0 &\mbox{otherwise.}\end{cases}

and its scaling function φ(t) can be described as

\phi(t) = \begin{cases}1 \quad & 0 \leq  t < 1,\\0 &\mbox{otherwise.}\end{cases}


Contents

[edit] Haar wavelet properties

The Haar wavelet has several properties:

(1) Any function can be approximated by linear combinations of \phi(t),\phi(2t),\phi(4t),\dots,\phi(2^k t),\dots and their shifted functions.

(2) Any function can be approximated by linear combinations of the constant function, \psi(t),\psi(2t),\psi(4t),\dots,\psi(2^k t),\dots and their shifted functions.

(3) Orthogonality

 \int_{-\infty}^{\infty}2^m\psi(2^{m_1}t-n_1)\psi(2^mt-n)\, dt=\delta(m-m_1)\delta(n-n_1)

The dual function of ψ(t) is ψ(t) itself.

(4) Wavelet/scaling functions with different scale m have a functional relationship:

ψ(t) = ψ(2t) + ψ(2t − 1)
φ(t) = ψ(2t) − ψ(2t − 1)

(5) Coefficients of scale m can be calculated by coefficients of scale m+1:

If  \chi_w(n,m)=2^{m/2}\int_{-\infty}^{\infty}x(t)\phi(2^mt-n)\, dt

 \chi_w(n,m)=\sqrt{\frac{1}{2}}(\chi_w(2n,m+1)+\chi_w(2n+1,m+1))
 \Chi_w(n,m)=2^{m/2}\int_{-\infty}^{\infty}x(t)\psi(2^mt-n)\, dt
 \Chi_w(n,m)=\sqrt{\frac{1}{2}}(\chi_w(2n,m+1)-\chi_w(2n+1,m+1))


[edit] Haar matrix

The 2×2 Haar matrix that is associated with the Haar wavelet is

 H_2 = \begin{bmatrix} 1 & 1 \\ 1 & -1 \end{bmatrix}. Using the discrete wavelet transform, one can transform any sequence (a_0,a_1,\dots,a_{2n},a_{2n+1}) of even length into a sequence of two-component-vectors \left(\left(a_0,a_1\right),\dots,\left(a_{2n},a_{2n+1}\right)\right). If one right-multiplies each vector with the matrix H2, one gets the result \left(\left(s_0,d_0\right),\dots,\left(s_n,d_n\right)\right) of one stage of the fast Haar-wavelet transform. Usually one separates the sequences s and d and continues with transforming the sequence s.

If one has a sequence of length a multiple of four, one can build blocks of 4 elements and transform them in a similar manner with the 4×4 Haar matrix

 H_4 = \begin{bmatrix} 1 & 1 & 1 & 1 \\ 1 & 1 & -1 & -1 \\ 1 & -1 & 0 & 0\\ 0 & 0 & 1 & -1 \end{bmatrix},

which combines two stages of the fast Haar-wavelet transform.

[edit] References

  • Haar A. Zur Theorie der orthogonalen Funktionensysteme, Mathematische Annalen, 69, pp 331-371, 1910.
  • Charles K. Chui, An Introduction to Wavelets, (1992), Academic Press, San Diego, ISBN 0585470901

[edit] External links