# OpenStax_CNX

You are here: Home » Content » Introduction to Wavelets

### Recently Viewed

This feature requires Javascript to be enabled.

# Introduction to Wavelets

Module by: C. Sidney Burrus. E-mail the author

This chapter will provide an overview of the topics to be developed in the book. Its purpose is to present the ideas, goals, and outline of properties for an understanding of and ability to use wavelets and wavelet transforms. The details and more careful definitions are given later in the book.

A wave is usually defined as an oscillating function of time or space, such as a sinusoid. Fourier analysis is wave analysis. It expands signals or functions in terms of sinusoids (or, equivalently, complex exponentials) which has proven to be extremely valuable in mathematics, science, and engineering, especially for periodic, time-invariant, or stationary phenomena. A wavelet is a “small wave", which has its energy concentrated in time to give a tool for the analysis of transient, nonstationary, or time-varying phenomena. It still has the oscillating wave-like characteristic but also has the ability to allow simultaneous time and frequency analysis with a flexible mathematical foundation. This is illustrated in Figure 1 with the wave (sinusoid) oscillating with equal amplitude over -t-t and, therefore, having infinite energy and with the wavelet having its finite energy concentrated around a point.

We will take wavelets and use them in a series expansion of signals or functions much the same way a Fourier series uses the wave or sinusoid to represent a signal or function. The signals are functions of a continuous variable, which often represents time or distance. From this series expansion, we will develop a discrete-time version similar to the discrete Fourier transform where the signal is represented by a string of numbers where the numbers may be samples of a signal, samples of another string of numbers, or inner products of a signal with some expansion set. Finally, we will briefly describe the continuous wavelet transform where both the signal and the transform are functions of continuous variables. This is analogous to the Fourier transform.

## Wavelets and Wavelet Expansion Systems

Before delving into the details of wavelets and their properties, we need to get some idea of their general characteristics and what we are going to do with them [11].

### What is a Wavelet Expansion or a Wavelet Transform?

A signal or function f(t)f(t) can often be better analyzed, described, or processed if expressed as a linear decomposition by

f ( t ) = a ψ ( t ) f ( t ) = a ψ ( t )
(1)

where is an integer index for the finite or infinite sum, aa are the real-valued expansion coefficients, and ψ(t)ψ(t) are a set of real-valued functions of tt called the expansion set. If the expansion Equation 1 is unique, the set is called a basis for the class of functions that can be so expressed. If the basis is orthogonal, meaning

ψ k ( t ) , ψ ( t ) = ψ k ( t ) ψ ( t ) d t = 0 k , ψ k ( t ) , ψ ( t ) = ψ k ( t ) ψ ( t ) d t = 0 k ,
(2)

then the coefficients can be calculated by the inner product

a k = f ( t ) , ψ k ( t ) = f ( t ) ψ k ( t ) d t . a k = f ( t ) , ψ k ( t ) = f ( t ) ψ k ( t ) d t .
(3)

One can see that substituting Equation 1 into Equation 3 and using Equation 2 gives the single akak coefficient. If the basis set is not orthogonal, then a dual basis set ψ˜k(t)ψ˜k(t) exists such that using Equation 3 with the dual basis gives the desired coefficients. This will be developed in Chapter: A multiresolution formulation of Wavelet Systems.

For a Fourier series, the orthogonal basis functions ψk(t)ψk(t) are sin(kω0t)sin(kω0t) and cos(kω0t)cos(kω0t) with frequencies of kω0kω0. For a Taylor's series, the nonorthogonal basis functions are simple monomials tktk, and for many other expansions they are various polynomials. There are expansions that use splines and even fractals.

For the wavelet expansion, a two-parameter system is constructed such that Equation 1 becomes

f ( t ) = k j a j , k ψ j , k ( t ) f ( t ) = k j a j , k ψ j , k ( t )
(4)

where both jj and kk are integer indices and the ψj,k(t)ψj,k(t) are the wavelet expansion functions that usually form an orthogonal basis.

The set of expansion coefficients aj,kaj,k are called the discrete wavelet transform (DWT) of f(t)f(t) and Equation 4 is the inverse transform.

### What is a Wavelet System?

