Wavelet transform explained

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 and of the integral wavelet transform.[1] [2] [3] [4] [5]

Definition

A function

\psi\inL2(R)

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

L2\left(R\right)

of square integrable functions.

The Hilbert basis is constructed as the family of functions

\{\psijk:j,k\in\Z\}

by means of dyadic translations and dilations of

\psi

,

\psijk(x)=

j
2
2

\psi\left(2jx-k\right)

for integers

j,k\inZ

.

If under the standard inner product on

L2\left(R\right)

,

\langlef,g\rangle=

infty
\int
-infty

f(x)\overline{g(x)}dx

this family is orthonormal, it is an orthonormal system:

\begin{align} \langle\psijk,\psilm\rangle&=

infty
\int
-infty

\psijk(x)\overline{\psilm(x)}dx\\ &=\deltajl\deltakm\end{align}

where

\deltajl

is the Kronecker delta.

Completeness is satisfied if every function

f\inL2\left(R\right)

may be expanded in the basis as

f(x)=

infty
\sum
j,k=-infty

cjk\psijk(x)

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

The integral wavelet transform is the integral transform defined as

\left[W\psif\right](a,b)=

1
\sqrt{|a|
} \int_^\infty \overlinef(x)dx\,

The wavelet coefficients

cjk

are then given by

cjk=\left[W\psif\right]\left(2-j,k2-j\right)

Here,

a=2-j

is called the binary dilation or dyadic dilation, and

b=k2-j

is the binary or dyadic position.

Principle

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

\Deltat\Delta\omega\geq

1
2

where

t

represents time and

\omega

angular frequency (

\omega=2\pif

, where

f

is ordinary frequency).

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

\Deltat

.

When

\Deltat

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

When

\Deltat

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

In other words, the basis function

\psi

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. Note however, that the frequency resolution is decreasing for increasing frequencies while the temporal resolution increases. This consequence of the Fourier uncertainty principle is not correctly displayed in the Figure.

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

Another example: The analysis of three superposed sinusoidal signals

y(t) = \sin(2\pif0t) + \sin(4\pif0t) + \sin(8\pif0t)

with STFT and wavelet-transformation.

Wavelet compression

See also: Discrete wavelet transform. 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, JPEG XS, CineForm, and the BBC's Dirac. The goal is to store image data in as little space as possible in a file. Wavelet compression can be either lossless or lossy.[6]

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.

Discrete wavelet transform has been successfully applied for the compression of electrocardiograph (ECG) signals[7] In this work, the high correlation between the corresponding wavelet coefficients of signals of successive cardiac cycles is utilized employing linear prediction. Wavelet compression is not effective for all kinds of data. Wavelet compression handles transient signals well. But smooth, periodic signals are better compressed using other methods, particularly traditional harmonic analysis in the frequency domain with Fourier-related transforms. Compressing data that has both transient and periodic characteristics may be done with hybrid techniques that use wavelets along with traditional harmonic analysis. For example, the Vorbis audio codec primarily uses the modified discrete cosine transform to compress audio (which is generally smooth and periodic), however allows the addition of a hybrid wavelet filter bank for improved reproduction of transients.[8]

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".[9] [10]

Evaluation

Requirement for image compression

For most natural images, the spectrum density of lower frequency is higher.[11] As a result, information of the low frequency signal (reference signal) is generally preserved, while the information in the detail signal is discarded. From the perspective of image compression and reconstruction, a wavelet should meet the following criteria while performing image compression:

Requirement for shift variance and ringing behavior

Wavelet image compression system involves filters and decimation, so it can be described as a linear shift-variant system. A typical wavelet transformation diagram is displayed below:

The transformation system contains two analysis filters (a low pass filter

h0(n)

and a high pass filter

h1(n)

), a decimation process, an interpolation process, and two synthesis filters (

g0(n)

and

g1(n)

). The compression and reconstruction system generally involves low frequency components, which is the analysis filters

h0(n)

for image compression and the synthesis filters

g0(n)

for reconstruction. To evaluate such system, we can input an impulse

\delta(n-ni)

and observe its reconstruction

h(n-ni)

; The optimal wavelet are those who bring minimum shift variance and sidelobe to

h(n-ni)

. Even though wavelet with strict shift variance is not realistic, it is possible to select wavelet with only slight shift variance. For example, we can compare the shift variance of two filters:[12]
Biorthogonal filters for wavelet image compression!!!Length!Filter coefficients!Regularity
Wavelet filter 1H09.852699, .377402, -.110624, -.023849, .0378281.068
G07.788486, .418092, -.040689, -.0645391.701
Wavelet filter 2H06.788486, .047699, -.1290780.701
G010.615051, .133389, -.067237, .006989, .0189142.068
By observing the impulse responses of the two filters, we can conclude that the second filter is less sensitive to the input location (i.e. it is less shift variant).

