Wavelets on Z N. Milos Savic

Similar documents
Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Let p 2 ( t), (2 t k), we have the scaling relation,

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Vectors in Function Spaces

We have to prove now that (3.38) defines an orthonormal wavelet. It belongs to W 0 by Lemma and (3.55) with j = 1. We can write any f W 1 as

Topics in Representation Theory: Fourier Analysis and the Peter Weyl Theorem

From Fourier to Wavelets in 60 Slides

Development and Applications of Wavelets in Signal Processing

Lecture 6: Lies, Inner Product Spaces, and Symmetric Matrices

4.3 The Discrete Fourier Transform (DFT) and the Fast Fourier Transform (FFT)

Problem with Fourier. Wavelets: a preview. Fourier Gabor Wavelet. Gabor s proposal. in the transform domain. Sinusoid with a small discontinuity

Wavelets: a preview. February 6, 2003 Acknowledgements: Material compiled from the MATLAB Wavelet Toolbox UG.

FOURIER SERIES, HAAR WAVELETS AND FAST FOURIER TRANSFORM

Transform methods. and its inverse can be used to analyze certain time-dependent PDEs. f(x) sin(sxπ/(n + 1))

A First Course in Wavelets with Fourier Analysis

Module 4 MULTI- RESOLUTION ANALYSIS. Version 2 ECE IIT, Kharagpur

Image Transforms. Digital Image Processing Fundamentals of Digital Image Processing, A. K. Jain. Digital Image Processing.

VIETNAM NATIONAL UNIVERSITY UNIVERSITY OF SCIENCE FACULTY OF MATHEMATICS, MECHANICS AND INFORMATICS. Hoang Dinh Linh WAVELETS ON Z N

DISCRETE FOURIER TRANSFORM

Linear Algebra using Dirac Notation: Pt. 2

Haar wavelets. Set. 1 0 t < 1 0 otherwise. It is clear that {φ 0 (t n), n Z} is an orthobasis for V 0.

Digital Image Processing

Finite-dimensional spaces. C n is the space of n-tuples x = (x 1,..., x n ) of complex numbers. It is a Hilbert space with the inner product

Scientific Computing: An Introductory Survey

E The Fast Fourier Transform

Construction of Multivariate Compactly Supported Orthonormal Wavelets

SJÄLVSTÄNDIGA ARBETEN I MATEMATIK

Degenerate Perturbation Theory

Digital Image Processing

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information

Wavelets. Lecture 28

Page 52. Lecture 3: Inner Product Spaces Dual Spaces, Dirac Notation, and Adjoints Date Revised: 2008/10/03 Date Given: 2008/10/03

Convergence in shape of Steiner symmetrized line segments. Arthur Korneychuk

2. the basis functions have different symmetries. 1 k = 0. x( t) 1 t 0 x(t) 0 t 1

The discrete and fast Fourier transforms

Introduction to Hilbert Space Frames

MTH 2310, FALL Introduction

EDISP (NWL2) (English) Digital Signal Processing Transform, FT, DFT. March 11, 2015

Chapter 7 Wavelets and Multiresolution Processing

Lectures notes. Rheology and Fluid Dynamics

Advanced Digital Signal Processing -Introduction

Chapter 7 Wavelets and Multiresolution Processing. Subband coding Quadrature mirror filtering Pyramid image processing

Wavelets and Signal Processing

Consistent Histories. Chapter Chain Operators and Weights

Transforms and Orthogonal Bases

Physics 221A Fall 1996 Notes 14 Coupling of Angular Momenta

Degenerate Perturbation Theory. 1 General framework and strategy

Introduction to Discrete-Time Wavelet Transform

The Fast Fourier Transform

QUATERNIONS AND ROTATIONS

Sparse linear models

Review of Concepts from Fourier & Filtering Theory. Fourier theory for finite sequences. convolution/filtering of infinite sequences filter cascades

Fourier and Partial Differential Equations

Chapter 8 The Discrete Fourier Transform

Module 4 MULTI- RESOLUTION ANALYSIS. Version 2 ECE IIT, Kharagpur

Defining the Discrete Wavelet Transform (DWT)

Ex. Here's another one. We want to prove that the sum of the cubes of the first n natural numbers is. n = n 2 (n+1) 2 /4.

Fig. 1: Fourier series Examples

Compression on the digital unit sphere