The wavelet expansion set is not unique. There are many different wavelets systems that can be used effectively, but all seem to have the following three general characteristics [11].

1. A wavelet system is a set of building blocks to construct or represent a signal or function. It is a two-dimensional expansion set (usually a basis) for some class of one- (or higher) dimensional signals. In other words, if the wavelet set is given by ψj,k(t)ψj,k(t) for indices of j,k=1,2,j,k=1,2,, a linear expansion would be f(t)=kjaj,kψj,k(t)f(t)=kjaj,kψj,k(t) for some set of coefficients aj,kaj,k.
2. The wavelet expansion gives a time-frequency localization of the signal. This means most of the energy of the signal is well represented by a few expansion coefficients, aj,kaj,k.
3. The calculation of the coefficients from the signal can be done efficiently. It turns out that many wavelet transforms (the set of expansion coefficients) can calculated with O(N)O(N) operations. This means the number of floating-point multiplications and additions increase linearly with the length of the signal. More general wavelet transforms require O(Nlog(N))O(Nlog(N)) operations, the same as for the fast Fourier transform (FFT) [1].

Virtually all wavelet systems have these very general characteristics. Where the Fourier series maps a one-dimensional function of a continuous variable into a one-dimensional sequence of coefficients, the wavelet expansion maps it into a two-dimensional array of coefficients. We will see that it is this two-dimensional representation that allows localizing the signal in both time and frequency. A Fourier series expansion localizes in frequency in that if a Fourier series expansion of a signal has only one large coefficient, then the signal is essentially a single sinusoid at the frequency determined by the index of the coefficient. The simple time-domain representation of the signal itself gives the localization in time. If the signal is a simple pulse, the location of that pulse is the localization in time. A wavelet representation will give the location in both time and frequency simultaneously. Indeed, a wavelet representation is much like a musical score where the location of the notes tells when the tones occur and what their frequencies are.

### More Specific Characteristics of Wavelet Systems

There are three additional characteristics [11], [4] that are more specific to wavelet expansions.

1. All so-called first-generation wavelet systems are generated from a single scaling function or wavelet by simple scaling and translation. The two-dimensional parameterization is achieved from the function (sometimes called the generating wavelet or mother wavelet) ψ(t)ψ(t) by
ψj,k(t)=2j/2ψ(2jt-k)j,kZψj,k(t)=2j/2ψ(2jt-k)j,kZ
(5)
where ZZ is the set of all integers and the factor 2j/22j/2 maintains a constant norm independent of scale jj. This parameterization of the time or space location by kk and the frequency or scale (actually the logarithm of scale) by jj turns out to be extraordinarily effective.
2. Almost all useful wavelet systems also satisfy the multiresolution conditions. This means that if a set of signals can be represented by a weighted sum of ϕ(t-k)ϕ(t-k), then a larger set (including the original) can be represented by a weighted sum of ϕ(2t-k)ϕ(2t-k). In other words, if the basic expansion signals are made half as wide and translated in steps half as wide, they will represent a larger class of signals exactly or give a better approximation of any signal.
3. The lower resolution coefficients can be calculated from the higher resolution coefficients by a tree-structured algorithm called a filter bank. This allows a very efficient calculation of the expansion coefficients (also known as the discrete wavelet transform) and relates wavelet transforms to an older area in digital signal processing.

The operations of translation and scaling seem to be basic to many practical signals and signal-generating processes, and their use is one of the reasons that wavelets are efficient expansion functions. Figure 3 is a pictorial representation of the translation and scaling of a single mother wavelet described in Equation 5. As the index kk changes, the location of the wavelet moves along the horizontal axis. This allows the expansion to explicitly represent the location of events in time or space. As the index jj changes, the shape of the wavelet changes in scale. This allows a representation of detail or resolution. Note that as the scale becomes finer (jj larger), the steps in time become smaller. It is both the narrower wavelet and the smaller steps that allow representation of greater detail or higher resolution. For clarity, only every fourth term in the translation (k=1,5,9,13,k=1,5,9,13,) is shown, otherwise, the figure is a clutter. What is not illustrated here but is important is that the shape of the basic mother wavelet can also be changed. That is done during the design of the wavelet system and allows one set to well-represent a class of signals.

