Separable Nonlinear Least Squares Problems in Image Processing - - PowerPoint PPT Presentation

separable nonlinear least squares problems in image
SMART_READER_LITE
LIVE PREVIEW

Separable Nonlinear Least Squares Problems in Image Processing - - PowerPoint PPT Presentation

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A ( y ) x + e Example: Image Deblurring Concluding Remarks Separable Nonlinear Least Squares Problems in Image Processing Julianne Chung and James Nagy Emory University Atlanta, GA,


slide-1
SLIDE 1

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Separable Nonlinear Least Squares Problems in Image Processing

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Collaborators: Eldad Haber (Emory) Per Christian Hansen (Tech. Univ. of Denmark) Dianne O’Leary (University of Maryland)

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-2
SLIDE 2

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Inverse Problems in Imaging

Imaging problems are often modeled as: b = Ax + e where A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation of image x

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-3
SLIDE 3

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Inverse Problems in Imaging

A more realistic image formation model is: b = A(y) x + e where A(y) - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known y - parameters defining A, usually approximated Goal: Compute approximation of image x and improve estimate of parameters y

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-4
SLIDE 4

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Deblurring

b = A(y) x + e = observed image where y describes blurring function Given: b and an estimate of y Standard Image Deblurring: Compute approximation of x Better approach: Jointly improve estimate of y and compute approximation of x.

Observed Image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-5
SLIDE 5

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Deblurring

b = A(y) x + e = observed image where y describes blurring function Given: b and an estimate of y Standard Image Deblurring: Compute approximation of x Better approach: Jointly improve estimate of y and compute approximation of x.

Observed Image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-6
SLIDE 6

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Deblurring

b = A(y) x + e = observed image where y describes blurring function Given: b and an estimate of y Standard Image Deblurring: Compute approximation of x Better approach: Jointly improve estimate of y and compute approximation of x.

Reconstruction using initial PSF

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-7
SLIDE 7

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Deblurring

b = A(y) x + e = observed image where y describes blurring function Given: b and an estimate of y Standard Image Deblurring: Compute approximation of x Better approach: Jointly improve estimate of y and compute approximation of x.

Reconstruction after 8 GN iterations

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-8
SLIDE 8

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej (collected low resolution images)

1−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-9
SLIDE 9

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej (collected low resolution images)

8−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-10
SLIDE 10

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej (collected low resolution images)

15−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-11
SLIDE 11

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej (collected low resolution images)

22−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-12
SLIDE 12

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej (collected low resolution images)

29−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-13
SLIDE 13

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej (collected low resolution images)    b1 . . . bm   

  • =

   A(y1) . . . A(ym)   

  • x+

   e1 . . . em   

  • b

= A(y) x + e y = registration, blurring, etc., parameters Goal: Improve parameters y and compute x

29−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-14
SLIDE 14

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej (collected low resolution images)    b1 . . . bm   

  • =

   A(y1) . . . A(ym)   

  • x+

   e1 . . . em   

  • b

= A(y) x + e y = registration, blurring, etc., parameters Goal: Improve parameters y and compute x

Reconstructed high resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-15
SLIDE 15

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Outline

1

The Linear Problem: b = Ax + e

2

The Nonlinear Problem: b = A(y) x + e

3

Example: Image Deblurring

4

Concluding Remarks

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-16
SLIDE 16

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

The Linear Problem

Assume A = A(y) is known exactly. We are given A and b, where b = Ax + e A is an ill-conditioned matrix, and we do not know e. We want to compute an approximation of x. Bad idea:

e is small, so ignore it, and use x inv ≈ A−1b

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-17
SLIDE 17

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

The Linear Problem

Assume A = A(y) is known exactly. We are given A and b, where b = Ax + e A is an ill-conditioned matrix, and we do not know e. We want to compute an approximation of x. Bad idea:

