Download presentation
Presentation is loading. Please wait.
Published byRolf Rodgers Modified over 9 years ago
1
Signal reconstruction from multiscale edges A wavelet based algorithm
2
Author Yen-Ming Mark Lai (ylai@amsc.umd.edu)ylai@amsc.umd.edu Advisor Dr. Radu Balan rvbalan@math.umd.edu CSCAMM, MATH
3
Reference “Characterization of Signals from Multiscale Edges” Stephane Mallat and Sifen Zhong IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 14, pp 710- 732, July 1992
4
Motivation
5
Input Signal (256 points) Which points to save?
6
Compressed Signal (37 points) What else for reconstruction?
7
Compressed Signal (37 points) sharp one-sided edge
8
Compressed Signal (37 points) sharp two-sided edge
9
Compressed Signal (37 points) “noisy” edges
10
Calculation Reconstruction: edges edge type information Original:(256 points) (37 points) (x points)
11
37 Compression edges edge type + x<256
12
Summary Save edges
13
Summary Save edge type sharp one- sided edge sharp two- sided edge “noisy” edges
14
Summary edgesedge typereconstruct +=
15
Algorithm Decomposition + Reconstruction
16
Decomposition Discrete Wavelet Transform Save edges e.g. local extrema Input “edges+edge type”
17
Reconstruction Find approximation Inverse Wavelet Transform Output local extrema “edges+edge type”
18
What is Discrete Wavelet Transform? Discrete Wavelet Transform Input
19
What is DWT? 1)Choose mother wavelet 2)Dilate mother wavelet 3)Convolve family with input DWT
20
1) Choose mother wavelet
21
2) Dilate mother wavelet mother wavelet dilate
22
2) Dilate mother wavelet
23
Convolve family with input input wavelet scale 1 wavelet scale 2 wavelet scale 4 = = =
24
Convolve “family” input wavelet scale 1 wavelet scale 2 wavelet scale 4 = = = DWT multiscale
25
What is DWT? (mathematically)
26
How to dilate? mother wavelet
27
How to dilate? dyadic (powers of two)
28
How to dilate? scale
29
How to dilate? z halve amplitude double support
30
Mother Wavelet (Haar) scale 1, j=0
31
Mother Wavelet (Haar) scale 2, j=1
32
Mother Wavelet (Haar) scale 4, j=2
33
What is DWT? Convolution of dilates of mother wavelets against original signal.
34
What is DWT? Convolution of dilates of mother wavelets against original signal. convolution
35
What is DWT? Convolution of dilates of mother wavelets against original signal. dilates
36
What is DWT? Convolution of dilates of mother wavelets against original signal. original signal
37
What is convolution? (best match operation) Discrete Wavelet Transform Input 1)mother wavelet 2)dilation 3)convolution
38
Convolution (best match operator) dummy variable
39
Convolution (best match operator) flip g around y axis
40
Convolution (best match operator) shifts g by t
41
do nothing to f Convolution (best match operator)
42
pointwise multiplication
43
Convolution (best match operator) integrate over R
44
flip g and shift by 7.7 Convolution (one point)
45
do nothing to f Convolution (one point)
46
multiply f and g pointwise Convolution (one point)
47
integrate over R Convolution (one point)
48
scalar
49
Convolution of two boxes
59
Why convolution? Location of maximum best fit
60
Where does red box most look like blue box?
61
Why convolution? Location of maximum best fit maximum
62
Why convolution? Location of maximum best fit maximabest fit location
63
Where does exponential most look like box?
65
maximum
66
Where does exponential most look like box? maximum best fit location
67
So what? If wavelet is an edge, convolution detects location of edges
68
Mother Wavelet (Haar)
71
What is edge? Local extrema of wavelet transform
72
Summary of Decomposition Discrete Wavelet Transform Save “edges” e.g. local extrema Input “edges+edge type”
73
Summary of Decomposition input edge detection (scale 1) edge detection (scale 2) edge detection (scale 4) = = =
74
How to find approximation? Find approximation local extrema “edges+edge type”
75
Find approximation (iterative) Alternate projections between two spaces
76
Find approximation (iterative)
77
H_1 Sobolev Norm
78
Find approximation (iterative) functions that interpolate given local maxima points
79
Find approximation (iterative) dyadic wavelet transforms of L^2 functions
80
Find approximation (iterative) intersection = space of solutions
81
Find approximation (iterative) Start at zero element to minimize solution’s norm
82
Q: Why minimize over K? A: Interpolation points act like local extrema
83
Reconstruction Find approximation (minimization problem) Inverse Wavelet Transform Output
84
Example Input of 256 points
85
Input Signal (256 points)
86
major edges
87
Input Signal (256 points) minor edges (many)
88
Discrete Wavelet Transform Dyadic (powers of 2) = DWT of “f” at scale 2^j
89
DWT (9 scales, 256 points each)
90
major edges
91
Input Signal (256 points) major edges
92
DWT (9 scales, 256 points each) minor edges (many)
93
Input Signal (256 points) minor edges (many)
94
Decomposition Discrete Wavelet Transform Save “edges” e.g. local extrema Input
95
DWT (9 scales, 256 points each)
96
Save Local Maxima
97
Local Maxima of Transform
98
low scale most sensitive
99
Mother Wavelet (Haar)
100
Local Maxima of Transform high scale least sensitive
101
Mother Wavelet (Haar)
102
Decomposition Discrete Wavelet Transform Save “edges” e.g. local extrema Input
103
Local Maxima of Transform
104
Find approximation (iterative) Alternate projections between two spaces
105
Reconstruction Find approximation (minimization problem) Inverse Wavelet Transform Output
106
Mallat’s Reconstruction (20 iterations)
107
original reconstruction (20 iterations)
108
Implementation Language: MATLAB –Matlab wavelet toolbox Complexity: convergence criteria
109
Databases Baseline signals –sinusoids, Gaussians, step edges, Diracs Audio signals
110
Validation Unit testing of components –DWT/IDWT –Local extrema search –Projection onto interpolation space (\Gamma)
111
Testing L2 norm of the error (sum of squares) versus iterations Saturation point in iteration (knee)
112
Schedule (Coding) October/November – code Alternate Projections (8 weeks) December – write up mid-year report (2 weeks) January – code local extrema search (1 week)
113
Schedule (Testing) February/March – test and debug entire system (8 weeks) April – run code against database (4 weeks) May – write up final report (2 weeks)
114
Milestones December 1, 2010 – Alternate Projections code passes unit test February 1, 2011 – local extrema search code passes unit test April 1, 2011 - codes passes system test
115
Deliverables Documented MATLAB code Testing results (reproducible) Mid-year report/Final report
116
Summary Discrete Wavelet Transform Save edges e.g. local extrema Input Find approximation Inverse Wavelet Transform Output Questions?
117
Supplemental Slides
118
Similar Idea to JPEG Discrete Fourier Transform Save largest coefficients Inverse Discrete Fourier Transform
119
Comparison of algorithms DFT Save largest coefficients IDFT DWT (Redundant) Save local maxima on each scale Find approximation IDWT
120
Problem Definition Given: –positions –values of local maxima of |W_2^j f(x)| at each scale Find: –Approximation h(x) of f(x) –or equivalently W_{2^j} h(x)
121
Maxima Constraint I At each scale 2^j, for each local maximum located at x_n^j, e.g. W h(x) = W f(x) at given set of local maxima points (interpolation problem) at each scale
122
Maxima Constraint II At each scale 2^j, the local maxima of |W_2^j h(x)| are located at the abscissa (x_n^j)_n \in Z e.g Local maxima of |W h(x)| are local maxima of |W f(x)| at each scale
123
Maxima Constraint II Constraint not convex (difficult to analyze) Use convex constraint instead: local maxima of |W h(x)| at certain points |W h(x)|^2 and |d W h(x)|^2 small as possible on average OriginalApproximation
124
Maxima Constraint “II” Minimize |W h(x)|^2 creates local maxima at specified positions Minimize |d W h|^2 minimize modulus maxima outside specified positions
125
Maxima Constraint “II” Solve minimization problem |||h|||^2= \sum_j ( ||W_{2^j} h ||^2 + 2^{2j} || dW_{2^j}h/ dx ||^2)
126
Solve minimization problem Let K be the space of all sequences of fucntions (g_j^(x) )_j \in Z such that |(g_j(x))_j \in Z|^2 = \sum_j ( \| g_j\| ^2 + 2^{2j} \| \frac{dg_j}{dx} \|^2 < \infty (inspired by condition “II”)
127
V space Let V be the space of all dyadic wavelet tranforms of L^2(R). V \subset K
128
\Gamma space Let \Gamma be the affine space of sequences of functions (g_j(x))_j \in Z \in K such that for any index j and all maxima positions x_n^j g_j(x_n^j)= W_{2^j} f(x_n^j) (inspired by Condition I)
129
\Gamma space One can prove that \Gamma is closed in K
130
Recap K: sequence of functions whose sum of –norm of each element –norm of each element’s derivative is finite V: dyadic wavelet transform of L^2 \Gamma: sequences of functions whose value match those of |W f| at local maxima
131
Condition I in K Dyadic wavelet transforms that satisfy Condition I \Lambda = V \cap \Gamma
132
Condition I + “II” in K Find element of \Lambda = V \cap \Gamma whose norm is minimum Use alternate projections on V and \Gamma
133
Projection on V P_V = W \circ W^{-1} In other words, First: W^-1 dyadic inverse wavelet transform Then: W dyadic wavelet transform
134
Projection on \Gamma At each scale 2^j, add discrete signal e_j^d = ( e_j(n))_{1 \leq n \leq N} that is computed from e_j(x) = \alpha e^{2^{-jx}} + \beta e^{-2^{-jx}} e.g. Add piecewise exponential curves to each function of sequence
135
How to compute coefficients? Solve system of equations given by equation (110)
136
Where to start? Answer: zero element of K e.g. g_j(x) = 0 for all j \in Z
137
Converge to what? Answer: Alternate projections converge to –element of \Lambda (Condition I) –whose norm is minimum (Condition “II”)
138
How fast is convergence? Answer: If (\sqrt{2^j} \psi_{2^j}(x_n^j-x)) is frame and there exists constant 0< D <=1 such that at all scales 2^j the distances between any two consecutive maxima satisfy |x_n^j – x_{n-1}^j | \geq D2^j then, convergence is exponential
139
Convex constraint?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.