 #jsDisabledContent { display:none; } My Account | Register | Help Flag as Inappropriate This article will be permanently flagged as inappropriate and made unaccessible to everyone. Are you certain this article is inappropriate?          Excessive Violence          Sexual Content          Political / Social Email this Article Email Address:

# Wavelet compression

Article Id: WHEBN0000050911
Reproduction Date:

 Title: Wavelet compression Author: World Heritage Encyclopedia Language: English Subject: Collection: Publisher: World Heritage Encyclopedia Publication Date:

### Wavelet compression

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. Nowadays, wavelet transformation is one of the most popular candidates of the time-frequency-transformations. This article provides a formal, mathematical definition of an orthonormal wavelet and of the integral wavelet transform.

## Formal definition

A function $\psi\in L^2\left(\mathbb\left\{R\right\}\right)$ is called an orthonormal wavelet if it can be used to define a Hilbert basis, that is a complete orthonormal system, for the Hilbert space $L^2\left(\mathbb\left\{R\right\}\right)$ of square integrable functions.

The Hilbert basis is constructed as the family of functions $\\left\{\psi_\left\{jk\right\}: j, k \in \Z\\right\}$ by means of dyadic translations and dilations of $\psi\,$,

$\psi_\left\{jk\right\}\left(x\right) = 2^\frac\left\{j\right\}\left\{2\right\} \psi\left(2^jx - k\right)\,$

for integers $j, k \in \mathbb\left\{Z\right\}$.

This family is an orthonormal system if it is orthonormal under the standard inner product $\langle f, g\rangle = \int_\left\{-\infty\right\}^\infty f\left(x\right)\overline\left\{g\left(x\right)\right\}dx$ on $L^2\left(\mathbb\left\{R\right\}\right).$

$\langle\psi_\left\{jk\right\},\psi_\left\{lm\right\}\rangle = \delta_\left\{jl\right\}\delta_\left\{km\right\}$

where $\delta_\left\{jl\right\}\,$ is the Kronecker delta.

Completeness is satisfied if every function $h \in L^2\left(\mathbb\left\{R\right\}\right)$ may be expanded in the basis as

$h\left(x\right) = \sum_\left\{j, k=-\infty\right\}^\infty c_\left\{jk\right\} \psi_\left\{jk\right\}\left(x\right)$

with convergence of the series understood to be convergence in norm. Such a representation of a function f is known as a wavelet series. This implies that an orthonormal wavelet is self-dual.

## Wavelet transform

The integral wavelet transform is the integral transform defined as

$\left\left[W_\psi f\right\right]\left(a, b\right) = \frac\left\{1\right\}\left\{\sqrt\left\{|a|\right\}\right\} \int_\left\{-\infty\right\}^\infty \overline\left\{\psi\left\left(\frac\left\{x-b\right\}\left\{a\right\}\right\right)\right\}f\left(x\right)dx\,$

The wavelet coefficients $c_\left\{jk\right\}$ are then given by

$c_\left\{jk\right\} = \left\left[W_\psi f\right\right]\left\left(2^\left\{-j\right\}, k2^\left\{-j\right\}\right\right)$

Here, $a = 2^\left\{-j\right\}$ is called the binary dilation or dyadic dilation, and $b = k2^\left\{-j\right\}$ is the binary or dyadic position.

### Basic idea

The fundamental idea of wavelet transforms is that the transformation should allow only changes in time extension, but not shape. This is effected by choosing suitable basis functions that allow for this. Changes in the time extension are expected to be conform to the corresponding analysis frequency of the basis function. Based on the uncertainty principle of signal processing,

$\Delta t * \Delta \omega \geqq \frac\left\{1\right\}\left\{2\right\}$

where t represents time and ω angular velocity (ω = 2*Pi*frequency).

The higher the resolution in time is required, the lower resolution in frequency has to be. The larger the extension of the analysis windows is chosen, the larger is the value of $\Delta t$.

When Δt is large,

1. Bad time resolution
2. Good frequency resolution
3. Low frequency, large scaling factor

When Δt is small

1. Good time resolution
2. Bad frequency resolution
3. High frequency, small scaling factor

In other words, the basis function Ψ can be regarded as an impulse response of a system with which the function x(t) has been filtered. The transformed signal provides information about the time and the frequency. Therefore, wavelet-transformation contains information similar to the short-time-Fourier-transformation, but with additional special properties of the wavelets, which show up at the resolution in time at higher analysis frequencies of the basis function. The difference in time resolution at ascending frequencies for the Fourier transform and the wavelet transform is shown below.

This shows that wavelet transformation is good in time resolution of high frequencies, while for slowly varying functions, the frequency resolution is remarkable.

An other example: The analysis of three superposed sinusoidal signals $y\left(t\right) = \sin\left(2 \pi f_0 t\right) + \sin\left(4 \pi f_0 t\right) + \sin\left(8 \pi f_0 t\right)$ with STFT and wavelet-transformation.

## Wavelet compression