For the Fourier series and transform and for most signal expansion systems, the expansion functions (bases) are chosen, then the properties of the resulting transform are derived and

analyzed. For the wavelet system, these properties or characteristics are mathematically required, then the resulting basis functions are derived. Because these constraints do not use all the degrees of freedom, other properties can be required to customize the wavelet system for a particular application. Once you decide on a Fourier series, the sinusoidal basis functions are completely set. That is not true for the wavelet. There are an infinity of very different wavelets that all satisfy the above properties. Indeed, the understanding and design of the wavelets is an important topic of this book.

Wavelet analysis is well-suited to transient signals. Fourier analysis is appropriate for periodic signals or for signals whose statistical characteristics do not change with time. It is the localizing property of wavelets that allow a wavelet expansion of a transient event to be modeled with a small number of coefficients. This turns out to be very useful in applications.

### Haar Scaling Functions and Wavelets

The multiresolution formulation needs two closely related basic functions. In addition to the wavelet ψ(t)ψ(t) that has been discussed (but not actually defined yet), we will need another basic function called the scaling functionϕ(t)ϕ(t). The reasons for needing this function and the details of the relations will be developed in the next chapter, but here we will simply use it in the wavelet expansion.

The simplest possible orthogonal wavelet system is generated from the Haar scaling function and wavelet. These are shown in Figure 4. Using a combination of these scaling functions and wavelets allows a large class of signals to be represented by

f ( t ) = k = - c k φ ( t - k ) + k = - j = 0 d j , k ψ ( 2 j t - k ) . f ( t ) = k = - c k φ ( t - k ) + k = - j = 0 d j , k ψ ( 2 j t - k ) .
(6)

Haar [7] showed this result in 1910, and we now know that wavelets are a generalization of his work. An example of a Haar system and expansion is given at the end of Chapter: A multiresolution formulation of Wavelet Systems.

### What do Wavelets Look Like?

All Fourier basis functions look alike. A high-frequency sine wave looks like a compressed low-frequency sine wave. A cosine wave is a sine wave translated by 90o or π/2π/2 radians. It takes a

large number of Fourier components to represent a discontinuity or a sharp corner. In contrast, there are many different wavelets and some have sharp corners themselves.

To appreciate the special character of wavelets you should recognize that it was not until the late 1980's that some of the most useful basic wavelets were ever seen. Figure 5 illustrates four different scaling functions, each being zero outside of 0<t<60<t<6 and each generating an orthogonal wavelet basis for all square integrable functions. This figure is also shown on the cover to this book.

Several more scaling functions and their associated wavelets are illustrated in later chapters, and the Haar wavelet is shown in Figure 4 and in detail at the end of Chapter: A multiresolution formulation of Wavelet Systems.

### Why is Wavelet Analysis Effective?

Wavelet expansions and wavelet transforms have proven to be very efficient and effective in analyzing a very wide class of signals and phenomena. Why is this true? What are the properties that give this effectiveness?

1. The size of the wavelet expansion coefficients aj,kaj,k in Equation 4 or dj,kdj,k in Equation 6 drop off rapidly with jj and kk for a large class of signals. This property is called being an unconditional basis and it is why wavelets are so effective in signal and image compression, denoising, and detection. Donoho [6], [5] showed that wavelets are near optimal for a wide class of signals for compression, denoising, and detection.
2. The wavelet expansion allows a more accurate local description and separation of signal characteristics. A Fourier coefficient represents a component that lasts for all time and, therefore, temporary events must be described by a phase characteristic that allows cancellation or reinforcement over large time periods. A wavelet expansion coefficient represents a component that is itself local and is easier to interpret. The wavelet expansion may allow a separation of components of a signal that overlap in both time and frequency.
3. Wavelets are adjustable and adaptable. Because there is not just one wavelet, they can be designed to fit individual applications. They are ideal for adaptive systems that adjust themselves to suit the signal.
4. The generation of wavelets and the calculation of the discrete wavelet transform is well matched to the digital computer. We will later see that the defining equation for a wavelet uses no calculus. There are no derivatives or integrals, just multiplications and additions—operations that are basic to a digital computer.