TOPICS IN HARMONIC ANALYSIS WITH APPLICATIONS TO RADAR AND SONAR. Willard Miller

Linear Algebra. Paul Yiu. Department of Mathematics Florida Atlantic University. Fall A: Inner products

VII. Discrete Fourier Transform (DFT) Chapter-8. A. Modulo Arithmetic. (n) N is n modulo N, n is an integer variable.

Wavelets and Image Compression. Bradley J. Lucier

f(s) e -i n π s/l d s

Last Update: April 7, 201 0

Sequential Fast Fourier Transform (PSC ) Sequential FFT

An Introduction to Wavelets and some Applications

Digital Signal Processing. Midterm 2 Solutions

ISOMETRIES OF R n KEITH CONRAD

Two-Dimensional Signal Processing and Image De-noising

A linear algebra proof of the fundamental theorem of algebra

A Geometric Review of Linear Algebra

A linear algebra proof of the fundamental theorem of algebra

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

4 Hilbert spaces. The proof of the Hilbert basis theorem is not mathematics, it is theology. Camille Jordan

MATH 167: APPLIED LINEAR ALGEBRA Chapter 3

Fourier analysis of discrete-time signals. (Lathi Chapt. 10 and these slides)

Appendix C: Recapitulation of Numerical schemes

12.1 Fourier Transform of Discretely Sampled Data

Lecture Notes 5: Multiresolution Analysis

Checking Consistency. Chapter Introduction Support of a Consistent Family

Decomposition of Riesz frames and wavelets into a finite union of linearly independent sets

Bernoulli Numbers and their Applications

Math Methods for Polymer Physics Lecture 1: Series Representations of Functions

On Riesz-Fischer sequences and lower frame bounds

Lecture 7 January 26, 2016

Eigenvectors and Hermitian Operators

Maths for Signals and Systems Linear Algebra for Engineering Applications

Denoising and Compression Using Wavelets

Lecture 8: Orthogonal Frequency Division Multiplexing (OFDM)

Linear Algebra. Min Yan

Tutorial 2 - Learning about the Discrete Fourier Transform

General Inner Product & Fourier Series

Lecture 27 Frequency Response 2

REPRESENTATION THEORY NOTES FOR MATH 4108 SPRING 2012

Review of Linear System Theory

General Inner Product and The Fourier Series

Module 4. Multi-Resolution Analysis. Version 2 ECE IIT, Kharagpur

Boundary functions for wavelets and their properties

Induced Representations and Frobenius Reciprocity. 1 Generalities about Induced Representations

Transcription:

Student-Faculty Seminar Wavelets on Z N Milos Savic Milos Savic graduated in May 004 with a major in Mathematics and minors in Computer Science and Business. He has played soccer and water polo during all of his four years at BSU. Next semester, Milos will be attending graduate school at the University of Hawaii. Introduction A function, or a signal as electrical engineers like to call it, can be decomposed as a sum, possibly infinite, of sines and cosines, called its Fourier series expansion. The coefficients in this decomposition represent the various frequencies that are present in the signal. However the Fourier expansion fails to give information on what part of the function the frequencies come from. Thus if a signal is a function of time, a Fourier analysis of this signal does not tell us when various of its frequencies occurred. This poses a serious drawback in many applications. A lot of effort has gone into a search for alternative mechanisms, mechanisms whereby a signal can be decomposed into constituents that bear information both on its frequencies and where these frequencies occur in the signal. Luckily, the last 0 years has seen considerable progress due to the discovery of various functions, called wavelets, that roughly speaking replace the cosine and sine functions in the Fourier expansion scheme. Our objective here is to provide the reader with the basics of wavelet construction for the analysis of periodic functions on Z. In spite of the drawback that Fourier analysis has, we do not want to give the impression that it is an outdated method. It has served mathematics and the applied sciences extremely well for over 4 centuries and it remains indispensable in various modern applications. In fact B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004)

