Daubechies wavelet

Last updated
Daubechies 20 2-d wavelet (Wavelet Fn X Scaling Fn) Daubechies20LowPassHighPass2DFilterM.png
Daubechies 20 2-d wavelet (Wavelet Fn X Scaling Fn)

The Daubechies wavelets, based on the work of Ingrid Daubechies, are a family of orthogonal wavelets defining a discrete wavelet transform and characterized by a maximal number of vanishing moments for some given support. With each wavelet type of this class, there is a scaling function (called the father wavelet) which generates an orthogonal multiresolution analysis.

Contents

Properties

In general the Daubechies wavelets are chosen to have the highest number A of vanishing moments, (this does not imply the best smoothness) for given support width (number of coefficients) 2A. [1] There are two naming schemes in use, DN using the length or number of taps, and dbA referring to the number of vanishing moments. So D4 and db2 are the same wavelet transform.

Among the 2A−1 possible solutions of the algebraic equations for the moment and orthogonality conditions, the one is chosen whose scaling filter has extremal phase. The wavelet transform is also easy to put into practice using the fast wavelet transform. Daubechies wavelets are widely used in solving a broad range of problems, e.g. self-similarity properties of a signal or fractal problems, signal discontinuities, etc.

The Daubechies wavelets are not defined in terms of the resulting scaling and wavelet functions; in fact, they are not possible to write down in closed form. The graphs below are generated using the cascade algorithm, a numeric technique consisting of inverse-transforming [1 0 0 0 0 ... ] an appropriate number of times.

Scaling and wavelet functions Daubechies4-functions.svg Daubechies12-functions.png Daubechies20-functions.png
Amplitudes of the frequency spectra of the above functions Daubechies4-spectrum.svg Daubechies12-spectrum.png Daubechies20-spectrum.png

Note that the spectra shown here are not the frequency response of the high and low pass filters, but rather the amplitudes of the continuous Fourier transforms of the scaling (blue) and wavelet (red) functions.

Daubechies orthogonal wavelets D2–D20 resp. db1–db10 are commonly used. The index number refers to the number N of coefficients. Each wavelet has a number of zero moments or vanishing moments equal to half the number of coefficients. For example, D2 has one vanishing moment, D4 has two, etc. A vanishing moment limits the wavelets ability to represent polynomial behaviour or information in a signal. For example, D2, with one vanishing moment, easily encodes polynomials of one coefficient, or constant signal components. D4 encodes polynomials with two coefficients, i.e. constant and linear signal components; and D6 encodes 3-polynomials, i.e. constant, linear and quadratic signal components. This ability to encode signals is nonetheless subject to the phenomenon of scale leakage, and the lack of shift-invariance, which arise from the discrete shifting operation (below) during application of the transform. Sub-sequences which represent linear, quadratic (for example) signal components are treated differently by the transform depending on whether the points align with even- or odd-numbered locations in the sequence. The lack of the important property of shift-invariance, has led to the development of several different versions of a shift-invariant (discrete) wavelet transform.

Construction

Both the scaling sequence (low-pass filter) and the wavelet sequence (band-pass filter) (see orthogonal wavelet for details of this construction) will here be normalized to have sum equal 2 and sum of squares equal 2. In some applications, they are normalised to have sum , so that both sequences and all shifts of them by an even number of coefficients are orthonormal to each other.

Using the general representation for a scaling sequence of an orthogonal discrete wavelet transform with approximation order A,

with N = 2A, p having real coefficients, p(1) = 1 and deg(p) = A  1, one can write the orthogonality condition as

or equally as

with the Laurent-polynomial

generating all symmetric sequences and Further, P(X) stands for the symmetric Laurent-polynomial

Since

P takes nonnegative values on the segment [0,2].

Equation (*) has one minimal solution for each A, which can be obtained by division in the ring of truncated power series in X,

Obviously, this has positive values on (0,2).

The homogeneous equation for (*) is antisymmetric about X = 1 and has thus the general solution

