


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Name: Yuchen Xie UFID: 4636- Email: [email protected] Date : Nov. 12, 2007
Problem 1
Proof. In order to normalize the effect, we could change the mean-squared error (MSE) to Normalized MSE:
N MS E(m, n) =
i
j(^ f^ (i,^ j)^ −^ g(i,^ j))
2 ∑ i
j g(i,^ j)^2
Problem 2
Proof. The function we want to minimize is
C(S ) =
F(x, S , S ′, S ′′)dx =
{λ(S ′′(x))^2 + ( f (x) − S (x))^2
k
δ(x − xk)}dx.
Thus the Euler-Lagrange equation for this minimization problem is
d dx
d^2 dx^2
⇒ −2( f (x) − S (x))
k
δ(x − xk) +
d^2 dx^2
(2λS ′′(x)) = 0
⇒ λS (4)(x) + (S (x) − f (x))
k
δ(x − xk) = 0
Problem 3
2 Homework 3 Yuchen Xie
Proof. The distance metric in a plane is ds =
(dx)^2 + (dy)^2. If we use polar
coordinates, it can be written as ds =
(dρ)^2 + ρ^2 (dθ)^2. We could use θ as the parameter. The distance between two points A and B is
E =
∫ (^) θ 2
θ 1
F(ρ, ρ′)dθ =
∫ (^) θ 2
θ 1
ρ′(θ)^2 + ρ(θ)^2 dθ
Because F(ρ, ρ′) doesn’t contain θ, we could use the first integral formula of Euler- Lagrange equation.
F(ρ, ρ′) − ρ′^
∂F(ρ, ρ′) ∂ρ′^
where C is a constant.
⇒
ρ′^2 + ρ^2 −
ρ′^2 √ ρ′^2 + ρ^2
Then, we get
ρ′^ = ±
ρ^4 − C^2 ρ^2.
Integrate both sides of this equation ∫ C ρ
ρ^2 − C^2
dρ = ±θ + θ 0
where theta 0 is a constant. Let ρ = C sec ϕ, we can get ϕ = ±θ + θ 0. Thus we have the shortest path between A and B: ρ cos(±θ + θ 0 ) = C, which is the line passing points A and B.
Problem 4
Proof. In the minimizing surface problem
ε(A) =
F(p, q)dxdy =
(1 + p^2 + q^2 )dxdy
the necessary condition for minimizing ε(A) is the Euler-Lagrange equation.
FZ −
∂FZx ∂x
∂FZy ∂y
∂x^2
∂y^2
Thus the necessary condition is −∆Z = 0.
Problem 5
4 Homework 3 Yuchen Xie
Problem 7
Proof. Because we hope to compute the surface f (x, y) with constraints N(xi, yi) and d(xi, yi), we could formulate this problem according to the following varia- tional principle. ε( f ∗) = inf f
ε( f ) = inf f
S ( f ) + P( f )
where S ( f ) is the energy functional measures the smoothness of f (x, y) and P( f ) is the penalty functional.
S ( f ) =
λ(x, y)(τ(x, y)( f (^) xx^2 + 2 f (^) xy^2 + f (^) yy^2 ) + (1 − τ(x, y))( f (^) x^2 + f (^) y^2 ))dxdy
P( f ) =
i
[kd( f (xi, yi)−d(xi, yi))^2 +kp( fx(xi, yi)−p(xi, yi))^2 +kq( fy(xi, yi)−q(xi, yi))^2 ]
Because the normal of the surface f (x, y) is ( fx, fy, −1), we could change N(xi, yi) as (p(xi, yi), q(xi, yi), −1). Let ui, j = u(ih, jh). The discrete forms of those energy functional are
S =
i, j
λi, j{
τi, j h^2
[( fi+ 1 , j − 2 fi, j + fi− 1 , j)^2 + 2( fi+ 1 , j+ 1 − fi, j+ 1 − fi+ 1 , j + fi, j)^2
+( fi, j+ 1 − 2 fi, j + fi, j− 1 )^2 ] + (1 − τi, j)[( fi+ 1 , j − fi, j)^2 + ( fi, j+ 1 − fi, j)^2 ]}
i, j
[kdi, j( fi, j − di, j)^2 + kpi, j(
2 h
( fi+ 1 , j − fi− 1 , j) − pi, j)^2 + kqi, j(
2 h
( fi, j+ 1 − fi, j− 1 ) − qi, j)^2 ]
Now the corresponding Euler-Lagrange equations are
0 = ( fi, j − 2 fi− 1 , j + fi− 2 , j)μi− 1 , j + (− 2 fi+ 1 , j + 4 fi, j − 2 fi− 1 , j)μi, j
+( fi+ 1 , j − 2 fi+ 1 , j + fi, j)μi+ 1 , j + (2 fi, j − 2 fi− 1 , j − 2 fi, j− 1 + 2 fi− 1 , j− 1 )μi− 1 , j− 1 +(− 2 fi+ 1 , j + 2 fi, j + 2 fi+ 1 , j− 1 − 2 fi, j− 1 )μi, j− 1 + (− 2 fi, j+ 1 + 2 fi− 1 , j+ 1 + 2 fi, j − 2 fi− 1 , j)μi− 1 , j +(2 fi+ 1 , j+ 1 − 2 fi, j+ 1 − 2 fi+ 1 , j + 2 fi, j)μi, j + ( fi, j − 2 fi, j− 1 + fi, j− 2 )μi, j− 1 +(− 2 fi, j+ 1 + 4 fi, j − 2 fi, j− 1 )μi, j + ( fi, j+ 2 − 2 fi, j+ 1 + fi, j)μi, j+ 1 +( fi, j − f i − 1 , j)ηi− 1 , j + ( fi, j − fi+ 1 , j)ηi, j + ( fi, j − fi, j− 1 )ηi, j− 1 +( fi, j − f i, j + 1)ηi, j + kdi, j( fi, j − di, j)
+(
kpi− 1 , j 4 h^2
( fi, j − fi− 2 , j) −
kpi− 1 , j 2 h
pi− 1 , j) + (
kpi+ 1 , j 4 h^2
( fi, j − fi+ 2 , j) +
kpi+ 1 , j 2 h
pi+ 1 , j)
kqi, j− 1 4 h^2
( fi, j − fi, j− 2 ) −
kqi, j− 1 2 h
qi, j− 1 ) + (
kqi, j+ 1 4 h^2
( fi, j − fi, j+ 2 ) +
kqi, j+ 1 2 h
qi, j+ 1 )
where μi, j = λi, jτi, j/h^2 and ηi, j = λi, j(1 − τi, j). The above Euler-Lagrange equations can be written in matrix form. We could use iterative techniques (Gauss Seidel) to solve this problem.