e is small, so ignore it, and use x inv ≈ A−1b

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-18
SLIDE 18

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Regularization Tools test problem: heat.m

  • P. C. Hansen, www2.imm.dtu.dk/∼pch/Regutools

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Desired solution, x

50 100 150 200 250 −0.01 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08

Noise free data, A*x Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-19
SLIDE 19

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

If A and b are known exactly, can get an accurate reconstruction.

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Inverse solution x = A−1b

50 100 150 200 250 −0.01 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08

Noise free data, A*x Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-20
SLIDE 20

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

But, if b contains a small amount of noise,

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Desired solution, x

50 100 150 200 250 −0.01 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08

Noisy data, b = A*x + e Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-21
SLIDE 21

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

But, if b contains a small amount of noise, then we get a poor reconstruction!

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Inverse solution x = A−1b

50 100 150 200 250 −0.01 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08

Noisy data, b = A*x + e Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-22
SLIDE 22

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

SVD Analysis

An important linear algebra tool: Singular Value Decomposition Let A = UΣVT where

Σ =diag(σ1, σ2, . . . , σn) , σ1 ≥ σ2 ≥ · · · ≥ σn ≥ 0 UTU = I , VTV = I U =

  • u1

u2 · · · un

  • (left singular vectors)

V = v1 v2 · · · vn

  • (right singular vectors)

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-23
SLIDE 23

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

SVD Analysis

The na¨ ıve inverse solution can then be represented as: x = A−1b = VΣ−1UTb =

n

  • i=1

uT

i b

σi vi

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-24
SLIDE 24

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

SVD Analysis

The na¨ ıve inverse solution can then be represented as: ˆ x = A−1(b + e) = VΣ−1UT(b + e) =

n

  • i=1

uT

i (b + e)

σi vi

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-25
SLIDE 25

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

SVD Analysis

The na¨ ıve inverse solution can then be represented as: ˆ x = A−1(b + e) = VΣ−1UT(b + e) =

n

  • i=1

uT

i (b + e)

σi vi =

n

  • i=1

uT

i b

σi vi +

n

  • i=1

uT

i e