the construction of wavelets depends heavily on Fourier analysis and the practicality and usefulness of wavelets derives from features that are built into the Discrete Fourier Transform, a concept we will look into first. I first came across wavelets in the Student-Faculty Seminar. This is a seminar on wavelets that was run by the department of Mathematical Sciences at Ball State during the 003/004 academic year. For this seminar, I was required to have had Linear Algebra experience. Recommendations included Complex Analysis and minor information from Real Analysis. Overall, seminars like these are very undergraduate friendly, with the textbook going through many linear algebra, real analysis, and complex ideas for the theorems needed. If ever the textbook is not helpful, the professors are more than willing to help out with any questions you have. The Discrete Fourier Transform Let N be an arbitrary but fixed positive integer. Complex-valued functions on the set Z N := {0,1,...,N 1} will be denoted by l Z N ). It will be convenient to think of such functions as being extended to the whole set of integers Z as N-periodic complex valued functions. Thus if z l Z N ), then zn + kn) = zn) for all n Z N and all k Z. It is easy to see that l Z N ) is a vector space over the complex field with respect to the usual addition of functions and multiplication of functions by a scalar. In fact the following inner product turns l Z N ) into an inner product space. z,w = We define F n l Z N ) as follows: zk)wk), z,w Z N. F n k) = 1 N eπikn/n, k Z N. Then F := {F 0,F 1,...,F } forms an orthogonal basis of l Z N ) called the Fourier basis. Note that F n = 1/ N. The coordinate vector of z Z N with respect to the ordered basis F will be denoted by ẑ. Thus, Therefore z = ẑ0)f 0 + ẑ1)f 1 +... + ẑn 1)F. ẑn) = N z,f n = N Definition 1. Given z l Z N ), we let ẑn) = zk)f n k) = zk)e πikn/n. zk)e πikn/n. B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004) 3

The mapping ˆ: l Z N ) l Z N ), which takes z to ẑ, is called the discrete Fourier transform or DFT, for short). It is easily checked that ẑ is N-periodic. The following theorem is useful. Theorem Fourier Inversion Formula). zn) = 1 N ẑk)e πikn/n, n Z N, z l Z N ). The above inversion formula shows that the DFT is a one-to-one linear transformation on the inner product space l Z N ). The inverseˇ: l Z N ) l Z N ) ofˆ: l Z N ) l Z N ), called the inverse discrete Fourier transform or IDFT for short), is the linear transformation defined explicitly as Definition 3. ˇwn) = 1 N wk)e πikn/n, n Z N, w l Z N ). 1. For any w l Z N ) we define the conjugate reflection w as the element in l Z N ) given by wn) = w n), n Z.. For z,w l Z N ), the convolution of z and w, denoted by z w is an element in l Z N ) defined as z wn) = zn k)wk), n Z. One can easily check that the conjugate reflection and convolution operations transform as follows under the DFT: ˆ wn) = ŵn) and ẑ wn) = ẑn)ŵn), where the latter expression is componentwise multiplication. We now define another useful linear transformation on l Z N ). Definition 4. For each k Z we define R k : l Z N ) l Z N ) as R k zn) = zn k), n Z, z l Z N ). R k is called the translation by k operator. The following lemma will be useful. Lemma 5. For all k,n Z we have i) Rk z n) = e πink/n ẑn), ii) z,r k u = z wk). 4 B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004)

The Fast Fourier Transform In carrying out operations, things can sometimes be arranged so that certain features of the operation can be exploited cleverly in such a way that would speed up the operation. In 1965, Cooley and Tukey took advantage of a useful feature of the DFT that helped cut down on the time needed to compute the Fourier transform. Their ideas essentially revolutionized the science of computing. Here we touch on this aspect of Fourier transform computation. It is called the Fast Fourier Transform FFT).We start by considering the simplest case when N is even to highlight the basic idea behind the FFT. Lemma 6. Suppose N = M. Given z l Z N ), define u, v l Z M ) by Then uk) = zk), and vk) = zk + 1), k Z. ẑn) = ûn) + e πn/nˆvn), n Z M, and ẑn + M) = ûn) e πn/nˆvn), n Z M. Notice that in the above lemma the same values of ûn) and ˆvn) are used in computing both ẑn) and ẑn+m) for all n Z M. First we compute û and ˆv at n = 0,...,M 1. This requires M multiplications each. Then we compute e πin/nˆvn) for n = 0,...,M which requires an additional M multiplications. Thus, at most M +M = NN +1)/ multiplications are required to compute ẑ for z l Z N ), by this scheme. This is essentially N / for large N, thus cutting down the computation of ẑ by half of what would normally be needed using direct methods. This procedure can be iterated if N is divisible by higher powers of. The best situation for this scheme occurs when N is a power of two. In this case, an iteration of the above argument leads to the following lemma. Lemma 7. Suppose N is a power of. Then the DFT of an element of l Z N ) can be computed with no more than 1 N log N complex multiplications. The FFT can also be used to compute the IDFT fast and hence convolutions as well), since ˇwn) = 1 ŵn n), and z w = ẑŵ)ˇ. N Wavelets in Z N - The First Stage The idea here is to construct an orthonormal basis {ψ k } of l Z N ) such that each ψ k is localized in space as well as frequency. That is, we would want each ψ k and its DFT ˆψ k to contain as many zeros as possible. This would allow us to focus on local spacial or frequency features of a signal when it is expressed in such a basis. The FFT can be used efficiently to compute coefficients of signals in such basis. See Part ) of Lemma 5.) B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004) 5

