Laplacian approximation on graphs applied to signal and image - - PowerPoint PPT Presentation

laplacian approximation on graphs
SMART_READER_LITE
LIVE PREVIEW

Laplacian approximation on graphs applied to signal and image - - PowerPoint PPT Presentation

Laplacian approximation on graphs applied to signal and image restoration by Ph.D. Davide Bianchi Universit` a degli Studi dellInsubria Dip. di Scienze e Alta Tecnologia Como, 16 th of July 2018 1 of 30 Our model problem y = x +


slide-1
SLIDE 1

Laplacian approximation on graphs

applied to signal and image restoration by Ph.D. Davide Bianchi

Universit` a degli Studi dell’Insubria

  • Dip. di Scienze e Alta Tecnologia

Como, 16th of July 2018

1 of 30

slide-2
SLIDE 2

Our model problem

yδ = K ∗ x + noise

  • K represents the blur and it is severely ill-conditioned (compact

integral operator of the first kind);

  • yδ are known measured data (blurred and noisy image);
  • noise ≤ δ.

2 of 30

slide-3
SLIDE 3

Let’s reformulate the problem

  • Tikhonov: argmin

x∈Rn Kx − y2 2 + αx2 2

3 of 30

slide-4
SLIDE 4

Let’s reformulate the problem

  • Tikhonov: argmin

x∈Rn Kx − y2 2 + αx2 2

  • Generalized Tikhonov: argmin

x∈Rn Kx − y2 2 + αLx2 2.

L is semi-positive definite and ker(L) ∩ ker(K) = 0. ker(L) should ‘approximate the features ’of x†

3 of 30

slide-5
SLIDE 5

Laplacian - Finite Difference approximation

Poisson (Sturm-Liouville) problem on [0, 1]:      −∆x(t) = f(t) t ∈ (0, 1), α1x(0) + β1x′(0) = γ1, α2x(1) + β2x′(1) = γ2. If we consider Dirichlet homogeneous boundary conditions (x(0) = x(1) = 0) and 3-point stencil FD approximation: −∆x(t) ≈ −x(t − h) + 2x(t) − x(t + h) h2 , h2 = n−2, −L =      2 −1 · · · −1 2 −1 · · · ... ... ... −1 2      ker(L) = 0.

4 of 30

slide-6
SLIDE 6

Laplacian - Finite Difference approximation

· · · If we consider Neumann homogeneous boundary conditions (x′(0) = x′(1) = 0) and 3-point stencil FD approximation: −∆x(t) ≈ −x(t − h) + 2x(t) − x(t + h) h2 , h2 = n−2, −L =      1 −1 · · · −1 2 −1 · · · ... ... ... −1 1      ker(L) = Span{ 1}.

5 of 30

slide-7
SLIDE 7

An easy 1d example of oversmoothing - part 2

Blur taken from Heat(n, κ) in Regtools, n = 100, κ = 1 and 2%

  • noise. True solution:

x† : [0, 1] → R s.t. x†(t) =

  • if 0 ≤ t ≤ 0.5,

1 if 0.5 < t ≤ 1.

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

  • 0.2

0.2 0.4 0.6 0.8 1 1.2

True solution Tik + L dirichlet Tik + L neumann blurred&noisy signal

6 of 30

slide-8
SLIDE 8

Graph Laplacian

  • An image/signal x can be represented by a weighted undirected

graph G = (V, E, w):

  • the nodes vi ∈ V are the pixels of the image/signal and xi ≥ 0 is the

color intensity of x at vi.

  • an edge ei,j ∈ E ⊆ V × V exists if the pixels vi and vj are connected,

i.e., vi ∼ vj.

  • w : E → R is a similarity (positive) weight function, w(ei,j) = wi,j.
  • The graph Laplacian is defined as

−∆(n)

w xi =

  • vj∼vi

wi,j (xi − xj) ,

  • wi,j > 0

if vj ∼ vi, wi,j = 0

  • therwise.

7 of 30

slide-9
SLIDE 9

Graph Laplacian - Example

  • Example. In the 1d case, if we define

vi ∼ vj iff i = j + 1 or i = j − 1, wi,j =

  • 1

if vi ∼ vj,

  • therwise,

then it holds −∆(n)

w

= L(n)

w

=      1 −1 · · · −1 2 −1 · · · ... ... ... −1 1      .

8 of 30

slide-10
SLIDE 10

Question

Why should the red points be connected?

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

  • 0.2

0.2 0.4 0.6 0.8 1 1.2

9 of 30

slide-11
SLIDE 11

Answer

They should not, indeed

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

  • 0.2

0.2 0.4 0.6 0.8 1 1.2

true Tik + graph

L(n)

w

=

  • L(n/2)

w

L(n/2)

w

  • 10 of 30
slide-12
SLIDE 12

Problems

  • Detection of the discontinuity points.

11 of 30

slide-13
SLIDE 13

Problems

  • Detection of the discontinuity points.
  • pre-denoising + first derivatives?

11 of 30

slide-14
SLIDE 14

Problems

  • Detection of the discontinuity points.
  • pre-denoising + first derivatives?
  • Choice of the weights wi,j. Indeed, for example another common

choice of the weights is: wi,j =    e−

vi−vj 2σ2

if vi − vj ≤ δ/2,

  • therwise,

11 of 30

slide-15
SLIDE 15

Problems

  • Detection of the discontinuity points.
  • pre-denoising + first derivatives?
  • Choice of the weights wi,j. Indeed, for example another common

choice of the weights is: wi,j =    e−

vi−vj 2σ2

if vi − vj ≤ δ/2,

  • therwise,
  • finding the best weights that can approximate the Euclidean Laplacian.

11 of 30