σi vi = x + error

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-26
SLIDE 26

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi.

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-27
SLIDE 27

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Large σi ↔ smooth (low frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v1 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-28
SLIDE 28

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Large σi ↔ smooth (low frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v2 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-29
SLIDE 29

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Large σi ↔ smooth (low frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v3 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-30
SLIDE 30

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Large σi ↔ smooth (low frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v4 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-31
SLIDE 31

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Large σi ↔ smooth (low frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v5 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-32
SLIDE 32

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Small σi ↔ oscillating (high frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v25 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-33
SLIDE 33

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Small σi ↔ oscillating (high frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v50 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-34
SLIDE 34

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Small σi ↔ oscillating (high frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v75 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-35
SLIDE 35

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Small σi ↔ oscillating (high frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v100 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-36
SLIDE 36

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Small σi ↔ oscillating (high frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v125 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-37
SLIDE 37

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi. Small σi ↔ oscillating (high frequency) vi

50 100 150 200 250 10

−10

10

−9

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10

Singular values

50 100 150 200 250 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2

Singular vector, v150 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-38
SLIDE 38

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

SVD Analysis

The na¨ ıve inverse solution can then be represented as: ˆ x = A−1(b + e) = VΣ−1UT(b + e) =

n

  • i=1

uT

i (b + e)

σi vi =

n

  • i=1

uT

i b

σi vi +

n

  • i=1

uT

i e

σi vi = x + error

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-39
SLIDE 39

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Regularization by Filtering

Basic Idea: Filter out effects of small singular values. (Hansen, SIAM, 1997) xreg = A−1

regb = VΦΣ−1UTb =

n

  • i=1

φi uT

i b

σi vi , where Φ = diag(φ1, φ2, . . . , φn) The ”filter factors” satisfy φi ≈ 1 if σi is large if σi is small

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-40
SLIDE 40

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

An Example: Tikhonov Regularization

min

x

  • b − Ax2

2 + λ2x2 2

min

x

  • b

A λI

  • x
  • 2

2

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-41
SLIDE 41

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

An Example: Tikhonov Regularization

min

x

  • b − Ax2

2 + λ2x2 2

min

x

  • b

A λI

  • x
  • 2

2

An equivalent SVD filtering formulation: xtik =

n

  • i=1

σ2

i

σ2

i + λ2

uT

i b

σi vi

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-42
SLIDE 42

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

An Example: Tikhonov Regularization

min

x

  • b − Ax2

2 + λ2x2 2

min

x

  • b

A λI

  • x
  • 2

2

An equivalent SVD filtering formulation: xtik =

n

  • i=1

σ2

i

σ2

i + λ2

uT

i b

σi vi

10

−5

10

−4

10

−3

10

−2

10

−1

10 10

1

0.2 0.4 0.6 0.8 1

singular values filter factor α = 0.001

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-43
SLIDE 43

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Choosing Regularization Parameters

Lots of choices: Generalized Cross Validation (GCV), L-curve, discrepancy principle, ...

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-44
SLIDE 44

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Choosing Regularization Parameters

Lots of choices: Generalized Cross Validation (GCV), L-curve, discrepancy principle, ... GCV and Tikhonov: Choose λ to minimize GCV(λ) = n

n

  • i=1
  • uT

i b

σ2

i + λ2

2 n

  • i=1

1 σ2

i + λ2

2

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-45
SLIDE 45

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Reconstruction using Tikhonov reg. can be better than x inv. Quality of reconstruction depends on λ. But λ depends on A and b.

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Desired solution, x

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Inverse solution x = A−1b Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-46
SLIDE 46

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Reconstruction using Tikhonov reg. can be better than x inv. Quality of reconstruction depends on λ. But λ depends on A and b.

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Regularized Solution, λ = 0.0005

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Inverse solution x = A−1b Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-47
SLIDE 47

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Reconstruction using Tikhonov reg. can be better than x inv. Quality of reconstruction depends on λ. But λ depends on A and b.

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Regularized Solution, λ = 0.05

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Inverse solution x = A−1b Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-48
SLIDE 48

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Reconstruction using Tikhonov reg. can be better than x inv. Quality of reconstruction depends on λ. But λ depends on A and b.

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Regularized Solution, λ = 0.005

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

Inverse solution x = A−1b Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-49
SLIDE 49

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Filtering for Large Scale Problems

Some remarks: For large matrices, computing SVD is expensive. SVD algorithms do not readily simplify for structured or sparse matrices. Alternative for large scale problems: LSQR iteration

(Paige and Saunders, ACM TOMS, 1982)

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-50
SLIDE 50

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Lanczos Bidiagonalization (LBD)

Given A and b, for k = 1, 2, ..., compute Wk =

  • w1

w2 · · · wk wk+1

  • ,

w1 = b/||b|| Zk =

  • z1

z2 · · · zk

  • Bk =

       α1 β2 α2 ... ... βk αk βk+1        where Wk and Zk have orthonormal columns, and ATWk = ZkBT

k + αk+1zk+1eT k+1

AZk = WkBk

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-51
SLIDE 51

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

LBD and LSQR

At kth LBD iteration, use QR to solve projected LS problem: min

x∈R(Zk) b − Ax2 2 = min f

WT

k b − Bkf2 2 = min f

βe1 − Bkf2

2

where xk = Zkf

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-52
SLIDE 52

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

LBD and LSQR

At kth LBD iteration, use QR to solve projected LS problem: min

x∈R(Zk) b − Ax2 2 = min f

WT

k b − Bkf2 2 = min f

βe1 − Bkf2

2

where xk = Zkf For our ill-posed inverse problems: Singular values of Bk converge to k largest sing. values of A. Thus, xk is in a subspace that approximates a subspace spanned by the large singular components of A.

For k < n, xk is a regularized solution. xn = x inv = A−1b (bad approximation)

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-53
SLIDE 53

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Singular values of Bk converge to large singular values of A. Thus, for early iterations k: f = Bk \ Wkb xk = Zkf is a regularized reconstruction.

50 100 150 200 250 10

−10

10

−8

10

−6

10

−4

10

−2

10 LBD iteration, k = 6 svd(A) svd(Bk)

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 5 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-54
SLIDE 54

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Singular values of Bk converge to large singular values of A. Thus, for early iterations k: f = Bk \ Wkb xk = Zkf is a regularized reconstruction.

50 100 150 200 250 10

−10

10

−8

10

−6

10

−4

10

−2

10 LBD iteration, k = 16 svd(A) svd(Bk)

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 15 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-55
SLIDE 55

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Singular values of Bk converge to large singular values of A. Thus, for later iterations k: f = Bk \ Wkb xk = Zkf is a noisy reconstruction.

50 100 150 200 250 10

−10

10

−8

10

−6

10

−4

10

−2

10 LBD iteration, k = 26 svd(A) svd(Bk)

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 25 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-56
SLIDE 56

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

Singular values of Bk converge to large singular values of A. Thus, for later iterations k: f = Bk \ Wkb xk = Zkf is a noisy reconstruction.

50 100 150 200 250 10

−10

10

−8

10

−6

10

−4

10

−2

10 LBD iteration, k = 36 svd(A) svd(Bk)

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 35 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-57
SLIDE 57

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Lanczos Based Hybrid Methods

To avoid noisy reconstructions, embed regularization in LBD: O’Leary and Simmons, SISSC, 1981. Bj¨

  • rck, BIT 1988.

Bj¨

  • rck, Grimme, and Van Dooren, BIT, 1994.

Larsen, PhD Thesis, 1998. Hanke, BIT 2001. Kilmer and O’Leary, SIMAX, 2001. Kilmer, Hansen, Espa˜ nol, SISC 2007. Chung, N, O’Leary, ETNA 2007 (HyBR Implementation)

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-58
SLIDE 58

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Regularize the Projected Least Squares Problem

To stabilize convergence, regularize the projected problem:

min

f

  • βe1

Bk λI

  • f
  • 2

2

Note: Bk is very small compared to A, so Can use “expensive” methods to choose λ (e.g., GCV) Very little regularization is needed in early iterations. GCV tends to choose too large λ for bidiagonal system. Our remedy: Use a weighted GCV (Chung, N, O’Leary, 2007) Can also use WGCV information to estimate stopping iteration

(approach similar to Bj¨

  • rck, Grimme, and Van Dooren, BIT, 1994).

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-59
SLIDE 59

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

LSQR (no regularization) HyBR (Tikhonov regularization) f = Bk \ Wkb f = Bk λkI Wkb

  • xk = Zkf

xk = Zkf

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 5

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 5 λ = 0.0115 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-60
SLIDE 60

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

LSQR (no regularization) HyBR (Tikhonov regularization) f = Bk \ Wkb f = Bk λkI Wkb

  • xk = Zkf

xk = Zkf

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 15

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 15 λ = 0.0074 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-61
SLIDE 61

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

LSQR (no regularization) HyBR (Tikhonov regularization) f = Bk \ Wkb f = Bk λkI Wkb

  • xk = Zkf

xk = Zkf

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 25

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 25 λ = 0.0050 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-62
SLIDE 62

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Inverse Heat Equation

LSQR (no regularization) HyBR (Tikhonov regularization) f = Bk \ Wkb f = Bk λkI Wkb

  • xk = Zkf

xk = Zkf

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 35

50 100 150 200 250 −0.2 0.2 0.4 0.6 0.8 1

iteration = 35 λ = 0.0042 Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-63
SLIDE 63

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

The Nonlinear Problem

We want to find x and y so that b = A(y)x + e With Tikhonov regularization, solve min

x,y

  • A(y)

λI

  • x −

b

  • 2

2

As with linear problem, choosing a good regularization parameter λ is important. Problem is linear in x, nonlinear in y. y ∈ Rp, x ∈ Rn, with p ≪ n.

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-64
SLIDE 64

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Separable Nonlinear Least Squares

Variable Projection Method: Implicitly eliminate linear term. Optimize over nonlinear term. Some general references: Golub and Pereyra, SINUM 1973 (also IP 2003) Kaufman, BIT 1975 Osborne, SINUM 1975 (also ETNA 2007) Ruhe and Wedin, SIREV, 1980 How to apply to inverse problems?

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-65
SLIDE 65

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Variable Projection Method

Instead of optimizing over both x and y: min

x,y φ(x, y) = min x,y

  • A(y)

λI

  • x −

b

  • 2

2

Let x(y) be solution of min

x φ(x, y) = min x

  • A(y)

λI

  • x −

b

  • 2

2

and then minimize the reduced cost functional: min

y ψ(y) ,

ψ(y) = φ(x(y), y)

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-66
SLIDE 66

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Gauss-Newton Algorithm

choose initial y0 for k = 0, 1, 2, . . . xk = arg min

x

  • A(yk)

λkI

  • x −

b

  • 2

rk = b − A(yk) xk dk = arg min

d Jψd − rk2

yk+1 = yk + dk end

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-67
SLIDE 67

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Gauss-Newton Algorithm with HyBR

And we use HyBR to solve the linear subproblem: choose initial y0 for k = 0, 1, 2, . . . xk =HyBR(A(yk), b) rk = b − A(yk) xk dk = arg min

d Jψd − rk2

yk+1 = yk + dk end

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-68
SLIDE 68

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Image Deblurring

Matrix A(y) is defined by a PSF, which is in turn defined by

  • parameters. Specifically:

A(y) = A(P(y)) where A is 65536 × 65536, with entries given by P. P is 256 × 256, with entries: pij = exp (i − k)2s2

2 − (j − l)2s2 1 + 2(i − k)(j − l)ρ2

2s2

1s2 2 − 2ρ4

  • (k, l) is the PSF center (location of point source)

y vector of unknown parameters: y =   s1 s2 ρ  

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-69
SLIDE 69

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Image Deblurring

Can get analytical formula for Jacobian: Jψ = ∂ ∂y { A( P(y) ) x } = ∂ ∂P { A( P(y) ) x } · ∂ ∂y { P(y) } = A(X) · ∂ ∂y { P(y) } where x = vec(X). Though in this example, finite difference approximation of Jψ works very well.

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-70
SLIDE 70

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Image Deblurring

Gauss-Newton Iteration History

G-N Iteration ∆y λ 0.5716 0.1685 1 0.3345 0.1223 2 0.2192 0.0985 3 0.1473 0.0804 4 0.1006 0.0715 5 0.0648 0.0676 6 0.0355 0.0657 7 0.0144 0.0650

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-71
SLIDE 71

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Example: Image Deblurring

Observed Image Reconstruction using initial PSF Reconstruction after 8 GN iterations Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-72
SLIDE 72

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Concluding Remarks

Imaging applications require solving challenging inverse problems. Separable nonlinear least squares models exploit high level structure. Hybrid methods are efficient solvers for large scale linear inverse problems.

Automatic estimation of regularization parameter. Automatic estimation of stopping iteration.

Hybrid methods can be effective linear solvers for nonlinear problems.

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing

slide-73
SLIDE 73

The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks

Questions?

Other methods to choose regularization parameters? Other regularization methods (e.g., total variation)? Sparse (in some basis) reconstructions? MATLAB Codes and Data?

www.mathcs.emory.edu/∼nagy/WGCV www.mathcs.emory.edu/∼nagy/RestoreTools www2.imm.dtu.dk/∼pch/HNO www2.imm.dtu.dk/∼pch/Regutools

Julianne Chung and James Nagy Emory University Atlanta, GA, USA Separable Nonlinear Least Squares Problems in Image Processing