Wavelet compression is a form of data compression well suited for image compression (sometimes also video compression and audio compression). Notable implementations are JPEG 2000, DjVu and ECW for still images, REDCODE, CineForm, the BBC's Dirac, and Ogg Tarkin for video. The goal is to store image data in as little space as possible in a file. Wavelet compression can be either lossless or lossy.

Using a wavelet transform, the wavelet compression methods are adequate for representing transients, such as percussion sounds in audio, or high-frequency components in two-dimensional images, for example an image of stars on a night sky. This means that the transient elements of a data signal can be represented by a smaller amount of information than would be the case if some other transform, such as the more widespread discrete cosine transform, had been used.

Wavelet compression is not good for all kinds of data: transient signal characteristics mean good wavelet compression, while smooth, periodic signals are better compressed by other methods, particularly traditional harmonic compression (frequency domain, as by Fourier transforms and related).

See Diary Of An x264 Developer: The problems with wavelets (2010) for discussion of practical issues of current methods using wavelets for video compression.

### Method

First a wavelet transform is applied. This produces as many coefficients as there are pixels in the image (i.e., there is no compression yet since it is only a transform). These coefficients can then be compressed more easily because the information is statistically concentrated in just a few coefficients. This principle is called transform coding. After that, the coefficients are quantized and the quantized values are entropy encoded and/or run length encoded.

A few 1D and 2D applications of wavelet compression use a technique called "wavelet footprints".

## Comparison with wavelet transformation, Fourier transformation and time-frequency analysis

Transformation Representation Output
Fourier transform $f\left(\xi\right) = \int_\left\{-\infty\right\}^\left\{\infty\right\} f\left(x\right)e^\left\{-2 \pi ix \xi\right\}\, dx$ ξ, frequency
Time-frequency analysis $X\left(t, f\right)$ t, time; f, frequency
Wavelet transform $X\left(a,b\right) = \frac\left\{1\right\}\left\{\sqrt\left\{a\right\}\right\}\int_\left\{-\infty\right\}^\left\{\infty\right\}\overline\left\{\Psi\left\left(\frac\left\{t - b\right\}\left\{a\right\}\right\right)\right\} x\left(t\right)\, dt$ a, scaling; b, time

## Other practical applications

The wavelet transform can provide us with the frequency of the signals and the time associated to those frequencies, making it very convenient for its application in numerous fields. For instance, signal processing of accelerations for gait analysis, and for fault detection.

(1) Discretizing of the c-τ-axis

Applied the following discretization of frequency and time:

\begin\left\{align\right\}
    c_n &= c_0^n \\
\tau_m &= m \cdot T \cdot c_0^n


\end{align}

Leading to wavelets of the form, the discrete formula for the basis wavelet:

$\Psi\left(k, n, m\right) = \frac\left\{1\right\}\left\{\sqrt\left\{c_0^n\right\}\right\}\cdot\Psi\left\left[\frac\left\{k - m c_0^n\right\}\left\{c_0^n\right\}T\right\right] = \frac\left\{1\right\}\left\{\sqrt\left\{c_0^n\right\}\right\}\cdot\Psi\left\left[\left\left(\frac\left\{k\right\}\left\{c_0^n\right\} - m\right\right)T\right\right]$

Such discrete wavelets can be used for the transformation:

$Y_\left\{DW\right\}\left(n, m\right) = \frac\left\{1\right\}\left\{\sqrt\left\{c_0^n\right\}\right\}\cdot\sum_\left\{k=0\right\}^\left\{K - 1\right\} y\left(k\right)\cdot\Psi\left\left[\left\left(\frac\left\{k\right\}\left\{c_0^n\right\} - m\right\right)T\right\right]$

(2) Implementation via the FFT (fast Fourier transform)

As apparent from wavelet-transformation representation (shown below)

$Y_W\left(c, \tau\right) = \frac\left\{1\right\}\left\{\sqrt\left\{c\right\}\right\}\cdot\int_\left\{-\infty\right\}^\left\{\infty\right\} y\left(k\right) \cdot \Psi\left\left(\frac\left\{t - \tau\right\}\left\{c\right\}\right\right)\, dt$

where c is scaling factor, τ represents time shift factor

and as already mentioned in this context, the wavelet-transformation corresponds to a convolution of a function y(t) and a wavelet-function. A convolution can be implemented as a multiplication in the frequency domain. With this the following approach of implementation results into:

• Fourier-transformation of signal y(k) with the FFT
• Selection of a discrete scaling factor $c_n$
• Scaling of the wavelet-basis-function by this factor $c_n$ and subsequent FFT of this function
• Multiplication with the transformed signal YFFT of the first step
• Inverse transformation of the product into the time domain results in YW$\left(c, \tau\right)$ for different discrete values of τ and a discrete value of $c_n$
• Back to the second step, until all discrete scaling values for $c_n$are processed

There are large different types of wavelet transforms for specific purposes. See also a full list of wavelet-related transforms but the common ones are listed below: Mexican hat wavelet, Haar Wavelet, Daubechies wavelet, triangular wavelet.

## See also

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.