SlideShare une entreprise Scribd logo
1  sur  37
Lifting
Part 1: Introduction
Ref: SIGGRAPH96
Outline
• Introduction to wavelets and lifting scheme
• Basic Ideas
– Split, Predict, Update
– In-place computation

• Simple Examples
– Lifting version of Haar
– Linear interpolating wavelet
General Concepts
• Wavelets are building blocks that can quickly decorrelate data
• Most signals in life have correlation in time and
frequency
– temporal coherence and banded frequency

• Build wavelets that:
– Are compactly support (good time resolution; able to
more
localize spatial features)
later
– Have banded spectrum (good frequency resolution)
• smoothness (decay towards high freq)
• Have vanishing moments (decay towards low freq)
How lifting scheme differs from
classical wavelets
• Developed in 1994 by Wim Sweldens
• All constructions are derived in the spatial domain
• Faster implementation
Recall how PR
– In some cases, the number of operations halved
of orthogonal

• In-place computation

– No auxiliary memory required

wavelets are
verified …

• Easy to invert
– In classical derivations, perfect reconstruction must be
verified via Fourier transforms
Lifting in
Second Generation Wavelets
• True power of lifting is to construct wavelets in
settings where classical (translation and dilation)
and Fourier transform cannot be used:
– Bounded domain
• Avoid ad-hoc solutions: periodicity, zero-padding, reflection
around edges …

– Wavelets on curves and surfaces
– Irregular sampling
– …
Basic Ideas
• Forward transform: three stages
– Split the data into two smaller subsets: s/detail
• e.g., interlace sampling (lazy wavelet)

– Predict the subset based on the local correlation in the
original data
• Replace the detail as the difference between data and
prediction. (If prediction is reasonable, difference will be
small)

– Update and maintain some global properties of data
with original data
• (e.g., overall signal average)

• Inverse transform:
– Simply reverse order of operations and signs (+|-, *|/)
That is, … (Forward Transform)
Original signal

( s j −1 , d j −1 ) := Split( s j )
difference
signal

− = P(s j −1 )

d j −1
s j −1

s: even indices
d: odd indices

+ = U(d j −1 )

coarsened
signal

sj

s j ,0

s j ,1

...

...

s j ,2n

s j , 2 n +1

sj-1, dj-1

s j −1, 0

d j −1, 0

...

...

s j −1,n

d j −1,n
Inverse Transform
s j −1 − = U(d j −1 )
d j −1

+ = P(s j −1 )

s j := Merge(s j −1 , d j −1 )

• Observe the similarity with forward
transform !
Schematically, …

Hi-wire:
coarsened
signal

forward
Convention:
( 水平 ) – ( 垂
直)

Lo-wire:
difference
signal

inverse
Simple Examples
Haar (lifting version)
Linear Interpolating Wavelet
Revisit Haar
a slightly different version
Forward Transform

a+b
s=
2
d =b−a

[9
s

d

[ 8 4] [ − 2 2]
s

Preserve
“average”;
not
“energy”

7 3 5]

[ 6] [ − 4]

d
Haar (cont)
Inverse Transform

a = s−d /2

[9

7 3 5]

b = s+d /2

s

d

8 = 6 − (−4)
1
2

4 = 6 + 1 (−4)
2
9  8 1  − 2
  = −  
 3  4 2  2 
   
 

[ 8 4] [ − 2 2]
s

[ 6] [ − 4]

7 8 1  − 2
  = +  
 5  4 2  2 
   
 

d

a b
Haar and Lifting
• Rewrite expressions (forward)
a+b
s=
2
d =b−a

no need for
var d and s

b−=a
d =b−a
 →
a+ = b / 2
s = a+d /2
b replaces d
a replaces s
Haar and Lifting (cont)
• Inverse Transform:
– Reverse order of operations
– exchange plus/minus

a− = b / 2
b+=a

• Facilitate in-place computation
Ex: Haar (Lifting)
[9

7 3 5]

s2,0 s2,1 s2, 2 s2,3

b−=a
a+ = b / 2

[8

− 2 4 2]

s1,0 d1,0 s1,1 d1,1

b−=a
a+ = b / 2

[6

− 2 − 4 2]

s0,0 d1,0 d 0,0 d1,1

Note this order is different from Mallat’s order!

[6

− 4 − 2 2] = [ s0,0 d 0,0 d1,0 d1,1 ]
In-place Computation
• Only one set of
array is used
• Data are
overwritten during
the computation
• Saves overhead for
allocating multiple
arrays

s2,0 s2,1 s2, 2 s2,3
s1,0 d1,0 s1,1 d1,1
s0,0 d1,0 d 0,0 d1,1
Operate on the same piece
Operate on the same piece
of memory
of memory
Lifted Haar (inverse transform)
[9

7 3 5]

s2,0 s2,1 s2, 2 s2,3

a− = b / 2
b+=a

