Docsity

Total Variation Denoising Homework - Prof. Li-Tien Cheng, Assignments of Mathematics

Toggle sidebar
bg1
Homework #6
Turn in the problems marked with a (*).
1. Let total variation denoising refer to minimization of
Zd
cZb
a|∇u|dx dy
using the steepest descent process
ut=∆u
q|∇u|2+2−∇u· ∇2u∇u
(|∇u|2+2)3/2
with Euler’s method in time and central differencing for derivatives in space.
2. (*) Perform total variation denoising with Neumann boundary conditions on “pic8.bmp”
using ∆x= 1, ∆t=∆x2/4, = 0.01, for 0,10,200 steps. Print out your results and
turn them in. Also write down the value of pixel (5,7) after the 100th step.
3. (*) Add the computation of
height−2
X
j=0
width−2
X
i=0 q(fi+1,j −fi,j)2+ (fi,j +1 −fi,j)2
to the steps of your total variation denoising. Perform total variation denoising with
Neumann boundary conditions on “pic7.bmp” using ∆x= 1, ∆t=∆x2/4, = 0.01.
Print out your picture after the 100th step and write on the printout the values of your
sums for the 0th, 20th, and 100th steps.
4. (*) Add normally distributed noise with mean 0 and standard deviation 0.2 to “pic6.bmp”.
Perform total variation denoising with Neumann boundary conditions on this image
using ∆x= 1, ∆t=∆x2/4, = 0.01. Choose the step that gives what you think are
the best results. Print out the original noisy image and your results and turn them in.
5. Put salt and pepper noise with probability 0.25 for black and 0.25 for white to “pic6.bmp”.
Perform total variation denoising with Neumann boundary conditions on this image
using ∆x= 1, ∆t=∆x2/4, = 0.01. Look at the original noisy image and your
results after the 1000th step.
1

Partial preview of the text

Download Total Variation Denoising Homework - Prof. Li-Tien Cheng and more Assignments Mathematics in PDF only on Docsity!

Homework # Turn in the problems marked with a (*).

  1. Let total variation denoising refer to minimization of

∫ (^) d

c

∫ (^) b

a

|∇u| dx dy

using the steepest descent process

ut =

∆u √ |∇u|^2 + ^2

∇u · ∇^2 u∇u (|∇u|^2 + ^2 )^3 /^2

with Euler’s method in time and central differencing for derivatives in space.

  1. (*) Perform total variation denoising with Neumann boundary conditions on “pic8.bmp” using ∆x = 1, ∆t = ∆x^2 /4,  = 0.01, for 0, 10 , 200 steps. Print out your results and turn them in. Also write down the value of pixel (5, 7) after the 100th step.
  2. (*) Add the computation of

height∑− 2

j=

width∑− 2

i=

√ (fi+1,j − fi,j )^2 + (fi,j+1 − fi,j )^2

to the steps of your total variation denoising. Perform total variation denoising with Neumann boundary conditions on “pic7.bmp” using ∆x = 1, ∆t = ∆x^2 /4,  = 0.01. Print out your picture after the 100th step and write on the printout the values of your sums for the 0th, 20th, and 100th steps.

  1. (*) Add normally distributed noise with mean 0 and standard deviation 0.2 to “pic6.bmp”. Perform total variation denoising with Neumann boundary conditions on this image using ∆x = 1, ∆t = ∆x^2 /4,  = 0.01. Choose the step that gives what you think are the best results. Print out the original noisy image and your results and turn them in.
  2. Put salt and pepper noise with probability 0.25 for black and 0.25 for white to “pic6.bmp”. Perform total variation denoising with Neumann boundary conditions on this image using ∆x = 1, ∆t = ∆x^2 /4,  = 0.01. Look at the original noisy image and your results after the 1000th step.