Discrete wavelet transform
   HOME

TheInfoList



OR:

In
numerical analysis Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods ...
and
functional analysis Functional analysis is a branch of mathematical analysis, the core of which is formed by the study of vector spaces endowed with some kind of limit-related structure (e.g. inner product, norm, topology, etc.) and the linear functions defi ...
, a discrete wavelet transform (DWT) is any
wavelet transform In mathematics, a wavelet series is a representation of a square-integrable ( real- or complex-valued) function by a certain orthonormal series generated by a wavelet. This article provides a formal, mathematical definition of an orthonormal ...
for which the
wavelet 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 num ...
s are discretely sampled. As with other wavelet transforms, a key advantage it has over
Fourier transform A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed ...
s is temporal resolution: it captures both frequency ''and'' location information (location in time).


Examples


Haar wavelets

The first DWT was invented by Hungarian mathematician
Alfréd Haar Alfréd Haar ( hu, Haar Alfréd; 11 October 1885, Budapest – 16 March 1933, Szeged) was a Kingdom of Hungary, Hungarian mathematician. In 1904 he began to study at the University of Göttingen. His doctorate was supervised by David Hil ...
. For an input represented by a list of 2^n numbers, the
Haar wavelet 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 repre ...
transform may be considered to pair up input values, storing the difference and passing the sum. This process is repeated recursively, pairing up the sums to prove the next scale, which leads to 2^n-1 differences and a final sum.


Daubechies wavelets

The most commonly used set of discrete wavelet transforms was formulated by the Belgian mathematician
Ingrid Daubechies Baroness Ingrid Daubechies ( ; ; born 17 August 1954) is a Belgian physicist and mathematician. She is best known for her work with wavelets in image compression. Daubechies is recognized for her study of the mathematical methods that enhance ...
in 1988. This formulation is based on the use of
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
s to generate progressively finer discrete samplings of an implicit mother wavelet function; each resolution is twice that of the previous scale. In her seminal paper, Daubechies derives a family of
wavelets 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 nu ...
, the first of which is the Haar wavelet. Interest in this field has exploded since then, and many variations of Daubechies' original wavelets were developed.


The dual-tree complex wavelet transform (D\mathbbWT)

The dual-tree complex wavelet transform (\mathbbWT) is a relatively recent enhancement to the discrete wavelet transform (DWT), with important additional properties: It is nearly shift invariant and directionally selective in two and higher dimensions. It achieves this with a redundancy factor of only 2^d, substantially lower than the undecimated DWT. The multidimensional (M-D) dual-tree \mathbbWT is nonseparable but is based on a computationally efficient, separable filter bank (FB).


Others

Other forms of discrete wavelet transform include the Le Gall–Tabatabai (LGT) 5/3 wavelet developed by Didier Le Gall and Ali J. Tabatabai in 1988 (used in
JPEG 2000 JPEG 2000 (JP2) is an image compression standard and coding system. It was developed from 1997 to 2000 by a Joint Photographic Experts Group committee chaired by Touradj Ebrahimi (later the JPEG president), with the intention of superseding th ...
or
JPEG XS JPEG XS (ISO/IEC 21122) is an interoperable, visually lossless, low-latency and lightweight image and video coding system used in professional applications. Applications of the standard include streaming high quality content for virtual reality ...
), the
Binomial QMF A binomial QMF – properly an orthonormal binomial quadrature mirror filter – is an orthogonal wavelet developed in 1990. The binomial QMF bank with perfect reconstruction (PR) was designed by Ali Akansu, and published in 1990, using the family ...
developed by
Ali Naci Akansu Ali Naci Akansu (born May 6, 1958) is a Turkish-American Professor of electrical & computer engineering and scientist in applied mathematics. He is best known for his seminal contributions to the theory and applications of linear subspace meth ...
in 1990, the
set partitioning in hierarchical trees Set partitioning in hierarchical trees (SPIHT) is an image compression algorithm that exploits the inherent similarities across the subbands in a wavelet decomposition of an image. The algorithm was developed by Brazilian engineer Amir Said with ...
(SPIHT) algorithm developed by Amir Said with William A. Pearlman in 1996, the non- or undecimated wavelet transform (where downsampling is omitted), and the
Newland transform In the mathematics of signal processing, the harmonic wavelet transform, introduced by David Edward Newland in 1993, is a wavelet-based linear transformation of a given function into a time-frequency representation. It combines advantages of the sh ...
(where an
orthonormal In linear algebra, two vectors in an inner product space are orthonormal if they are orthogonal (or perpendicular along a line) unit vectors. A set of vectors form an orthonormal set if all vectors in the set are mutually orthogonal and all of ...
basis of wavelets is formed from appropriately constructed top-hat filters in
frequency space In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a s ...
). Wavelet packet transforms are also related to the discrete wavelet transform.
Complex wavelet transform The complex wavelet transform (CWT) is a complex-valued extension to the standard discrete wavelet transform (DWT). It is a two-dimensional wavelet transform which provides multiresolution, sparse representation, and useful characterization of the ...
is another form.