[8

− 2 4 2]

s1,0 d1,0 s1,1 d1,1

a− = b / 2
b+=a

[6

− 2 − 4 2]

s0,0 d1,0 d 0,0 d1,1
Give exact
prediction if
function were
constant
Predict: how the data fail to be
constant
• eliminate zeroth order
correlation
• Order of predictor = 1

Order: has to do
with polynomial
reproduction
(more later)

Update: preserve average
• zeroth order moment
• Order of Update operator = 1
Haar & Lifting
PHaar ( x) = x
U Haar ( x) = x / 2

( s j −1 , d j −1 ) := Split( s j )
d j −1

− = P( s j −1 )

s j −1

+ = U(d j −1 )

s j −1 − = U(d j −1 )
d j −1

+ = P( s j −1 )

s j := Merge(s j −1 , d j −1 )
Cascading
10
1100
10

00

Scaling Functions
Scaling Functions
00

-½ 0
-½ ½ 0 0

10

½0

Wavelets
Wavelets
Double Check
[9

7 3 5]

8×

1

+

[8

− 2 4 2]

s1,0 d1,0 s1,1 d1,1

4×

+
½

-2 ×
-½

Note the wavelet
definition is
different

1

2×

+
½
-½
Lifting Framework
93

84

93
9735

9735
75

-2 2

75

PHaar ( s j −1,k ) = s j −1,k
U: to ensure
coarsened signal
preserves
average

U Haar (d j −1,k ) = d j −1,k / 2
Pseudo Codes
Forward

Inverse
Lifting Ordering

f

s2

s1

s0

d2

d1

d0

final result

f0

f1

f2

f3

f4

f5

f6

f7

s2 , 0

(n=8)

d 2,0

s2,1

d 2,1

s2 , 2

d 2, 2

s2, 3

d 2,3

s1, 0

d1, 0

s1,1

s0 , 0

s0 , 0

d1,1

d 0, 0

d 2,0

d1, 0

d 2,1

d 0, 0

d 2, 2

d1,1

d 2,3
About Demo Implementation
#define S(j,l) ss[(l)*INCR[JMAX-(j)]]

// increment

#define D(j,l) ss[INCR[JMAX-((j)+1)]+(l)*INCR[JMAX-(j)]] // offset + increment

ndata = 16
JMAX = 4

INCR
2

3

4

2

4

8

16

s4,1

s4, 2

s4 , 3

s4 , 4

s3,0 d 3, 0

s3,1

d 3,1

s3, 2 d 3, 2

s3,3 d 3,3 s3, 4 d 3, 4

s3,5 d 3,5

s3,6 d 3,6

s3, 7 d 3,7

s2 , 0

d 2, 0

s2,1

d 2,1

d 2, 2

s2 , 3

d 2,3

s1, 0
s0 , 0

d1,0

s4 , 5

1

1

s4 , 0

0

s4 , 6

s4 , 7

s4 ,8

s2 , 2
s1,1
d 0,0

s4,9 s4,10 s4,11 s4,12 s4,13 s4,14 s4,15

d1,1
Linear Interpolating Wavelet

• more powerful lifting
• Predictor (Order = 2)
– Exact for linear data

• Update (Order = 2)

Predictor
d j −1,l = d j −1,l

1
− ( s j −1,l + s j −1,l +1 )
2

– Preserve the average and first moment
Linear Interpolating (Predictor)

d j −1,l = d j −1,l −

1
( s j −1,l + s j −1,l +1 )
2
Linear Interpolating Wavelet
(Update)
∑ s j −1,l =

Preserve average

l

1
∑ s j ,l
2 l

Propose update of s
j −1,l = s j , 2 l + A( d j −1,l −1 + d j −1,l )
the form :

∑s
l

j −1,l

use results already
computed

= ∑ s j , 2l + 2 A∑ d j −1,l
l

l

[

= ∑ s j , 2l + 2 A∑ s j , 2l +1 − 1 ( s j , 2l + s j , 2l + 2 )
2
l

l

= (1 − 2 A)∑ s j , 2l + 2 A∑ s j , 2l +1
l

Therefore, A = 1 / 4

l

]
Linear Wavelet (Update)
original signal

s j −1,l = s j −1,l
coarsened signal

1
+ ( d j −1,l −1 + d j −1,l )
4

Preserve average is equivalent
Preserve average is equivalent
to having zero mean difference
to having zero mean difference
Preservation of 1st Moment
1
∑ l ⋅ s j −1,l = 2 ∑ l ⋅ s j ,l satisfied due to symmetry
l
l
⇒ Order of Update = 2

We will refer this as the
dual order of MRA
In-place computation
assume data periodicity
assume data periodicity

Numeric Example (linear
wavelet)
2

4

4

6

10 12

8

6

2

4

4

6

2

1

4

−1 10

3

8

1

2

1

4

6

2

1

4

− 1 10.5

