Puneet Varma (Editor)

Legendre wavelet

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Legendre wavelet

In functional analysis, compactly supported wavelets derived from Legendre polynomials are termed Legendre wavelets or spherical harmonic wavelets. Legendre functions have widespread applications in which spherical coordinate system is appropriate. As with many wavelets there is no nice analytical formula for describing these harmonic spherical wavelets. The low-pass filter associated to Legendre multiresolution analysis is a finite impulse response (FIR) filter.

Contents

Wavelets associated to FIR filters are commonly preferred in most applications. An extra appealing feature is that the Legendre filters are linear phase FIR (i.e. multiresolution analysis associated with linear phase filters). These wavelets have been implemented on MATLAB (wavelet toolbox). Although being compactly supported wavelet, legdN are not orthogonal (but for N = 1).

Legendre multiresolution filters

Associated Legendre polynomials are the colatitudinal part of the spherical harmonics which are common to all separations of Laplace's equation in spherical polar coordinates. The radial part of the solution varies from one potential to another, but the harmonics are always the same and are a consequence of spherical symmetry. Spherical harmonics P n ( z ) are solutions of the Legendre 2 n d -order differential equation, n integer:

( 1 z 2 ) d 2 y d z 2 2 z d y d z + n ( n + 1 ) y = 0.

P n ( cos θ ) polynomials can be used to define the smoothing filter H ( ω ) of a multiresolution analysis (MRA). Since the appropriate boundary conditions for an MRA are | H ( 0 ) | = 1 and | H ( π ) | = 0 , the smoothing filter of an MRA can be defined so that the magnitude of the low-pass | H ( ω ) | can be associated to Legendre polynomials according to: ν = 2 n + 1 .

| H ν ( ω ) | = | P ν ( cos ω 2 ) P ν cos ( 0 ) |

Illustrative examples of filter transfer functions for a Legendre MRA are shown in figure 1, for ν =1,3 and 5. A low-pass behaviour is exhibited for the filter H, as expected. The number of zeroes within π < ω < π is equal to the degree of the Legendre polynomial. Therefore, the roll-off of side-lobes with frequency is easily controlled by the parameter ν .

The low-pass filter transfer function is given by

H ν ( ω ) = e j ν ω π 2 P ν ( cos ( ω 2 ) )

The transfer function of the high-pass analysing filter G ν ( ω ) is chosen according to Quadrature mirror filter condition, yielding:

H ν ( ω ) = e j ( ν 2 ) ω 2 P ν ( sin ( ω 2 ) )

Indeed, | G ν ( 0 ) | = 0 and | G ν ( π ) | = 1 , as expected.

Legendre multiresolution filter coefficients

A suitable phase assignment is done so as to properly adjust the transfer function H ν ( ω ) to the form H ν ( ω ) = 1 2 k Z h k ν e j ω k
The filter coefficients { h k } , k Z are given by: h k ν 2 = 1 2 2 ν . ( 2 k k ) . ( 2 ν 2 k ν k )
It follows then the symmetry: h k ν = h ν k ν . There are just ν + 1 non-zero filter coefficients on H n ( ω ) , so that the Legendre wavelets have compact support for every odd integer ν .

MATLAB implementation of Legendre wavelets

Legendre wavelets can be easily loaded into the MATLAB wavelet toolbox—The m-files to allow the computation of Legendre wavelet transform, details and filter are (freeware) available. The finite support width Legendre family is denoted by legd (short name). Wavelets: 'legdN'. The parameter N in the legdN family is found according to 2N= ν +1 (length of the MRA filters).
Legendre wavelets can be derived from the low-pass reconstruction filter by an iterative procedure (the cascade algorithm). The wavelet has compact support and finite impulse response AMR filters (FIR) are used (table 1). The first wavelet of the Legendre's family is exactly the well-known Haar wavelet. Figure 2 shows an emerging pattern that progressively looks like the wavelet's shape.

The Legendre wavelet shape can be visualised using the wavemenu command of MATLAB. Figure 3 shows legd8 wavelet displayed using MATLABTM. Legendre Polynomials are also associated with windows families.

Legendre wavelet packets

Wavelet packets (WP) systems derived from Legendre wavelets can also be easily accomplished. Figure 5 illustrates the WP functions derived from legd2.

References

Legendre wavelet Wikipedia