Lemma 8. Let N = M, and w l Z N ). The set {R k w} M 1 is an orthonormal set if and only if ŵn) + ŵn + M) = for all n = 0,...,M 1. 1) We remark that if u l Z N ) satisfies 1) above, and if we define v l Z N ) to be vk) = 1) k u1 k), k Z N, ) then one can show that the following relations hold for all n Z N. ûn) + ûn + M) =, ˆvn) + ˆvn + M) =, 3) ûn)ˆvn) + ûn + M)ˆvn + M) = 0. 4) The above conditions force the set {u, R u,...,r M 1 u} {v,r v,...,r M 1 v} to be an orthonormal basis of l Z N ). This lemma illustrates the fact that orthonormal bases depend on our DFT. Definition 9. Let N = M for some positive integer M. An orthonormal basis of l Z N ) of the form {R k u, R k v} M 1 for some u, v l Z N ) is called a first stage wavelet basis for l Z N ). It is important to note that given z l Z N ), the coefficients z,r k u = z ũk) can be computed via the FFT scheme, since z w = ẑŵ)ˇ. The same remark applies to the coefficients z,r k v. Theorem 10. Elements u, v l Z N ) generate a first stage wavelet if and only if their system matrix An) = 1 [ ] ûn) ˆvn) ûn + M) ˆvn + M) is a unitary matrix for all n Z. In more explicit terms, the above theorem states that u, v and their translates form a basis of l Z N ) if and only if ûn) + ûn + M) =, ˆvn) + ˆvn + M) =, ûn)ˆvn) + ûn + M)ˆvn + M) = 0. Now that we have established the u and v wavelet basis, we can now get into how we compress. We now define a helpful operation. 6 B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004)

Definition 11. Suppose N = M for some positive integer M. Define U : l Z M ) l Z N ) by setting { zn/) if n is even Uz)n) = 0 if n is odd, for z l Z M ) and n = 0,1,...,M 1. We call the operator U the upsampling operator. We denote U by. We can now use all these definitions, lemmas, and theorems to define a wavelet basis and figure out a wavelet filter sequence with repeated filters. This scheme will show how we can reconstruct a signal using wavelet compression. Wavelets in Z N - The Iteration Stage Suppose we would like to determine the presence of an object through a radar or sonar search. In analyzing the signal from such search our initial concern is to get enough information from the signal to decide whether the object of interest e.g., oil deposit) is present. At this stage, details are less relevant. Another scenario would be the transmission of data via a data line. Compression of the data to an acceptable level before transmission could save a lot of money or time or both). Therefore the signals that come from such situations could be analyzed using a basis that gives less detailed information about the signal. Thus to obtain only crude information about the signal, we need to obtain wavelet basis at scales higher than, in the sense to be explained below. We suppose that N is divisible by p for some fixed p > 1. We start out with u = u 1 and v = v 1 in l Z N ) whose system matrix is unitary. We obtain a p th -stage wavelet filter sequence u l, v l l Z N/ l 1), l = 1,,...,p, as follows. Let u l n) = l 1 1 u 1 n + kn ) l 1 and v l n) = l 1 1 v 1 n + kn ) l 1. We then define from u l and v l, elements whose translates will provides us with particular basis elements. They are defined as follows: Now we let f 1 = v 1 and g 1 = u 1, f l = g l 1 U l 1 v l ) and g l = g l 1 U l 1 u l ). ψ j,k = R j k f j and φ j,k = R j k g j for j = 1,...,p and k = 0,...,N/ j ) 1. Then, {ψ 1,k } N/) 1 {ψ,k } N/4) 1 {ψ p,k } N/p ) 1 {φ p,k } N/p ) 1 is an orthonormal basis for l Z N ), called a p th -stage wavelet basis. B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004) 7