3

9

1

2.5

1

4

Forward

6

Average: 26/4

2

1

4

−1 10

2

4

4

6

3

8

1

2

1

4

6

10 12

8

6

2

4

4

6

Average: 52/8

Inverse
Remarks
• By substituting the predictor into update one gets
1
1
3
1
1
s j −1,l = − s j , 2l − 2 + s j , 2l −1 + s j , 2l + s j , 2l +1 − s j , 2l + 2
8
4
4
4
8

• This is biorthogonal (2,2) of CDF
– CDF: Cohen-Daubechies-Feauveau
– More computations in this form (and cannot be done inplace)
– Inverse transform harder to get (rely on Fourier-based
techniques)
Homeworks
• Review the derivation of PR for orthogonal
wavelets
• Verify that reversing order of operations
indeed inverses the transform
• Write a program that does general lifting.
Implement Haar and linear interpolation.
Compare.
• Verify the CDF (2,2) formula
Homework: lifting version of D4

Speed up ratio!?
Wiring diagram!?
undecided
Q
• In lifting, it seems that forward and inverse
use the same P and U boxes. Then, are
H_tilda (G_tilda) and H (G) are related? …
unlike what we mentioned in biorthogonal
wavelets?

Contenu connexe

Tendances

control engineering revision
control engineering revisioncontrol engineering revision
control engineering revisionragu nath
 
RF Module Design - [Chapter 1] From Basics to RF Transceivers
RF Module Design - [Chapter 1] From Basics to RF TransceiversRF Module Design - [Chapter 1] From Basics to RF Transceivers
RF Module Design - [Chapter 1] From Basics to RF TransceiversSimen Li
 
射頻電子 - [第四章] 散射參數網路
射頻電子 - [第四章] 散射參數網路射頻電子 - [第四章] 散射參數網路
射頻電子 - [第四章] 散射參數網路Simen Li
 
Circuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace TransformCircuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace TransformSimen Li
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsNaughty Dog
 
Cs718min1 2008soln View
Cs718min1 2008soln ViewCs718min1 2008soln View
Cs718min1 2008soln ViewRavi Soni
 
SPU Optimizations - Part 2
SPU Optimizations - Part 2SPU Optimizations - Part 2
SPU Optimizations - Part 2Naughty Dog
 
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisDigital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisChandrashekhar Padole
 
Wk 12 fr bode plot nyquist may 9 2016
Wk 12 fr bode plot nyquist   may 9 2016Wk 12 fr bode plot nyquist   may 9 2016
Wk 12 fr bode plot nyquist may 9 2016Charlton Inao
 
射頻電子 - [第一章] 知識回顧與通訊系統簡介
射頻電子 - [第一章] 知識回顧與通訊系統簡介射頻電子 - [第一章] 知識回顧與通訊系統簡介
射頻電子 - [第一章] 知識回顧與通訊系統簡介Simen Li
 
射頻電子 - [第六章] 低雜訊放大器設計
射頻電子 - [第六章] 低雜訊放大器設計射頻電子 - [第六章] 低雜訊放大器設計
射頻電子 - [第六章] 低雜訊放大器設計Simen Li
 
Design of sampled data control systems 5th lecture
Design of sampled data control systems  5th  lectureDesign of sampled data control systems  5th  lecture
Design of sampled data control systems 5th lectureKhalaf Gaeid Alshammery
 
SPU Optimizations-part 1
SPU Optimizations-part 1SPU Optimizations-part 1
SPU Optimizations-part 1Naughty Dog
 
射頻電子 - [第三章] 史密斯圖與阻抗匹配
射頻電子 - [第三章] 史密斯圖與阻抗匹配射頻電子 - [第三章] 史密斯圖與阻抗匹配
射頻電子 - [第三章] 史密斯圖與阻抗匹配Simen Li
 
Ee2365 nol part 2
Ee2365 nol part 2Ee2365 nol part 2
Ee2365 nol part 2Arun Kumaar
 

Tendances (20)

control engineering revision
control engineering revisioncontrol engineering revision
control engineering revision
 
RF Module Design - [Chapter 1] From Basics to RF Transceivers
RF Module Design - [Chapter 1] From Basics to RF TransceiversRF Module Design - [Chapter 1] From Basics to RF Transceivers
RF Module Design - [Chapter 1] From Basics to RF Transceivers
 
射頻電子 - [第四章] 散射參數網路
射頻電子 - [第四章] 散射參數網路射頻電子 - [第四章] 散射參數網路
射頻電子 - [第四章] 散射參數網路
 
Circuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace TransformCircuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace Transform
 
Ece4510 notes09
Ece4510 notes09Ece4510 notes09
Ece4510 notes09
 
Bode plot
Bode plot Bode plot
Bode plot
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
 
Cs718min1 2008soln View
Cs718min1 2008soln ViewCs718min1 2008soln View
Cs718min1 2008soln View
 