slide-16
SLIDE 16

Approximating the continuous Laplacian by graphs

−L(n)

w

=      1 −1 · · · −1 2 −1 · · · ... ... ... −1 1      ⇒

  • λj(L(n)

w ) = 2 sin

(j − 1)π n

  • 12 of 30
slide-17
SLIDE 17

What does happen when we refine the grid?

13 of 30

slide-18
SLIDE 18

FD approximation - 1/3

We have already highlighted that Finite Difference 3-point stencil ⇐ ⇒ graph-Laplacian Can we argue the same relationship if we use a wider stencil, i.e., if we ”connect” more points?

14 of 30

slide-19
SLIDE 19

FD approximation - 2/3

Let us use a 5-point stencil. −∆x(t) ≈ x(t − 2h) − 16x(t − h) + 30x(t) − 16x(t + h) + x(t − 2h) 12h2 , then −L(n)

w

= −L(n)

w

=             15 12 −16 12 1 12 · · · −16 12 31 12 −16 12 1 12 · · · ... ... ... ... · · · 1 12 −16 12 30 12 −16 12 1 12 · · · ... ...             .

15 of 30

slide-20
SLIDE 20

FD approximation 3/3

We have seen that negative weights appear. Does it make sense?

  • Does it approximate better the continuous Laplacian? Yes.
  • Is it still a graph-Laplacian? Yes.
  • Does it improve the reconstruction of our signal/image? Yes.

16 of 30

slide-21
SLIDE 21

Spectral approximation

17 of 30

slide-22
SLIDE 22

graph-Laplacian - distributional point of view

−x′′(t0) = x′′(t), δt0(t) = − lim

ǫ→0

+∞

−∞

x′′(t)sin((t − t0)πǫ−1) π(t − t0) dµ(t) = − lim

ǫ→0

+∞

−∞

x(t) sin((t − t0)πǫ−1) π(t − t0) ′′ dµ(t) ≈ − (α−kx(t0 − kh) + · · · + α0x(t0) + · · · + αkx(t0 − kh)) , where αj = µ (Ij) · sin((t − t0)πǫ−1) π(t − t0) ′′

|t=t0+jh

. [α−k · · · α−1 α0 α1 · · · αk] is our stencil for the Toeplitz.

18 of 30

slide-23
SLIDE 23

Signed measures - 1/2

αj = µ (Ij) · sin((t − t0)πǫ−1) π(t − t0) ′′

|t=t0+jh

,      µ (Ij) > 0 always sin((t − t0)πǫ−1) π(t − t0) ′′

|t=t0+jh

changes sign. Is it so dramatic that the sequence αj change signes?

Remark

The Lebesgue measure dµ(·) on [0, 1] can be weakly approximated by a sequence of signed measures: dµ(·) = lim

n→∞ n−1 n

  • k=1

sin((t − tk)πn) π(t − tk) dµ(·)

19 of 30

slide-24
SLIDE 24

Signed measures - 2/2

Fact: the spectrum of the graph-Laplacian that arises from FD schemes with increasing connected points, converges to the spectrum

  • f the continuous Laplacian operator.

The stencil converges to the Fourier coefficients of f(θ) = θ2:

  • · · ·

− 1 4 1 2 − 2 π2 3 − 2 1 2 − 1 4 · · ·

  • 20 of 30
slide-25
SLIDE 25

The ’regularization parameter’ is the underlying geometry

graph-Laplacian with 10 points connection and 2 connected components. No tuning of the regularization parameter α

21 of 30

slide-26
SLIDE 26

Detection of the point of discontinuity

22 of 30

slide-27
SLIDE 27

Example - deriv2(n, 3), 2% noise

L(n)

w

=

  • L(n/2)

w

L(n/2)

w

  • L(n/2)

w

=        · · · · · · −2 π2/3 −2 1/2 · · · ... ... ... ... . . . 1/2 −2 π2/3 −2 1/2 · · · · · ·        ker(L(n/2)

w

) = Span{ 1, t}

23 of 30

slide-28
SLIDE 28

2D case - 5 point FD stencil example

      0.0833 0.0833 0.0833 −1.3333 −1.3333 −1.3333 0.0833 −1.3333 10 −1.3333 0.0833 −1.3333 −1.3333 −1.3333 0.0833 0.0833 0.0833      

24 of 30

slide-29
SLIDE 29

2D example - denosing 1/2

25 of 30

slide-30
SLIDE 30

2D example - denoising 2/2

26 of 30

slide-31
SLIDE 31

2D example - Gaussian blur

27 of 30

slide-32
SLIDE 32

Edge detection - 1/2

28 of 30

slide-33
SLIDE 33

Edge detection - 2/2

29 of 30

slide-34
SLIDE 34

Some references

  • Shuman, D. I., Narang, S. K., Frossard, P., Ortega, A., and

Vandergheynst, P., The emerging field of signal processing on graphs: Extending high-dimensional data analysis to networks and

  • ther irregular domains, IEEE Signal Processing Magazine, 30(3),

83-98 (2013).

  • Faber, X. W. C., Spectral convergence of the discrete Laplacian on

models of a metrized graph, New York J. Math, 12, 97-121 (2016).

  • Bianchi, D., and Donatelli, M., On generalized iterated Tikhonov

regularization with operator-dependent seminorms, Electronic Transactions on Numerical Analysis, 47, 73-99 (2017).

  • Gerth, D., Klann, E., Ramlau, R., and Reichel, L., On fractional

Tikhonov regularization. Journal of Inverse and Ill-posed Problems, 23(6), 611-625 (2008).

  • Bianchi, D., and Donatelli, M., Fractional-Tikhonov regularization
  • n graphs for image restoration, preprint.

30 of 30