Properties

The Haar DWT illustrates the desirable properties of wavelets in general. First, it can be performed in O(n) operations; second, it captures not only a notion of the frequency content of the input, by examining it at different scales, but also temporal content, i.e. the times at which these frequencies occur. Combined, these two properties make the
Fast wavelet transform 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 exte ...
(FWT) an alternative to the conventional
fast Fourier transform A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). Fourier analysis converts a signal from its original domain (often time or space) to a representation in ...
(FFT).


Time issues

Due to the rate-change operators in the filter bank, the discrete WT is not time-invariant but actually very sensitive to the alignment of the signal in time. To address the time-varying problem of wavelet transforms, Mallat and Zhong proposed a new algorithm for wavelet representation of a signal, which is invariant to time shifts. According to this algorithm, which is called a TI-DWT, only the scale parameter is sampled along the dyadic sequence 2^j (j∈Z) and the wavelet transform is calculated for each point in time.


Applications

The discrete wavelet transform has a huge number of applications in science, engineering, mathematics and computer science. Most notably, it is used for
signal coding In signal processing, a signal is a function that conveys information about a phenomenon. Any quantity that can vary over space or time can be used as a signal to share messages between observers. The '' IEEE Transactions on Signal Processing ...
, to represent a discrete signal in a more redundant form, often as a preconditioning for
data compression In information theory, data compression, source coding, or bit-rate reduction is the process of encoding information using fewer bits than the original representation. Any particular compression is either lossy or lossless. Lossless compressio ...
. Practical applications can also be found in signal processing of accelerations for gait analysis, image processing, in digital communications and many others. It is shown that discrete wavelet transform (discrete in scale and shift, and continuous in time) is successfully implemented as analog filter bank in biomedical signal processing for design of low-power pacemakers and also in ultra-wideband (UWB) wireless communications.


Example in image processing