SPU Optimizations - Part 2
SPU Optimizations - Part 2SPU Optimizations - Part 2
SPU Optimizations - Part 2
 
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysisDigital Signal Processing Tutorial:Chapt 3 frequency analysis
Digital Signal Processing Tutorial:Chapt 3 frequency analysis
 
Wk 12 fr bode plot nyquist may 9 2016
Wk 12 fr bode plot nyquist   may 9 2016Wk 12 fr bode plot nyquist   may 9 2016
Wk 12 fr bode plot nyquist may 9 2016
 
射頻電子 - [第一章] 知識回顧與通訊系統簡介
射頻電子 - [第一章] 知識回顧與通訊系統簡介射頻電子 - [第一章] 知識回顧與通訊系統簡介
射頻電子 - [第一章] 知識回顧與通訊系統簡介
 
射頻電子 - [第六章] 低雜訊放大器設計
射頻電子 - [第六章] 低雜訊放大器設計射頻電子 - [第六章] 低雜訊放大器設計
射頻電子 - [第六章] 低雜訊放大器設計
 
Design of sampled data control systems 5th lecture
Design of sampled data control systems  5th  lectureDesign of sampled data control systems  5th  lecture
Design of sampled data control systems 5th lecture
 
Sampling
SamplingSampling
Sampling
 
Chapter5
Chapter5Chapter5
Chapter5
 
SPU Optimizations-part 1
SPU Optimizations-part 1SPU Optimizations-part 1
SPU Optimizations-part 1
 
Feedback Vertex Set
Feedback Vertex SetFeedback Vertex Set
Feedback Vertex Set
 
射頻電子 - [第三章] 史密斯圖與阻抗匹配
射頻電子 - [第三章] 史密斯圖與阻抗匹配射頻電子 - [第三章] 史密斯圖與阻抗匹配
射頻電子 - [第三章] 史密斯圖與阻抗匹配
 
Ee2365 nol part 2
Ee2365 nol part 2Ee2365 nol part 2
Ee2365 nol part 2
 

En vedette

Search bp oct11_2012
Search bp oct11_2012Search bp oct11_2012
Search bp oct11_2012douglaslyon
 
063015 iact presentation
063015 iact presentation063015 iact presentation
063015 iact presentationdouglaslyon
 
Class2 13 14_g_hz_differential_signaling
Class2 13 14_g_hz_differential_signalingClass2 13 14_g_hz_differential_signaling
Class2 13 14_g_hz_differential_signalingdouglaslyon
 
Freshman orientation4
Freshman orientation4Freshman orientation4
Freshman orientation4douglaslyon
 
063015 iact presentation-1
063015 iact presentation-1063015 iact presentation-1
063015 iact presentation-1douglaslyon
 
2014 01-29 commercializing your idea iact jan 2014
2014 01-29 commercializing your idea iact jan 20142014 01-29 commercializing your idea iact jan 2014
2014 01-29 commercializing your idea iact jan 2014douglaslyon
 
2205925 frank morse
2205925 frank morse2205925 frank morse
2205925 frank morsedouglaslyon
 
Success of success_coaching
Success of success_coachingSuccess of success_coaching
Success of success_coachingWCET
 
cfactor Social Business Solutions
cfactor Social Business Solutionscfactor Social Business Solutions
cfactor Social Business Solutionsggivan
 
2010 Leveraging Technology to Deliver Platform Independent Content: Gance
2010 Leveraging Technology to Deliver Platform Independent Content: Gance2010 Leveraging Technology to Deliver Platform Independent Content: Gance
2010 Leveraging Technology to Deliver Platform Independent Content: GanceWCET
 
Reciprocity leaping over_the_state_auth_barrier
Reciprocity leaping over_the_state_auth_barrierReciprocity leaping over_the_state_auth_barrier
Reciprocity leaping over_the_state_auth_barrierWCET
 
2010 NEXus: Opportunities for Nursing Students
2010 NEXus: Opportunities for Nursing Students2010 NEXus: Opportunities for Nursing Students
2010 NEXus: Opportunities for Nursing StudentsWCET
 
2011Online Higher Ed, Positioning Community Colleges
2011Online Higher Ed, Positioning Community Colleges2011Online Higher Ed, Positioning Community Colleges
2011Online Higher Ed, Positioning Community CollegesWCET
 
2010 Developing high quality online doctoral programs2
2010 Developing high quality online doctoral programs22010 Developing high quality online doctoral programs2
2010 Developing high quality online doctoral programs2WCET
 
2010 Copyright Fair Use Resources
2010 Copyright Fair Use Resources2010 Copyright Fair Use Resources
2010 Copyright Fair Use ResourcesWCET
 

En vedette (20)

Asee05
Asee05Asee05
Asee05
 