with R some polynomial with real coefficients. That the sum

shall be nonnegative on the interval [0,2] translates into a set of linear restrictions on the coefficients of R. The values of P on the interval [0,2] are bounded by some quantity maximizing r results in a linear program with infinitely many inequality conditions.

To solve

for p one uses a technique called spectral factorization resp. Fejér-Riesz-algorithm. The polynomial P(X) splits into linear factors

Each linear factor represents a Laurent-polynomial

that can be factored into two linear factors. One can assign either one of the two linear factors to p(Z), thus one obtains 2N possible solutions. For extremal phase one chooses the one that has all complex roots of p(Z) inside or on the unit circle and is thus real.

For Daubechies wavelet transform, a pair of linear filters is used. Each filter of the pair should be a quadrature mirror filter. Solving the coefficient of the linear filter using the quadrature mirror filter property results in the following solution for the coefficient values for filter of order 4.

The scaling sequences of lowest approximation order

Below are the coefficients for the scaling functions for D2-20. The wavelet coefficients are derived by reversing the order of the scaling function coefficients and then reversing the sign of every second one, (i.e., D4 wavelet {−0.1830127, −0.3169873, 1.1830127, −0.6830127}). Mathematically, this looks like where k is the coefficient index, b is a coefficient of the wavelet sequence and a a coefficient of the scaling sequence. N is the wavelet index, i.e., 2 for D2.

Orthogonal Daubechies coefficients (normalized to have sum 2)
D2 (Haar)D4D6D8D10D12D14D16D18D20
10.68301270.470467210.325803430.226418980.157742430.110099430.076955620.053850350.03771716
11.18301271.141116921.010945720.853943540.699503810.560791280.442467250.344834300.26612218
0.31698730.6503650.892200141.024326941.062263761.031148490.955486150.855349060.74557507
−0.1830127−0.19093442−0.039575030.195766960.445831320.664372480.827816530.929545710.97362811
−0.12083221−0.26450717−0.34265671−0.31998660−0.20351382−0.022385740.188369550.39763774
0.04981750.0436163−0.04560113−0.18351806−0.31683501−0.40165863−0.41475176−0.35333620
0.04650360.109702650.137888090.10084676.68194092 × 10−4−0.13695355−0.27710988
−0.01498699−0.008826800.038923210.114003450.182076360.210068340.18012745
−0.01779187−0.04466375−0.05378245−0.024563900.0434526750.13160299
4.71742793 × 10−37.83251152 × 10−4−0.02343994−0.06235021−0.09564726−0.10096657
6.75606236 × 10−30.017749790.019772163.54892813 × 10−4−0.04165925
−1.52353381 × 10−36.07514995 × 10−40.012368840.031624170.04696981
−2.54790472 × 10−3−6.88771926 × 10−3−6.67962023 × 10−35.10043697 × 10−3
5.00226853 × 10−4−5.54004549 × 10−4−6.05496058 × 10−3−0.01517900
9.55229711 × 10−42.61296728 × 10−31.97332536 × 10−3
−1.66137261 × 10−43.25814671 × 10−42.81768659 × 10−3
−3.56329759 × 10−4−9.69947840 × 10−4
5.5645514 × 10−5−1.64709006 × 10−4
1.32354367 × 10−4
−1.875841 × 10−5

Parts of the construction are also used to derive the biorthogonal Cohen–Daubechies–Feauveau wavelets (CDFs).

Implementation

While software such as Mathematica supports Daubechies wavelets directly [2] a basic implementation is possible in MATLAB (in this case, Daubechies 4). This implementation uses periodization to handle the problem of finite length signals. Other, more sophisticated methods are available, but often it is not necessary to use these as it only affects the very ends of the transformed signal. The periodization is accomplished in the forward transform directly in MATLAB vector notation, and the inverse transform by using the circshift() function:

Transform, D4