Another important issue for image compression and reconstruction is the system's oscillatory behavior, which might lead to severe undesired artifacts in the reconstructed image. To achieve this, the wavelet filters should have a large peak to sidelobe ratio.

So far we have discussed about one-dimension transformation of the image compression system. This issue can be extended to two dimension, while a more general term - shiftable multiscale transforms - is proposed.[13]

Derivation of impulse response

As mentioned earlier, impulse response can be used to evaluate the image compression/reconstruction system.

For the input sequence

x(n)=\delta(n-ni)

, the reference signal

r1(n)

after one level of decomposition is

x(n)*h0(n)

goes through decimation by a factor of two, while

h0(n)

is a low pass filter. Similarly, the next reference signal

r2(n)

is obtained by

r1(n)*h0(n)

goes through decimation by a factor of two. After L levels of decomposition (and decimation), the analysis response is obtained by retaining one out of every

2L

samples:
(L)
h
A

(n,ni)=f

(L)
h0
L)
(n-n
i/2
.

On the other hand, to reconstruct the signal x(n), we can consider a reference signal

rL(n)=\delta(n-nj)

. If the detail signals

di(n)

are equal to zero for

1\leqi\leqL

, then the reference signal at the previous stage (

L-1

stage) is

rL-1(n)=g0(n-2nj)

, which is obtained by interpolating

rL(n)

and convoluting with

g0(n)

. Similarly, the procedure is iterated to obtain the reference signal

r(n)

at stage

L-2,L-3,....,1

. After L iterations, the synthesis impulse response is calculated:
(L)
h
s

(n,ni)=f

(L)
g0
L-n
(n/2
j)
, which relates the reference signal

rL(n)

and the reconstructed signal.

To obtain the overall L level analysis/synthesis system, the analysis and synthesis responses are combined as below:

(L)
h
AS

(n,ni)=\sumk

(L)
f
h0
(L)
(k-n
g0

(n/2L-k)

.

Finally, the peak to first sidelobe ratio and the average second sidelobe of the overall impulse response

(L)
h
AS

(n,ni)

can be used to evaluate the wavelet image compression performance.

Comparison with Fourier transform and time-frequency analysis

Transform Representation Input

\hatX(f)=

infty
\int
-infty

x(t)e-i2dt

f

: frequency

X(t,f)

t

time;

f

frequency
Wavelet transform

X(a,b)=

1
\sqrt{a
}\int_^\overline x(t)\, dt

a

scaling ;

b

time shift factor
Wavelets have some slight benefits over Fourier transforms in reducing computations when examining specific frequencies. However, they are rarely more sensitive, and indeed, the common Morlet wavelet is mathematically identical to a short-time Fourier transform using a Gaussian window function.[14] The exception is when searching for signals of a known, non-sinusoidal shape (e.g., heartbeats); in that case, using matched wavelets can outperform standard STFT/Morlet analyses.[15]

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,[16] for fault detection,[17] for the analysis of seasonal displacements of landslides,[18] for design of low power pacemakers and also in ultra-wideband (UWB) wireless communications.[19] [20] [21]

Time-causal wavelets

For processing temporal signals in real time, it is essential that the wavelet filters do not access signal values from the future as well as that minimal temporal latencies can be obtained. Time-causal wavelets representations have been developed by Szu et al[22] and Lindeberg,[23] with the latter method also involving a memory-efficient time-recursive implementation.

Synchro-squeezed transform

Synchro-squeezed transform can significantly enhance temporal and frequency resolution of time-frequency representation obtained using conventional wavelet transform.[24] [25]

See also

Further reading

External links

Notes and References

  1. Meyer, Yves (1992), Wavelets and Operators, Cambridge, UK: Cambridge University Press,
  2. Chui, Charles K. (1992), An Introduction to Wavelets, San Diego, CA: Academic Press,
  3. Daubechies, Ingrid. (1992), Ten Lectures on Wavelets, SIAM,
  4. Akansu, Ali N.; Haddad, Richard A. (1992), Multiresolution Signal Decomposition: Transforms, Subbands, and Wavelets, Boston, MA: Academic Press,
  5. Ghaderpour. E.. Pagiatakis. S. D.. Hassan. Q. K.. 2021. A Survey on Change Detection and Time Series Analysis with Applications. Applied Sciences. en. 11. 13. 6141. 10.3390/app11136141. free. 11573/1655273. free.
  6. [JPEG 2000]
  7. 10.1109/10.649997. ECG coding by wavelet-based linear prediction. 1997. Ramakrishnan. A.G.. Saha. S.. IEEE Transactions on Biomedical Engineering. 44. 12. 1253–1261. 9401225. 8834327.
  8. Web site: 2020-07-04 . Vorbis I specification . live . https://web.archive.org/web/20220403071601/http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-50001.1.2 . 2022-04-03 . 2022-04-10 . . Vorbis I is a forward-adaptive monolithic transform CODEC based on the Modified Discrete Cosine Transform. The codec is structured to allow addition of a hybrid wavelet filterbank in Vorbis II to offer better transient response and reproduction using a transform better suited to localized time events..
  9. N. Malmurugan, A. Shanmugam, S. Jayaraman and V. V. Dinesh Chander. "A New and Novel Image Compression Algorithm Using Wavelet Footprints"
  10. Ho Tatt Wei and Jeoti, V. "A wavelet footprints-based compression scheme for ECG signals". Book: 10.1109/TENCON.2004.1414412. 2004. Ho Tatt Wei. A. Jeoti . V.. 283 . A wavelet footprints-based compression scheme for ECG signals. 2004 IEEE Region 10 Conference TENCON 2004. 0-7803-8560-8. 43806122.
  11. J. Field. David. Relations between the statistics of natural images and the response properties of cortical cells. J. Opt. Soc. Am. A . 4 . 2379–2394 . 1987. 12. 10.1364/JOSAA.4.002379. 3430225. 1987JOSAA...4.2379F.
  12. Villasenor. John D.. Wavelet Filter Evaluation for Image Compression. IEEE Transactions on Image Processing . 4 . 8 . August 1995. 1053–60. 10.1109/83.403412. 18291999. 1995ITIP....4.1053V.
  13. 10.1109/18.119725. Shiftable multiscale transforms. 1992. Simoncelli. E.P.. Freeman. W.T.. Adelson. E.H.. Heeger. D.J.. IEEE Transactions on Information Theory. 38. 2. 587–607. 43701174 .
  14. Bruns. Andreas. Fourier-, Hilbert- and wavelet-based signal analysis: are they really different approaches?. Journal of Neuroscience Methods. 2004. 137. 2. 321–332. 10.1016/j.jneumeth.2004.03.002. 15262077. 21880274.
  15. Book: Krantz. Steven G.. A Panorama of Harmonic Analysis. 1999. Mathematical Association of America. 0-88385-031-1.
  16. Book: 10.1109/BIOWIRELESS.2011.5724356. Novel method for stride length estimation with body area network accelerometers. 2011 IEEE Topical Conference on Biomedical Wireless Technologies, Networks, and Sensing Systems. 79–82. 2011. Martin. E.. 978-1-4244-8316-7. 37689047.
  17. Shannon wavelet spectrum analysis on truncated vibration signals for machine incipient fault detection. Measurement Science and Technology. 2012 . Liu . 23 . 5 . 1–11 . Jie . 10.1088/0957-0233/23/5/055604. 2012MeScT..23e5604L. 121684952.
  18. Tomás . R. . Li . Z. . Lopez-Sanchez . J. M. . Liu . P. . Singleton . A. . 2016-06-01 . Using wavelet tools to analyse seasonal variations from InSAR time-series data: a case study of the Huangtupo landslide . Landslides . en . 13 . 3 . 437–450 . 10.1007/s10346-015-0589-y . 2016Lands..13..437T . 1612-5118.
  19. 10.1016/j.phycom.2009.07.001. Emerging applications of wavelets: A review. Physical Communication. 3. 1–18. 2010. Akansu . A. N. . Serdijn . W. A. . Selesnick . I. W. .
  20. Book: Sheybani. E.. Javidi. G.. 2009 Second International Conference on Computer and Electrical Engineering . Dimensionality Reduction and Noise Removal in Wireless Sensor Network Datasets . December 2009. 2. 674–677. 10.1109/ICCEE.2009.282. 978-1-4244-5365-8. 17066179.
  21. Book: Sheybani. E. O.. Javidi. G.. 2012 International Conference on Systems and Informatics (ICSAI2012) . Multi-resolution filter banks for enhanced SAR imaging . May 2012. 2702–2706. 10.1109/ICSAI.2012.6223611. 978-1-4673-0199-2. 16302915.
  22. 10.1117/12.59911 . Causal analytical wavelet transform . 1992 . Szu . Harold H. . Telfer . Brian A. . Lohmann . Adolf W. . Optical Engineering . 31 . 9 . 1825 . 1992OptEn..31.1825S .
  23. Lindeberg . T. . A time-causal and time-recursive scale-covariant scale-space representation of temporal signals and past time . Biological Cybernetics . 23 January 2023 . 117 . 1–2 . 21–59 . 10.1007/s00422-022-00953-6. 36689001 . 10160219 . free .
  24. Daubechies. Ingrid. Lu. Jianfeng. Wu. Hau-Tieng. Synchrosqueezed Wavelet Transforms: a Tool for Empirical Mode Decomposition. 2009-12-12. math.NA. 0912.2437.
  25. 10.1016/j.ymssp.2018.05.020. 114. 366–377. Qu. Hongya. Li. Tiantian. Chen. Genda. Synchro-squeezed adaptive wavelet transform with optimum parameters for arbitrary time series. Mechanical Systems and Signal Processing. 2019-01-01. 2019MSSP..114..366Q. 126007150. free.