Search bp oct11_2012
Search bp oct11_2012Search bp oct11_2012
Search bp oct11_2012
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
063015 iact presentation
063015 iact presentation063015 iact presentation
063015 iact presentation
 
Class2 13 14_g_hz_differential_signaling
Class2 13 14_g_hz_differential_signalingClass2 13 14_g_hz_differential_signaling
Class2 13 14_g_hz_differential_signaling
 
Logsv2
Logsv2Logsv2
Logsv2
 
Freshman orientation4
Freshman orientation4Freshman orientation4
Freshman orientation4
 
063015 iact presentation-1
063015 iact presentation-1063015 iact presentation-1
063015 iact presentation-1
 
2014 01-29 commercializing your idea iact jan 2014
2014 01-29 commercializing your idea iact jan 20142014 01-29 commercializing your idea iact jan 2014
2014 01-29 commercializing your idea iact jan 2014
 
Ch9
Ch9Ch9
Ch9
 
2205925 frank morse
2205925 frank morse2205925 frank morse
2205925 frank morse
 
Ch9
Ch9Ch9
Ch9
 
Success of success_coaching
Success of success_coachingSuccess of success_coaching
Success of success_coaching
 
cfactor Social Business Solutions
cfactor Social Business Solutionscfactor Social Business Solutions
cfactor Social Business Solutions
 
2010 Leveraging Technology to Deliver Platform Independent Content: Gance
2010 Leveraging Technology to Deliver Platform Independent Content: Gance2010 Leveraging Technology to Deliver Platform Independent Content: Gance
2010 Leveraging Technology to Deliver Platform Independent Content: Gance
 
Reciprocity leaping over_the_state_auth_barrier
Reciprocity leaping over_the_state_auth_barrierReciprocity leaping over_the_state_auth_barrier
Reciprocity leaping over_the_state_auth_barrier
 
2010 NEXus: Opportunities for Nursing Students
2010 NEXus: Opportunities for Nursing Students2010 NEXus: Opportunities for Nursing Students
2010 NEXus: Opportunities for Nursing Students
 
2011Online Higher Ed, Positioning Community Colleges
2011Online Higher Ed, Positioning Community Colleges2011Online Higher Ed, Positioning Community Colleges
2011Online Higher Ed, Positioning Community Colleges
 
2010 Developing high quality online doctoral programs2
2010 Developing high quality online doctoral programs22010 Developing high quality online doctoral programs2
2010 Developing high quality online doctoral programs2
 
2010 Copyright Fair Use Resources
2010 Copyright Fair Use Resources2010 Copyright Fair Use Resources
2010 Copyright Fair Use Resources
 

Similaire à Lifting 1

Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Ali Rind
 
Root Locus Method - Control System - Bsc Engineering
Root Locus Method - Control System - Bsc EngineeringRoot Locus Method - Control System - Bsc Engineering
Root Locus Method - Control System - Bsc Engineeringdexik15916
 
Chapter 2 laplace transform
Chapter 2 laplace transformChapter 2 laplace transform
Chapter 2 laplace transformLenchoDuguma
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing ssuser2797e4
 
Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1] Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1] Simen Li
 
Advanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfAdvanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfHariPrasad314745
 
Course-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfCourse-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfShreeDevi42
 
INTRODUCTION TO CIRCUIT THEORY (A PRACTICAL APPROACH)
INTRODUCTION TO CIRCUIT THEORY (A PRACTICAL APPROACH)INTRODUCTION TO CIRCUIT THEORY (A PRACTICAL APPROACH)
INTRODUCTION TO CIRCUIT THEORY (A PRACTICAL APPROACH)ENGR. KADIRI K. O. Ph.D
 
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdfreservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdfRTEFGDFGJU
 
study Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Imagesstudy Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large ImagesChiamin Hsu
 
2_EditDistance_Jan_08_2020.pptx
2_EditDistance_Jan_08_2020.pptx2_EditDistance_Jan_08_2020.pptx
2_EditDistance_Jan_08_2020.pptxAnum Zehra
 
Algorithm Design and Analysis
Algorithm Design and AnalysisAlgorithm Design and Analysis
Algorithm Design and AnalysisReetesh Gupta
 
Sistemas de control para ingenieria 3ra edicion norman s. nise sol
Sistemas de control para ingenieria  3ra edicion  norman s. nise solSistemas de control para ingenieria  3ra edicion  norman s. nise sol
Sistemas de control para ingenieria 3ra edicion norman s. nise solNielsy Quiroga
 
Hadoop Summit 2010 Multiple Sequence Alignment Using Hadoop
Hadoop Summit 2010 Multiple Sequence Alignment Using HadoopHadoop Summit 2010 Multiple Sequence Alignment Using Hadoop
Hadoop Summit 2010 Multiple Sequence Alignment Using HadoopYahoo Developer Network
 
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...Austin Benson
 
Introduction to neural networks
Introduction to neural networks Introduction to neural networks
Introduction to neural networks Ahmad Hammoudeh
 
