wavelet transform yuan f. zheng dept. of electrical engineering the ohio state university dagsi...

16
Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Upload: kory-lester

Post on 19-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Wavelet Transform

Yuan F. ZhengDept. of Electrical Engineering

The Ohio State University

DAGSI Lecture Note

     

Page 2: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Wavelet Transform (WT)

• Wavelet transform decomposes a signal into a set of basis functions.• These basis functions are called wavelets• Wavelets are obtained from a single prototype wavelet (t) called

mother wavelet by dilations and shifting:

where a is the scaling parameter and b is the shifting parameter

)(1

)(, a

bt

atba

Page 3: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

• The continuous wavelet transform (CWT) of a function f is defined as

• If is such that

f can be reconstructed by an inverse wavelet transform:

dta

bttf

afbaTf ba )()(

1,),( *

,

dC2

)(

20

,1 )(),()(

a

dadbtbaTfCtf ba

Page 4: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Wavelet transform vs. Fourier Transform

• The standard Fourier Transform (FT) decomposes the signal into individual frequency components.

• The Fourier basis functions are infinite in extent.

• FT can never tell when or where a frequency occurs.

• Any abrupt changes in time in the input signal f(t) are spread out over the whole frequency axis in the transform output F() and vice versa.

• WT uses short window at high frequencies and long window at low frequencies (recall a and b in (1)). It can localize abrupt changes in both time and frequency domains.

Page 5: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Discrete Wavelet Transform

• Discrete wavelets

• In reality, we often choose

• In the discrete case, the wavelets can be generated from dilation equations, for example,

(t)h(0)(2t) + h(1)(2t-1) + h(2)(2t-2) + h(3)(2t-3)]• Solving equation (2), one may get the so called scaling function (t).

• Use different sets of parameters h(i)one may get different scaling functions.

),( 02

0, ktaa jj

kj ., Zkj

.20 a

2

Page 6: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Discrete WT Continued

• The corresponding wavelet can be generated by the following equation

(t)[h(3)(2t) - h(2)(2t-1) + h(1)(2t-2) - h(0)(2t-3)]. (3)

• When and

equation (3) generates the D4 (Daubechies) wavelets.

2

,24/)31()0( h ,24/)33()1( h ,24/)33()2( h

24/)31()3( h

Page 7: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Discrete WT continued

• In general, consider h(n) as a low pass filter and g(n) as a high-pass filter where

• g is called the mirror filter of h. g and h are called quadrature mirror filters (QMF).

• Redefine– Scaling function

).1()1()( nNhng n

).2()(2)( nxnhxn

Page 8: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Discrete Formula

– Wavelet function

• Decomposition and reconstruction of a signal by the QMF.

where and is down-sampling and is up-sampling

).2()(2)( nxngxn

2

2

2

2

f(n) +

f(n)

)(ng

)(nh )(nh

)(ng

)()( nhnh ).()( ngng

Page 9: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Generalized Definition

• Let be matrices, where are positive integers

is the low-pass filter and is the high-pass filter.

• If there are matrices and which satisfy:

where is an identity matrix. Gi and Hi are called a discrete wavelet pair.

• If and

The wavelet pair is said to be orthonormal.

,...)2,1(, iHG ii...2,1,0, iN i1 ii NN

ii NN 1iG

iH

iiiii IGGHH

iI11 ii NN

Tii

Tii GGHH , i

Tii

Tii IHHGG 0 T

iiTii GHHG

ii GH ,

iH iG

Page 10: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

• For signal let and• One may have

• The above is called the generalized Discrete Wavelet Transform (DWT) up to the scale

is called the smooth part of the DWT andis called the DWT at scale

• In terms of equation

),,...,( 21 Nffff NN 0 .,...2,1 Ji

.J

fHHH JJ 11....

fHHG JJ 11... .J

),,,......,....( 1121231111 fGfHGfHHGfHHGfHHH JJJJ

).2()()(1

0

12

0, ktrttf j

p

j kkj

j

Page 11: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Multilevel Decomposition

• A block diagram

2

2

2

f(n) 2

)(nh

)(nh

)(ng

)(ng

2

2

)(nh

)(ng

Page 12: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Haar Wavelets 

1 0 0 1

Scaling Function Wavelet

]2

1,

2

1[)( nh ]

2

1,

2

1[)( ng

Example: Haar Wavelet

Page 13: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

2D Wavelet Transform

• We perform the 2-D wavelet transform by applying 1-D wavelet transform first on rows and then on columns.

Rows Columns LL

f(m, n) LH

HL

HH

H 2

G

2 G

2 H

2

2

G

H

2

 

Page 14: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Integer-Based Wavelets

• By using a so-called lifting scheme, integer-based wavelets can be created.

• Using the integer-based wavelet, one can simplify the computation.

• Integer-based wavelets are also easier to implement by a VLSI chip than non-integer wavelets.

Page 15: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Applications

• Signal processing– Target identification.

– Seismic and geophysical signal processing.

– Medical and biomedical signal and image processing.

• Image compression (very good result for high compression ratio).

• Video compression (very good result for high compression ratio).

• Audio compression (a challenge for high-quality audio).

• Signal de-noising.

Page 16: Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note

Original Video Sequence Reconstructed Video Sequence

3-D Wavelet Transform for Video Compression