Wavelets are often used to denoise two dimensional signals, such as images. The following example provides three steps to remove unwanted white Gaussian noise from the noisy image shown.
Matlab MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementat ...
was used to import and filter the image. The first step is to choose a wavelet type, and a level N of decomposition. In this case biorthogonal 3.5 wavelets were chosen with a level N of 10. Biorthogonal wavelets are commonly used in image processing to detect and filter white Gaussian noise, due to their high contrast of neighboring pixel intensity values. Using these wavelets a
wavelet transform In mathematics, a wavelet series is a representation of a square-integrable ( real- or complex-valued) function by a certain orthonormal series generated by a wavelet. This article provides a formal, mathematical definition of an orthonormal ...
ation is performed on the two dimensional image. Following the decomposition of the image file, the next step is to determine threshold values for each level from 1 to N. Birgé-Massart strategy is a fairly common method for selecting these thresholds. Using this process individual thresholds are made for N = 10 levels. Applying these thresholds are the majority of the actual filtering of the signal. The final step is to reconstruct the image from the modified levels. This is accomplished using an inverse wavelet transform. The resulting image, with white Gaussian noise removed is shown below the original image. When filtering any form of data it is important to quantify the signal-to-noise-ratio of the result. In this case, the SNR of the noisy image in comparison to the original was 30.4958%, and the SNR of the denoised image is 32.5525%. The resulting improvement of the wavelet filtering is a SNR gain of 2.0567%. It is important to note that choosing other wavelets, levels, and thresholding strategies can result in different types of filtering. In this example, white Gaussian noise was chosen to be removed. Although, with different thresholding, it could just as easily have been amplified. To illustrate the differences and similarities between the discrete wavelet transform with the
discrete Fourier transform 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 comple ...
, consider the DWT and DFT of the following sequence: (1,0,0,0), a unit impulse. The DFT has orthogonal basis ( DFT matrix): : \begin 1 & 1 & 1 & 1\\ 1 & -i & -1 & i\\ 1 & -1 & 1 & -1\\ 1 & i & -1 & -i \end while the DWT with Haar wavelets for length 4 data has orthogonal basis in the rows of: : \begin 1 & 1 & 1 & 1\\ 1 & 1 & -1 & -1\\ 1 & -1 & 0 & 0\\ 0 & 0 & 1 & -1 \end (To simplify notation, whole numbers are used, so the bases are
orthogonal In mathematics, orthogonality is the generalization of the geometric notion of '' perpendicularity''. By extension, orthogonality is also used to refer to the separation of specific features of a system. The term also has specialized meanings in ...
but not
orthonormal In linear algebra, two vectors in an inner product space are orthonormal if they are orthogonal (or perpendicular along a line) unit vectors. A set of vectors form an orthonormal set if all vectors in the set are mutually orthogonal and all of ...
.) Preliminary observations include: * Sinusoidal waves differ only in their frequency. The first does not complete any cycles, the second completes one full cycle, the third completes two cycles, and the fourth completes three cycles (which is equivalent to completing one cycle in the opposite direction). Differences in phase can be represented by multiplying a given basis vector by a complex constant. * Wavelets, by contrast, have both frequency and location. As before, the first completes zero cycles, and the second completes one cycle. However, the third and fourth both have the same frequency, twice that of the first. Rather than differing in frequency, they differ in ''location'' — the third is nonzero over the first two elements, and the fourth is nonzero over the second two elements. :\begin (1,0,0,0) &= \frac(1,1,1,1) + \frac(1,1,-1,-1) + \frac(1,-1,0,0) \qquad \text\\ (1,0,0,0) &= \frac(1,1,1,1) + \frac(1,i,-1,-i) + \frac(1,-1,1,-1) + \frac(1,-i,-1,i) \qquad \text \end The DWT demonstrates the localization: the (1,1,1,1) term gives the average signal value, the (1,1,–1,–1) places the signal in the left side of the domain, and the (1,–1,0,0) places it at the left side of the left side, and truncating at any stage yields a downsampled version of the signal: :\begin &\left(\frac,\frac,\frac,\frac\right)\\ &\left(\frac,\frac,0,0\right)\qquad\text\\ &\left(1,0,0,0\right) \end The DFT, by contrast, expresses the sequence by the interference of waves of various frequencies – thus truncating the series yields a
low-pass filter A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
ed version of the series: :\begin &\left(\frac,\frac,\frac,\frac\right)\\ &\left(\frac,\frac,-\frac,\frac\right)\qquad\text\\ &\left(1,0,0,0\right) \end Notably, the middle approximation (2-term) differs. From the frequency domain perspective, this is a better approximation, but from the time domain perspective it has drawbacks – it exhibits undershoot – one of the values is negative, though the original series is non-negative everywhere – and
ringing Ringing may mean: Vibrations * Ringing (signal), unwanted oscillation of a signal, leading to ringing artifacts * Vibration of a harmonic oscillator ** Bell ringing * Ringing (telephony), the sound of a telephone bell * Ringing (medicine), a ring ...
, where the right side is non-zero, unlike in the wavelet transform. On the other hand, the Fourier approximation correctly shows a peak, and all points are within 1/4 of their correct value, though all points have error. The wavelet approximation, by contrast, places a peak on the left half, but has no peak at the first point, and while it is exactly correct for half the values (reflecting location), it has an error of 1/2 for the other values. This illustrates the kinds of trade-offs between these transforms, and how in some respects the DWT provides preferable behavior, particularly for the modeling of transients.


Definition


One level of the transform

The DWT of a signal x is calculated by passing it through a series of filters. First the samples are passed through a
low-pass filter A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
with
impulse response In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
g resulting in a
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
of the two: :y = (x * g) = \sum\limits_^\infty The signal is also decomposed simultaneously using a
high-pass filter A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. The amount of attenuation for each frequency ...
h. The outputs give the detail coefficients (from the high-pass filter) and approximation coefficients (from the low-pass). It is important that the two filters are related to each other and they are known as a quadrature mirror filter. However, since half the frequencies of the signal have now been removed, half the samples can be discarded according to Nyquist's rule. The filter output of the low-pass filter g in the diagram above is then subsampled by 2 and further processed by passing it again through a new low-pass filter g and a high- pass filter h with half the cut-off frequency of the previous one, i.e.: :y_ = \sum\limits_^\infty :y_ = \sum\limits_^\infty This decomposition has halved the time resolution since only half of each filter output characterises the signal. However, each output has half the frequency band of the input, so the frequency resolution has been doubled. With the subsampling operator \downarrow :(y \downarrow k) = y n the above summation can be written more concisely. :y_ = (x*g)\downarrow 2 :y_ = (x*h)\downarrow 2 However computing a complete convolution x*g with subsequent downsampling would waste computation time. The
Lifting scheme 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 tr ...
is an optimization where these two computations are interleaved.