While some of these details may not be clear at this point, they should point to the issues that are important to both theory and application and give reasons for the detailed development that follows in this and other books.

## The Discrete Wavelet Transform

This two-variable set of basis functions is used in a way similar to the short-time Fourier transform, the Gabor transform, or the Wigner distribution for time-frequency analysis [2], [3], [8]. Our goal is to generate a set of expansion functions such that any signal in L2(R)L2(R) (the space of square integrable functions) can be represented by the series

f ( t ) = j , k a j , k 2 j / 2 ψ ( 2 j t - k ) f ( t ) = j , k a j , k 2 j / 2 ψ ( 2 j t - k )
(7)

or, using Equation 5, as

f ( t ) = j , k a j , k ψ j , k ( t ) f ( t ) = j , k a j , k ψ j , k ( t )
(8)

where the two-dimensional set of coefficients aj,kaj,k is called the discrete wavelet transform (DWT) of f(t)f(t). A more specific form indicating how the aj,kaj,k's are calculated can be written using inner products as

f ( t ) = j , k ψ j , k ( t ) , f ( t ) ψ j , k ( t ) f ( t ) = j , k ψ j , k ( t ) , f ( t ) ψ j , k ( t )
(9)

if the ψj,k(t)ψj,k(t) form an orthonormal basis1 for the space of signals of interest [4]. The inner product is usually defined as

x ( t ) , y ( t ) = x * ( t ) y ( t ) d t . x ( t ) , y ( t ) = x * ( t ) y ( t ) d t .
(10)

The goal of most expansions of a function or signal is to have the coefficients of the expansion aj,kaj,k give more useful information about the signal than is directly obvious from the signal itself. A second goal is to have most of the coefficients be zero or very small. This is what is called a sparse representation and is extremely important in applications for statistical estimation and detection, data compression, nonlinear noise reduction, and fast algorithms.

Although this expansion is called the discrete wavelet transform (DWT), it probably should be called a wavelet series since it is a series expansion which maps a function of a continuous variable into a sequence of coefficients much the same way the Fourier series does. However, that is not the convention.

This wavelet series expansion is in terms of two indices, the time translation kk and the scaling index jj. For the Fourier series, there are only two possible values of kk, zero and π/2π/2, which give the sine terms and the cosine terms. The values jj give the frequency harmonics. In other words, the Fourier series is also a two-dimensional expansion, but that is not seen in the exponential form and generally not noticed in the trigonometric form.

The DWT of a signal is somewhat difficult to illustrate because it is a function of two variables or indices, but we will show the DWT of a simple pulse in Figure 6 to illustrate the localization of the transform. Other displays will be developed in the next chapter.

## The Discrete-Time and Continuous Wavelet Transforms

If the signal is itself a sequence of numbers, perhaps samples of some function of a continuous variable or perhaps a set of inner products, the expansion of that signal is called a discrete-time wavelet transform (DTWT). It maps a sequence of numbers into a sequence of numbers much the same way the discrete Fourier transform (DFT) does. It does not, however, require the signal to be finite in duration or periodic as the DFT does. To be consistent with Fourier terminology, it probably should be called the discrete-time wavelet series, but this is not the convention. If the discrete-time signal is finite in length, the transform can be represented by a finite matrix. This formulation of a series expansion of a discrete-time signal is what filter bank methods accomplish [12], [13] and is developed in Chapter: Filter Banks and Transmultiplexers of this book.

If the signal is a function of a continuous variable and a transform that is a function of two continuous variables is desired, the continuous wavelet transform (CWT) can be defined by

F ( a , b ) = f ( t ) w ( t - a b ) d t F ( a , b ) = f ( t ) w ( t - a b ) d t
(11)

with an inverse transform of

f ( t ) = F ( a , b ) w ( t - a b ) d a d b f ( t ) = F ( a , b ) w ( t - a b ) d a d b
(12)

where w(t)w(t) is the basic wavelet and a,bRa,bR are real continuous variables. Admissibility conditions for the wavelet w(t)w(t) to support this invertible transform is discussed by Daubechies [4], Heil and Walnut [9], and others and is briefly developed in Section: Discrete Multiresolution Analysis, the Discrete-Time Wavelet of this book. It is analogous to the Fourier transform or Fourier integral.