Ece512 h1 20139_621386735458ece512_test2_solutions
Ece512 h1 20139_621386735458ece512_test2_solutionsEce512 h1 20139_621386735458ece512_test2_solutions
Ece512 h1 20139_621386735458ece512_test2_solutionsnadia abd
 

Similaire à Lifting 1 (20)

Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20
 
Root Locus Method - Control System - Bsc Engineering
Root Locus Method - Control System - Bsc EngineeringRoot Locus Method - Control System - Bsc Engineering
Root Locus Method - Control System - Bsc Engineering
 
Chapter 2 laplace transform
Chapter 2 laplace transformChapter 2 laplace transform
Chapter 2 laplace transform
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing
 
Teknik Simulasi
Teknik SimulasiTeknik Simulasi
Teknik Simulasi
 
Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1] Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1]
 
Advanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfAdvanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdf
 
Course-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfCourse-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdf
 
2_1 Edit Distance.pptx
2_1 Edit Distance.pptx2_1 Edit Distance.pptx
2_1 Edit Distance.pptx
 
Asymptotic Notation
Asymptotic NotationAsymptotic Notation
Asymptotic Notation
 
INTRODUCTION TO CIRCUIT THEORY (A PRACTICAL APPROACH)
INTRODUCTION TO CIRCUIT THEORY (A PRACTICAL APPROACH)INTRODUCTION TO CIRCUIT THEORY (A PRACTICAL APPROACH)
INTRODUCTION TO CIRCUIT THEORY (A PRACTICAL APPROACH)
 
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdfreservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
reservoir-modeling-using-matlab-the-matalb-reservoir-simulation-toolbox-mrst.pdf
 
study Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Imagesstudy Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Images
 
2_EditDistance_Jan_08_2020.pptx
2_EditDistance_Jan_08_2020.pptx2_EditDistance_Jan_08_2020.pptx
2_EditDistance_Jan_08_2020.pptx
 
Algorithm Design and Analysis
Algorithm Design and AnalysisAlgorithm Design and Analysis
Algorithm Design and Analysis
 
Sistemas de control para ingenieria 3ra edicion norman s. nise sol
Sistemas de control para ingenieria  3ra edicion  norman s. nise solSistemas de control para ingenieria  3ra edicion  norman s. nise sol
Sistemas de control para ingenieria 3ra edicion norman s. nise sol
 
Hadoop Summit 2010 Multiple Sequence Alignment Using Hadoop
Hadoop Summit 2010 Multiple Sequence Alignment Using HadoopHadoop Summit 2010 Multiple Sequence Alignment Using Hadoop
Hadoop Summit 2010 Multiple Sequence Alignment Using Hadoop
 
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
 
Introduction to neural networks
Introduction to neural networks Introduction to neural networks
Introduction to neural networks
 
Ece512 h1 20139_621386735458ece512_test2_solutions
Ece512 h1 20139_621386735458ece512_test2_solutionsEce512 h1 20139_621386735458ece512_test2_solutions
Ece512 h1 20139_621386735458ece512_test2_solutions
 

Dernier

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your QueriesExploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your QueriesSanjay Willie
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Dernier (20)

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your QueriesExploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