Cascading and filter banks

This decomposition is repeated to further increase the frequency resolution and the approximation coefficients decomposed with high- and low-pass filters and then down-sampled. This is represented as a binary tree with nodes representing a sub-space with a different time-frequency localisation. The tree is known as a
filter bank In signal processing, a filter bank (or filterbank) 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 ...
. At each level in the above diagram the signal is decomposed into low and high frequencies. Due to the decomposition process the input signal must be a multiple of 2^n where n is the number of levels. For example a signal with 32 samples, frequency range 0 to f_n and 3 levels of decomposition, 4 output scales are produced:


Relationship to the mother wavelet

The filterbank implementation of wavelets can be interpreted as computing the wavelet coefficients of a discrete set of child wavelets for a given mother wavelet \psi(t). In the case of the discrete wavelet transform, the mother wavelet is shifted and scaled by powers of two \psi_(t)= \frac \psi \left( \frac \right) where j is the scale parameter and k is the shift parameter, both which are integers. Recall that the wavelet coefficient \gamma of a signal x(t) is the projection of x(t) onto a wavelet, and let x(t) be a signal of length 2^N. In the case of a child wavelet in the discrete family above, \gamma_ = \int_^ x(t) \frac \psi \left( \frac \right) dt Now fix j at a particular scale, so that \gamma_ is a function of k only. In light of the above equation, \gamma_ can be viewed as a
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
of x(t) with a dilated, reflected, and normalized version of the mother wavelet, h(t) = \frac \psi \left( \frac \right) , sampled at the points 1, 2^j, 2^, ..., 2^. But this is precisely what the detail coefficients give at level j of the discrete wavelet transform. Therefore, for an appropriate choice of h /math> and g /math>, the detail coefficients of the filter bank correspond exactly to a wavelet coefficient of a discrete set of child wavelets for a given mother wavelet \psi(t). As an example, consider the discrete
Haar wavelet 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 repre ...
, whose mother wavelet is \psi = , -1/math>. Then the dilated, reflected, and normalized version of this wavelet is h = \frac
1, 1 Onekama ( ) is a village in Manistee County in the U.S. state of Michigan. The population was 411 at the 2010 census. The village is located on the shores of Portage Lake and is surrounded by Onekama Township. The town's name is derived from "On ...
/math>, which is, indeed, the highpass decomposition filter for the discrete Haar wavelet transform.


Time complexity

The filterbank implementation of the Discrete Wavelet Transform takes only O(''N'') in certain cases, as compared to O(''N'' log ''N'') for the
fast Fourier transform A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). Fourier analysis converts a signal from its original domain (often time or space) to a representation in ...
. Note that if g /math> and h /math> are both a constant length (i.e. their length is independent of N), then x * h and x * g each take O(''N'') time. The wavelet filterbank does each of these two O(''N'') convolutions, then splits the signal into two branches of size N/2. But it only recursively splits the upper branch convolved with g /math> (as contrasted with the FFT, which recursively splits both the upper branch and the lower branch). This leads to the following
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
: T(N) = 2N + T\left( \frac N 2 \right) which leads to an O(''N'') time for the entire operation, as can be shown by a
geometric series In mathematics, a geometric series is the sum of an infinite number of terms that have a constant ratio between successive terms. For example, the series :\frac \,+\, \frac \,+\, \frac \,+\, \frac \,+\, \cdots is geometric, because each suc ...
expansion of the above relation. As an example, the discrete
Haar wavelet 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 repre ...
transform is linear, since in that case h /math> and g /math> are constant length 2. : h = \left frac, \frac\right g = \left frac, \frac\right/math> The locality of wavelets, coupled with the O(''N'') complexity, guarantees that the transform can be computed online (on a streaming basis). This property is in sharp contrast to FFT, which requires access to the entire signal at once. It also applies to the multi-scale transform and also to the multi-dimensional transforms (e.g., 2-D DWT).


Other transforms