We observe that for any m = 1,...,p, {ψ 1,k } N/) 1 {ψ,k } N/4) 1 {ψ m,k } N/m ) 1 {φ m,k } N/m ) 1 is an m th -stage wavelet basis. We now introduce a sequence of subspaces of l Z N ) as follows: V j := Span{φ j,k } N/j ) 1, W j := Span{ψ j,k } N/j ) 1. One can show that for all j = 1,...,p, the spaces V j and W j are subspaces of V j+1 and that V j W j = V j+1, 5) where we let V 0 stand for l Z N ). We have found our orthonormal basis and we can send the signal through to compress it. We have to use our ψ s and φ s to reproduce this signal. We want to have a raw estimation of z, so we project z onto the basis that we found. We will call this projection Similarly, we define P j z) = Q j z) = N/ j ) 1 N/ j ) 1 z,φ j,k φ j,k. z,ψ j,k ψ j,k. From the relation in 5) we immediately see that for any z l Z N ), P j+1 z) = P j z) + Q j z), j = 1,,3,...,p. Here we have used P 0 for the identity operator P 0 z) = z, z l Z N ). These equations can be interpreted as follows. Given a signal z, the projection P j+1 z) gives its j +1) th approximation a compression of the signal), and Q j z) contains the details at level j + 1) that one could use to obtain a better approximation P j+1 z) from its j) th level approximation P j z). Wavelet Construction - An Example To give the reader a flavor of the general construction of wavelets discussed in the previous section, we look at a particular example. The example we give below belongs to a class of wavelets first constructed by Ingrid Daubechies. We will assume that N > 64. We want to construct u l Z N ) such that its system matrix is unitary and u has only four nonzero components. For this we let bn) = cos 6 π ) N n + 3 cos 4 π ) N n sin π ) N n. 8 B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004)

Then note that Moreover bn + 8) = 3 cos π N n ) sin 4 π N n ) + sin 6 π N n ). bn) + bn + 8) = If we now define u l Z N ) such that then Equation 6) leads to cos π N n ) + sin π N n )) 3 = 1. 6) ûn) = bn), 7) ûn) + ûn + 8) = 1, n = 0,1,,3. While there are many ways to pick u l Z N ) such that 7) holds, to ensure that such a u has only 4 nonzero components we proceed as follows. We rewrite bn) as bn) = cos π ) [ N n cos 4 π ) N n + 3 cos π ) N n sin π )] N n. We now let ûn) = [ π ) e 3πin/N cos N n i π ) 3 cos N n [ = e 3πn/N e iπn/n + e iπn/n) 1 1 + cos = e πin/n + e 4πin/N) [ 4 + e πin/n + e πin/n) 6 + 8 8 Since direct computation leads to ûn) = u0), u1), u), u3)) = 3 uk)e πikn/n, π )] sin N n )) πn + i N 3 sin e πin/n e πin/n)]. 8 1 + 3, 3 + 3, 3 3, 1 3) ) ] πn N and un) = 0 for n = 4,...,N 1. Starting with u l Z N ) as above and defining v according to ) the associated a first stage wavelet basis of l Z N ) is provided by u 1 = 8 1 + 3, 3 + 3, 3 3, 1 3, 0, 0,..., 0) v 1 = 8 3 + 3, 1 3, 0,..., 0, 1 3, 3 + 3), B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004) 9

and their even translates. The recipe described in Section 5 then leads to the construction of the desired p-th stage Daubechies wavelet basis of l Z N ) for any p for which p divides N and N/ p > 4. We refer the reader to [1] and [] for more details on wavelets. Acknowledgements I thank Dr. Ahmed Mohammed for helping out and for having the patience to endure this task. I thank the Mathematics Department at Ball State for their support throughout this four year journey. I thank my family for their faith in my work. References [1] M. Frazier, An introduction to wavelets through linear algebra, Springer Verlag 1991). [] R. Strichartz, How to make wavelets, The American Mathematical Monthly 100 1993) 539-556. 30 B.S. Undergraduate Mathematics Exchange, Vol., No. 1 Spring 004)