It is assumed that S, a column vector with an even number of elements, has been pre-defined as the signal to be analyzed. Note that the D4 coefficients are [1 + 3, 3 + 3, 3  3, 1  3]/4.

N=length(S);sqrt3=sqrt(3);s_odd=S(1:2:N-1);s_even=S(2:2:N);s=(sqrt3+1)*s_odd+(3+sqrt3)*s_even+(3-sqrt3)*[s_odd(2:N/2);s_odd(1)]+(1-sqrt3)*[s_even(2:N/2);s_even(1)];d=(1-sqrt3)*[s_odd(N/2);s_odd(1:N/2-1)]+(sqrt3-3)*[s_even(N/2);s_even(1:N/2-1)]+(3+sqrt3)*s_odd+(-1-sqrt3)*s_evens=s/(4*sqrt(2));d=d/(4*sqrt(2));

Inverse transform, D4

d1=d*((sqrt(3)-1)/sqrt(2));s2=s*((sqrt(3)+1)/sqrt(2));s1=s2+circshift(d1,-1);S(2:2:N)=d1+sqrt(3)/4*s1+(sqrt(3)-2)/4*circshift(s1,1);S(1:2:N-1)=s1-sqrt(3)*S(2:2:N);

Binomial-QMF

It was shown by Ali Akansu in 1990 that the binomial quadrature mirror filter bank (binomial QMF) is identical to the Daubechies wavelet filter, and its performance was ranked among known subspace solutions from a discrete-time signal processing perspective. [3] [4] It was an extension of the prior work on binomial coefficient and Hermite polynomials that led to the development of the Modified Hermite Transformation (MHT) in 1987. [5] [6] The magnitude square functions of Binomial-QMF filters are the unique maximally flat functions in a two-band perfect reconstruction QMF (PR-QMF) design formulation that is related to the wavelet regularity in the continuous domain. [7] [8]

Applications


See also

Related Research Articles

<span class="mw-page-title-main">Discrete Fourier transform</span> Type of Fourier transform in discrete mathematics

In mathematics, the discrete Fourier transform (DFT) converts a finite sequence of equally-spaced samples of a function into a same-length sequence of equally-spaced samples of the discrete-time Fourier transform (DTFT), which is a complex-valued function of frequency. The interval at which the DTFT is sampled is the reciprocal of the duration of the input sequence. An inverse DFT (IDFT) is a Fourier series, using the DTFT samples as coefficients of complex sinusoids at the corresponding DTFT frequencies. It has the same sample-values as the original input sequence. The DFT is therefore said to be a frequency domain representation of the original input sequence. If the original sequence spans all the non-zero values of a function, its DTFT is continuous, and the DFT provides discrete samples of one cycle. If the original sequence is one cycle of a periodic function, the DFT provides all the non-zero values of one DTFT cycle.

<span class="mw-page-title-main">Wavelet</span> Function for integral Fourier-like transform

A wavelet is a wave-like oscillation with an amplitude that begins at zero, increases or decreases, and then returns to zero one or more times. Wavelets are termed a "brief oscillation". A taxonomy of wavelets has been established, based on the number and direction of its pulses. Wavelets are imbued with specific properties that make them useful for signal processing.

<span class="mw-page-title-main">Haar wavelet</span> First known wavelet basis

In mathematics, the Haar wavelet is a sequence of rescaled "square-shaped" functions which together form a wavelet family or basis. Wavelet analysis is similar to Fourier analysis in that it allows a target function over an interval to be represented in terms of an orthonormal basis. The Haar sequence is now recognised as the first known wavelet basis and is extensively used as a teaching example.

In digital signal processing, a quadrature mirror filter is a filter whose magnitude response is the mirror image around of that of another filter. Together these filters, first introduced by Croisier et al., are known as the quadrature mirror filter pair.

<span class="mw-page-title-main">Discrete wavelet transform</span> Transform in numerical harmonic analysis