* The
Adam7 algorithm Adam7 is an interlacing algorithm for raster images, best known as the interlacing scheme optionally used in PNG images. An Adam7 interlaced image is broken into seven subimages, which are defined by replicating this 8×8 pattern across the ...
, used for interlacing in the
Portable Network Graphics Portable Network Graphics (PNG, officially pronounced , colloquially pronounced ) is a raster-graphics file format that supports lossless data compression. PNG was developed as an improved, non-patented replacement for Graphics Interchange ...
(PNG) format, is a multiscale model of the data which is similar to a DWT with
Haar wavelet 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 repre ...
s. Unlike the DWT, it has a specific scale – it starts from an 8×8 block, and it
downsample In digital signal processing, downsampling, compression, and decimation are terms associated with the process of ''resampling'' in a multi-rate digital signal processing system. Both ''downsampling'' and ''decimation'' can be synonymous with ''com ...
s the image, rather than decimating (
low-pass filter A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
ing, then downsampling). It thus offers worse frequency behavior, showing artifacts (
pixelation In computer graphics, pixelation (or pixellation in British English) is caused by displaying a bitmap or a section of a bitmap at such a large size that individual pixels, small single-colored square display elements that comprise the bitmap, a ...
) at the early stages, in return for simpler implementation. * The multiplicative (or geometric) discrete wavelet transform is a variant that applies to an observation model = f involving interactions of a positive regular function f and a multiplicative independent positive noise X, with \mathbb X = 1. Denote , a wavelet transform. Since f = f + , then the standard (additive) discrete wavelet transform is such that = f + , where ''detail coefficients'' cannot be considered as sparse in general, due to the contribution of f in the latter expression. In the multiplicative framework, the wavelet transform is such that = \left( f\right) \times \left( \right). This 'embedding' of wavelets in a multiplicative algebra involves generalized multiplicative approximations and detail operators: For instance, in the case of the Haar wavelets, then up to the normalization coefficient \alpha, the standard approximations (arithmetic mean) c_ = \alpha(y_ + y_) and details (arithmetic differences) d_ = \alpha(y_ - y_) become respectively geometric mean approximations c_^\ast = (y_ \times y_)^\alpha and geometric differences (details) d_^\ast = \left(\frac\right)^\alpha when using .


Code example

In its simplest form, the DWT is remarkably easy to compute. The
Haar wavelet 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 repre ...
in
Java Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's mo ...
: public static int[] discreteHaarWaveletTransform(int[] input) Complete Java code for a 1-D and 2-D DWT using Haar wavelet, Haar, Daubechies wavelet, Daubechies, Coiflet, and Legendre wavelet, Legendre wavelets is available from the open source project
JWave
Furthermore, a fast lifting implementation of the discrete biorthogonal Cohen-Daubechies-Feauveau wavelet, CDF 9/7 wavelet transform in C, used in the
JPEG 2000 JPEG 2000 (JP2) is an image compression standard and coding system. It was developed from 1997 to 2000 by a Joint Photographic Experts Group committee chaired by Touradj Ebrahimi (later the JPEG president), with the intention of superseding th ...
image compression standard can be foun
here
(archived 5 March 2012).


Example of above code

This figure shows an example of applying the above code to compute the Haar wavelet coefficients on a sound waveform. This example highlights two key properties of the wavelet transform: *Natural signals often have some degree of smoothness, which makes them sparse in the wavelet domain. There are far fewer significant components in the wavelet domain in this example than there are in the time domain, and most of the significant components are towards the coarser coefficients on the left. Hence, natural signals are compressible in the wavelet domain. *The wavelet transform is a multiresolution, bandpass representation of a signal. This can be seen directly from the filterbank definition of the discrete wavelet transform given in this article. For a signal of length 2^N, the coefficients in the range ^, 2^/math> represent a version of the original signal which is in the pass-band \left \frac, \frac \right/math>. This is why zooming in on these ranges of the wavelet coefficients looks so similar in structure to the original signal. Ranges which are closer to the left (larger j in the above notation), are coarser representations of the signal, while ranges to the right represent finer details.


See also

* Discrete cosine transform (DCT) *
Wavelet 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 num ...
*
Wavelet transform In mathematics, a wavelet series is a representation of a square-integrable ( real- or complex-valued) function by a certain orthonormal series generated by a wavelet. This article provides a formal, mathematical definition of an orthonormal ...
* Wavelet compression *
List of wavelet-related transforms {{Short description, none A list of wavelet related transforms: * Continuous wavelet transform (CWT) * Discrete wavelet transform (DWT) * Multiresolution analysis (MRA) * Lifting scheme * Binomial QMF (BQMF) * Fast wavelet transform (FWT) * Compl ...


References


External links

* Stanford'
WaveLab
in matlab
libdwt
a cross-platform DWT library written in C
Concise Introduction to Wavelets
by René Puschinger {{DEFAULTSORT:Discrete Wavelet Transform Numerical analysis Digital signal processing Wavelets Articles with example Java code Discrete transforms de:Wavelet-Transformation#Diskrete Wavelet-Transformation fr:Ondelette#Transformée en ondelettes discrète