The Discrete Wavelet Transform (DWT) is a mathematical technique used in signal processing and image analysis to transform data into a form that is more suitable for analysis, compression, or feature extraction. Unlike traditional Fourier transforms, which decompose a signal into sinusoidal components, the DWT decomposes a signal into wavelet components, which are localized in both time (or space) and frequency.
Articles by others on the same topic
A discrete wavelet transform computes multiscale approximation and detail coefficients from sampled data. For the Haar wavelet, replace each adjacent pair byThe approximation coefficient is times the pair's arithmetic mean; it is not the ordinary mean. The detail coefficient records their signed contrast. Repeat on the approximation coefficients until only one remains, keeping every detail coefficient.
For a worked example, start with the vector . The first pass gives approximation coefficients and detail coefficients . Transforming the remaining pair gives the coarse coefficient and the half-to-half detail . In the order coarse value, coarse detail, then fine details, the transform isThis is an orthogonal matrix transformation. Each pair preserves , so the full transform preserves the squared Euclidean norm:The inverse function for each pair is , . Reversing the passes therefore recovers every original value. This squared-norm bookkeeping is often called signal energy; it need not represent physical energy. [ref]
https://www.mathworks.com/help/wavelet/ug/haar-transforms-for-time-series-data-and-images.html. MathWorks: Haar transforms, approximation/detail coefficients and squared-norm conservation
Continuous and discrete normalizations differ. If data values are interpreted as the heights of a step function on equal cells of , its normalized L2 inner product coefficients are the discrete coefficients divided by . For our four values they are , as the Haar projection example shows. The same normalization is used by the wavelet regression estimator on .
Under independent Gaussian noise with a common variance, orthogonality preserves that coefficient noise variance and independence. It does not make every arbitrary correlated signal independent: this statistical conclusion uses the Gaussian model and its equal-variance independent inputs.