## Exercises and Experiments

As the ideas about wavelets and wavelet transforms are developed in this book, it will be very helpful to experiment using the Matlab programs in the appendix of this book or in the Matlab Toolbox [10]. An effort has been made to use the same notation in the programs in Appendix C as is used in the formulas in the book so that going over the programs can help in understanding the theory and vice versa.

## This Chapter

This chapter has tried to set the stage for a careful introduction to both the theory and use of wavelets and wavelet transforms. We have presented the most basic characteristics of wavelets and tried to give a feeling of how and why they work in order to motivate and give direction and structure to the following material.

The next chapter will present the idea of multiresolution, out of which will develop the scaling function as well as the wavelet. This is followed by a discussion of how to calculate the wavelet expansion coefficients using filter banks from digital signal processing. Next, a more detailed development of the theory and properties of scaling functions, wavelets, and wavelet transforms is given followed by a chapter on the design of wavelet systems. Chapter: Filter Banks and Transmultiplexers gives a detailed development of wavelet theory in terms of filter banks.

The earlier part of the book carefully develops the basic wavelet system and the later part develops several important generalizations, but in a less detailed form.

## Footnotes

1. Bases and tight frames are defined in Chapter: Bases, Orthogonal Bases, Biorthogonal Bases, Frames, Right Frames, and unconditional Bases.

## References

1. Burrus, C. S. and Parks, T. W. (1985). DFT/FFT and Convolution Algorithms. New York: John Wiley & Sons.
2. Cohen, L. (1989). Time-frequency Distributions - A Review. Proceedings of the IEEE, 77(7), 941–981.
3. Cohen, Leon. (1995). Time-Frequency Analysis. Upper Saddle River, NJ: Prentice Hall.
4. Daubechies, Ingrid. (1992). Ten Lectures on Wavelets. [Notes from the 1990 CBMS-NSF Conference on Wavelets and Applications at Lowell, MA]. Philadelphia, PA: SIAM.
5. Donoho, David L. and Johnstone, Iain M. and Kerkyacharian, Gerard and Picard, Dominique. (1995). Wavelet Shrinkage: Asymptopia? [Also Stanford Statistics Dept. Report TR-419, March 1993]. Journal Royal Statistical Society B., 57(2), 301–337.
6. Donoho, David L. (1993, December). Unconditional Bases are Optimal Bases for Data Compression and for Statistical Estimation. [Also Stanford Statistics Dept. Report TR-410, Nov. 1992]. Applied and Computational Harmonic Analysis, 1(1), 100–115.
7. Haar, Alfred. (1910). Zur Theorie der orthogonalen Funktionensysteme. [Also in PhD thesis]. Mathematische Annalen, 69, 331–371.
8. Hlawatsch, F. and Boudreaux-Bartels, G. F. (1992, April). Linear and Quadratic Time-Frequency Signal Representations. IEEE Signal Processing Magazine, 9(2), 21–67.
9. Heil, C. E. and Walnut, D. F. (1989, December). Continuous and Discrete Wavelet Transforms. SIAM Review, 31(4), 628–666.
10. Misiti, Michel and Misiti, Yves and Oppenheim, Georges and Poggi, Jean-Michel. (1996). Wavelet Toolbox User's Guide. Natick, MA: The MathWorks, Inc.
11. Sweldens, Wim. (1996, April). Wavelets: What Next? Proceedings of the IEEE, 84(4), 680–685.
12. Vaidyanathan, P. P. (1992). Multirate Systems and Filter Banks. Englewood Cliffs, NJ: Prentice-Hall.
13. Vetterli, Martin and Kovačević, Jelena. (1995). Wavelets and Subband Coding. Upper Saddle River, NJ: Prentice–Hall.

## Content actions

### Give feedback:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

### Reuse / Edit:

Reuse or edit module (?)

#### Check out and edit

If you have permission to edit this content, using the "Reuse / Edit" action will allow you to check the content out into your Personal Workspace or a shared Workgroup and then make your edits.

#### Derive a copy

If you don't have permission to edit the content, you can still use "Reuse / Edit" to adapt the content by creating a derived copy of it and then editing and publishing the copy.