In numerical analysis and functional analysis, a discrete wavelet transform (DWT) is any wavelet transform for which the wavelets are discretely sampled. As with other wavelet transforms, a key advantage it has over Fourier transforms is temporal resolution: it captures both frequency and location information.

<span class="mw-page-title-main">Filter bank</span> Tool for Digital Signal Processing

In signal processing, a filter bank is an array of bandpass filters that separates the input signal into multiple components, each one carrying a single frequency sub-band of the original signal. One application of a filter bank is a graphic equalizer, which can attenuate the components differently and recombine them into a modified version of the original signal. The process of decomposition performed by the filter bank is called analysis ; the output of analysis is referred to as a subband signal with as many subbands as there are filters in the filter bank. The reconstruction process is called synthesis, meaning reconstitution of a complete signal resulting from the filtering process.

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. This algorithm was introduced in 1989 by Stéphane Mallat.

A multiresolution analysis (MRA) or multiscale approximation (MSA) is the design method of most of the practically relevant discrete wavelet transforms (DWT) and the justification for the algorithm of the fast wavelet transform (FWT). It was introduced in this context in 1988/89 by Stephane Mallat and Yves Meyer and has predecessors in the microlocal analysis in the theory of differential equations and the pyramid methods of image processing as introduced in 1981/83 by Peter J. Burt, Edward H. Adelson and James L. Crowley.

Originally known as optimal subband tree structuring (SB-TS), also called wavelet packet decomposition, is a wavelet transform where the discrete-time (sampled) signal is passed through more filters than the discrete wavelet transform (DWT).

The stationary wavelet transform (SWT) is a wavelet transform algorithm designed to overcome the lack of translation-invariance of the discrete wavelet transform (DWT). Translation-invariance is achieved by removing the downsamplers and upsamplers in the DWT and upsampling the filter coefficients by a factor of in the th level of the algorithm. The SWT is an inherently redundant scheme as the output of each level of SWT contains the same number of samples as the input – so for a decomposition of N levels there is a redundancy of N in the wavelet coefficients. This algorithm is more famously known as "algorithme à trous" in French which refers to inserting zeros in the filters. It was introduced by Holschneider et al.

<span class="mw-page-title-main">Cohen–Daubechies–Feauveau wavelet</span>

Cohen–Daubechies–Feauveau wavelets are a family of biorthogonal wavelets that was made popular by Ingrid Daubechies. These are not the same as the orthogonal Daubechies wavelets, and also not very similar in shape and properties. However, their construction idea is the same.

<span class="mw-page-title-main">Wavelet transform</span> Mathematical technique used in data compression and analysis

In mathematics, a wavelet series is a representation of a square-integrable function by a certain orthonormal series generated by a wavelet. This article provides a formal, mathematical definition of an orthonormal wavelet and of the integral wavelet transform.

An orthogonal wavelet is a wavelet whose associated wavelet transform is orthogonal. That is, the inverse wavelet transform is the adjoint of the wavelet transform. If this condition is weakened one may end up with biorthogonal wavelets.

<span class="mw-page-title-main">Lifting scheme</span> Technique for wavelet analysis

The lifting scheme is a technique for both designing wavelets and performing the discrete wavelet transform (DWT). In an implementation, it is often worthwhile to merge these steps and design the wavelet filters while performing the wavelet transform. This is then called the second-generation wavelet transform. The technique was introduced by Wim Sweldens.

In mathematics, Fourier–Bessel series is a particular kind of generalized Fourier series based on Bessel functions.

In signal processing, a polyphase matrix is a matrix whose elements are filter masks. It represents a filter bank as it is used in sub-band coders alias discrete wavelet transforms.

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.

Ali Naci Akansu is a Turkish-American professor of electrical & computer engineering and scientist in applied mathematics.

A binomial QMF – properly an orthonormal binomial quadrature mirror filter – is an orthogonal wavelet developed in 1990.