Lifting 1

  • 2. Outline • Introduction to wavelets and lifting scheme • Basic Ideas – Split, Predict, Update – In-place computation • Simple Examples – Lifting version of Haar – Linear interpolating wavelet
  • 3. General Concepts • Wavelets are building blocks that can quickly decorrelate data • Most signals in life have correlation in time and frequency – temporal coherence and banded frequency • Build wavelets that: – Are compactly support (good time resolution; able to more localize spatial features) later – Have banded spectrum (good frequency resolution) • smoothness (decay towards high freq) • Have vanishing moments (decay towards low freq)
  • 4. How lifting scheme differs from classical wavelets • Developed in 1994 by Wim Sweldens • All constructions are derived in the spatial domain • Faster implementation Recall how PR – In some cases, the number of operations halved of orthogonal • In-place computation – No auxiliary memory required wavelets are verified … • Easy to invert – In classical derivations, perfect reconstruction must be verified via Fourier transforms
  • 5. Lifting in Second Generation Wavelets • True power of lifting is to construct wavelets in settings where classical (translation and dilation) and Fourier transform cannot be used: – Bounded domain • Avoid ad-hoc solutions: periodicity, zero-padding, reflection around edges … – Wavelets on curves and surfaces – Irregular sampling – …
  • 6. Basic Ideas • Forward transform: three stages – Split the data into two smaller subsets: s/detail • e.g., interlace sampling (lazy wavelet) – Predict the subset based on the local correlation in the original data • Replace the detail as the difference between data and prediction. (If prediction is reasonable, difference will be small) – Update and maintain some global properties of data with original data • (e.g., overall signal average) • Inverse transform: – Simply reverse order of operations and signs (+|-, *|/)
  • 7. That is, … (Forward Transform) Original signal ( s j −1 , d j −1 ) := Split( s j ) difference signal − = P(s j −1 ) d j −1 s j −1 s: even indices d: odd indices + = U(d j −1 ) coarsened signal sj s j ,0 s j ,1 ... ... s j ,2n s j , 2 n +1 sj-1, dj-1 s j −1, 0 d j −1, 0 ... ... s j −1,n d j −1,n
  • 8. Inverse Transform s j −1 − = U(d j −1 ) d j −1 + = P(s j −1 ) s j := Merge(s j −1 , d j −1 ) • Observe the similarity with forward transform !
  • 9. Schematically, … Hi-wire: coarsened signal forward Convention: ( 水平 ) – ( 垂 直) Lo-wire: difference signal inverse
  • 10. Simple Examples Haar (lifting version) Linear Interpolating Wavelet
  • 11. Revisit Haar a slightly different version Forward Transform a+b s= 2 d =b−a [9 s d [ 8 4] [ − 2 2] s Preserve “average”; not “energy” 7 3 5] [ 6] [ − 4] d
  • 12. Haar (cont) Inverse Transform a = s−d /2 [9 7 3 5] b = s+d /2 s d 8 = 6 − (−4) 1 2 4 = 6 + 1 (−4) 2 9  8 1  − 2   = −    3  4 2  2        [ 8 4] [ − 2 2] s [ 6] [ − 4] 7 8 1  − 2   = +    5  4 2  2        d a b
  • 13. Haar and Lifting • Rewrite expressions (forward) a+b s= 2 d =b−a no need for var d and s b−=a d =b−a  → a+ = b / 2 s = a+d /2 b replaces d a replaces s
  • 14. Haar and Lifting (cont) • Inverse Transform: – Reverse order of operations – exchange plus/minus a− = b / 2 b+=a • Facilitate in-place computation
  • 15. Ex: Haar (Lifting) [9 7 3 5] s2,0 s2,1 s2, 2 s2,3 b−=a a+ = b / 2 [8 − 2 4 2] s1,0 d1,0 s1,1 d1,1 b−=a a+ = b / 2 [6 − 2 − 4 2] s0,0 d1,0 d 0,0 d1,1 Note this order is different from Mallat’s order! [6 − 4 − 2 2] = [ s0,0 d 0,0 d1,0 d1,1 ]
  • 16. In-place Computation • Only one set of array is used • Data are overwritten during the computation • Saves overhead for allocating multiple arrays s2,0 s2,1 s2, 2 s2,3 s1,0 d1,0 s1,1 d1,1 s0,0 d1,0 d 0,0 d1,1 Operate on the same piece Operate on the same piece of memory of memory
  • 17. Lifted Haar (inverse transform) [9 7 3 5] s2,0 s2,1 s2, 2 s2,3 a− = b / 2 b+=a [8 − 2 4 2] s1,0 d1,0 s1,1 d1,1 a− = b / 2 b+=a [6 − 2 − 4 2] s0,0 d1,0 d 0,0 d1,1
  • 18. Give exact prediction if function were constant Predict: how the data fail to be constant • eliminate zeroth order correlation • Order of predictor = 1 Order: has to do with polynomial reproduction (more later) Update: preserve average • zeroth order moment • Order of Update operator = 1
  • 19. Haar & Lifting PHaar ( x) = x U Haar ( x) = x / 2 ( s j −1 , d j −1 ) := Split( s j ) d j −1 − = P( s j −1 ) s j −1 + = U(d j −1 ) s j −1 − = U(d j −1 ) d j −1 + = P( s j −1 ) s j := Merge(s j −1 , d j −1 )
  • 21. Double Check [9 7 3 5] 8× 1 + [8 − 2 4 2] s1,0 d1,0 s1,1 d1,1 4× + ½ -2 × -½ Note the wavelet definition is different 1 2× + ½ -½
  • 22. Lifting Framework 93 84 93 9735 9735 75 -2 2 75 PHaar ( s j −1,k ) = s j −1,k U: to ensure coarsened signal preserves average U Haar (d j −1,k ) = d j −1,k / 2
  • 24. Lifting Ordering f s2 s1 s0 d2 d1 d0 final result f0 f1 f2 f3 f4 f5 f6 f7 s2 , 0 (n=8) d 2,0 s2,1 d 2,1 s2 , 2 d 2, 2 s2, 3 d 2,3 s1, 0 d1, 0 s1,1 s0 , 0 s0 , 0 d1,1 d 0, 0 d 2,0 d1, 0 d 2,1 d 0, 0 d 2, 2 d1,1 d 2,3
  • 25. About Demo Implementation #define S(j,l) ss[(l)*INCR[JMAX-(j)]] // increment #define D(j,l) ss[INCR[JMAX-((j)+1)]+(l)*INCR[JMAX-(j)]] // offset + increment ndata = 16 JMAX = 4 INCR 2 3 4 2 4 8 16 s4,1 s4, 2 s4 , 3 s4 , 4 s3,0 d 3, 0 s3,1 d 3,1 s3, 2 d 3, 2 s3,3 d 3,3 s3, 4 d 3, 4 s3,5 d 3,5 s3,6 d 3,6 s3, 7 d 3,7 s2 , 0 d 2, 0 s2,1 d 2,1 d 2, 2 s2 , 3 d 2,3 s1, 0 s0 , 0 d1,0 s4 , 5 1 1 s4 , 0 0 s4 , 6 s4 , 7 s4 ,8 s2 , 2 s1,1 d 0,0 s4,9 s4,10 s4,11 s4,12 s4,13 s4,14 s4,15 d1,1
  • 26. Linear Interpolating Wavelet • more powerful lifting • Predictor (Order = 2) – Exact for linear data • Update (Order = 2) Predictor d j −1,l = d j −1,l 1 − ( s j −1,l + s j −1,l +1 ) 2 – Preserve the average and first moment
  • 27. Linear Interpolating (Predictor) d j −1,l = d j −1,l − 1 ( s j −1,l + s j −1,l +1 ) 2
  • 28. Linear Interpolating Wavelet (Update) ∑ s j −1,l = Preserve average l 1 ∑ s j ,l 2 l Propose update of s j −1,l = s j , 2 l + A( d j −1,l −1 + d j −1,l ) the form : ∑s l j −1,l use results already computed = ∑ s j , 2l + 2 A∑ d j −1,l l l [ = ∑ s j , 2l + 2 A∑ s j , 2l +1 − 1 ( s j , 2l + s j , 2l + 2 ) 2 l l = (1 − 2 A)∑ s j , 2l + 2 A∑ s j , 2l +1 l Therefore, A = 1 / 4 l ]
  • 29. Linear Wavelet (Update) original signal s j −1,l = s j −1,l coarsened signal 1 + ( d j −1,l −1 + d j −1,l ) 4 Preserve average is equivalent Preserve average is equivalent to having zero mean difference to having zero mean difference
  • 30. Preservation of 1st Moment 1 ∑ l ⋅ s j −1,l = 2 ∑ l ⋅ s j ,l satisfied due to symmetry l l ⇒ Order of Update = 2 We will refer this as the dual order of MRA
  • 32. assume data periodicity assume data periodicity Numeric Example (linear wavelet) 2 4 4 6 10 12 8 6 2 4 4 6 2 1 4 −1 10 3 8 1 2 1 4 6 2 1 4 − 1 10.5 3 9 1 2.5 1 4 Forward 6 Average: 26/4 2 1 4 −1 10 2 4 4 6 3 8 1 2 1 4 6 10 12 8 6 2 4 4 6 Average: 52/8 Inverse
  • 33. Remarks • By substituting the predictor into update one gets 1 1 3 1 1 s j −1,l = − s j , 2l − 2 + s j , 2l −1 + s j , 2l + s j , 2l +1 − s j , 2l + 2 8 4 4 4 8 • This is biorthogonal (2,2) of CDF – CDF: Cohen-Daubechies-Feauveau – More computations in this form (and cannot be done inplace) – Inverse transform harder to get (rely on Fourier-based techniques)
  • 34. Homeworks • Review the derivation of PR for orthogonal wavelets • Verify that reversing order of operations indeed inverses the transform • Write a program that does general lifting. Implement Haar and linear interpolation. Compare. • Verify the CDF (2,2) formula
  • 35. Homework: lifting version of D4 Speed up ratio!? Wiring diagram!?
  • 37. Q • In lifting, it seems that forward and inverse use the same P and U boxes. Then, are H_tilda (G_tilda) and H (G) are related? … unlike what we mentioned in biorthogonal wavelets?

Notes de l'éditeur

  1. Smooth: able to localize (isolate) low frequencies (low pass: filtering out high freq)
  2. Periodicity assumption: artificial discontinuity generated
  3. Verify indeed “inverse the forward”
  4. Here: energy is not conserved; instead, the average of signal is preserved. (6 is the average of 9, 7, 3, 5)
  5. Here ½ is considered as a weighting coefficient, not a multiplication. Thus, not changed in the inverse. Compare B-spline case.
  6. Try it out … In general …
  7. A bit hand wavy; revisit in lifting-2
  8. See p.52 of SIGGRAPH 96
  9. # of samples odd?! (boundary effects) … here the discussion is restricted to 1st generation wavelets (must assume periodicity; See next page).
  10. HW: check out it works for even number of samples too. Test circular data set (for equivalence of average)
  11. do the inverse transform and verify biorthogonality This is H_tilda; What happened to G_tilda, H, G?
  12. HW: Plot the schematic diagram (P, U) Compute speed up ratio? Verify equivalence