In applied mathematics, biorthogonal nearly coiflet bases are wavelet bases proposed by Lowell L. Winger. The wavelet is based on biorthogonal coiflet wavelet bases, but sacrifices its regularity to increase the filter's bandwidth, which might lead to better image compression performance.

References

  1. I. Daubechies, Ten Lectures on Wavelets, SIAM, 1992, p. 194.
  2. Daubechies Wavelet in Mathematica. Note that in there n is n/2 from the text.
  3. A.N. Akansu, An Efficient QMF-Wavelet Structure (Binomial-QMF Daubechies Wavelets), Proc. 1st NJIT Symposium on Wavelets, April 1990.
  4. A.N. Akansu, R.A. Haddad and H. Caglar, Perfect Reconstruction Binomial QMF-Wavelet Transform, Proc. SPIE Visual Communications and Image Processing, pp. 609–618, vol. 1360, Lausanne, Sept. 1990.
  5. A.N. Akansu, Statistical Adaptive Transform Coding of Speech Signals. Ph.D. Thesis. Polytechnic University, 1987.
  6. R.A. Haddad and A.N. Akansu, "A New Orthogonal Transform for Signal Coding," IEEE Transactions on Acoustics, Speech and Signal Processing, vol.36, no.9, pp. 1404-1411, September 1988.
  7. H. Caglar and A.N. Akansu, A Generalized Parametric PR-QMF Design Technique Based on Bernstein Polynomial Approximation, IEEE Trans. Signal Process., pp. 2314–2321, July 1993.
  8. O. Herrmann, On the Approximation Problem in Nonrecursive Digital Filter Design, IEEE Trans. Circuit Theory, vol CT-18, no. 3, pp. 411–413, May 1971.
  9. Umer, Aziz Waqas; Majid, Khan; Syeda, Iram Batool (18 December 2019). "A new watermarking scheme based on Daubechies wavelet and chaotic map for quick response code images". Multimedia Tools and Applications. 79 (9–10): 6891–6914. doi:10.1007/s11042-019-08570-5.
  10. Jyotirmoy, Mouley; Nantu, Sarkar; Soumen, De (5 January 2023). "Griffith crack analysis in nonlocal magneto-elastic strip using Daubechies wavelets". Waves in Random and Complex Media: 1–19. doi:10.1080/17455030.2022.2163060.
  11. Soumaya, Zayrit; Taoufiq, Belhoussine Drissi; Abdelkrim, Ammoumou (2020). "Daubechies Wavelet Cepstral Coefficients for Parkinson's Disease Detection" (PDF). Complex Systems.
  12. Natzina, Juanita S.R.F; Nadine, Suzanne S.R.F; Shojaa, Ayed Aljasar; Yubin, Xu; Muhammad, Saqib (2020). "Analysis and Detection of Community Acquired Pneumonia Using PSPNET with Complex Daubechies Wavelets". Indian Journal of Computer Science and Engineering (IJCSE).
  13. S.C., Shiralashetti; S.I., Hanaji; Sharada, S.Naregal (28 July 2020). "Daubechies wavelet based numerical method for the solution of grease elastohydrodynamic lubrication problem". International Conference on Mathematical Sciences and Applications.
  14. L L, Titova; Yu, M Chernik; Yu O, Gumenyuk; M M, Korobko (2020). "Research of Daubechies Wavelet spectrum of vibroacoustic signals for diagnostic of diesel engines of combine harvesters". IOP Conference Series: Earth and Environmental Science. 548: 032030. doi:10.1088/1755-1315/548/3/032030.
  15. Christos, V.Nastos; Dimitris, A. Saravanos (7 September 2021). "Multiresolution Daubechies finite wavelet domain method for transient dynamic wave analysis in elastic solids". International Journal for Numerical Methods in Engineering. 122 (23): 7078–7100. doi:10.1002/nme.6822.
  16. Azad, Kasnazani; Amjad, AliPanah (2021). "Solving brachistochrone problem via scaling functions of Daubechies wavelets". Computational Methods for Differential Equations.