Top Banner
Lu Fang Univ. of Science and Tech. of China DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL
41

DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

Jul 01, 2018

Download

Documents

ngodang
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

Lu Fang Univ. of Science and Tech. of China

DEBLURRING OPTIMIZATION

THROUGH SEPARABLE

BLUR KERNEL

Page 2: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

2

Outline

• Background Introduction

• Pre-analysis of Separable Blur Kernel

• Proposed Deblurring Optimization Scheme Random Trajectory Perturbation (RTP) Trajectory Scale Searching (TSS)

• Experimental Results and Discussions

Page 3: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

3

Motivation More and more

pictures …

Bad quality pictures

Out of focus Blur Noise

Page 4: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

4

Camera Motion Induced Image Blur

• Convolution Model

Latent sharp image Blur kernel Blurred image

: convolution operator

Page 5: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

5

Image Deblurring Problem

• Severely ill-posed problem No unique solution

Blurred image

Possible solutions

Page 6: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

6

Related Work • Image Priors Krishnan et al., CVPR, 2011 − Ratio of L1 norm to the L2 norm on the high frequencies

Xu et al., CVPR, 2013 − Generalized and mathematically sound L0 sparse expression

Liu et al., CVPR, 2008 − Color, gradient and spectrum information

Joshi et al., CVPR, 2008 − Utilize sharp edges for PSFs estimation

Yuan et al., TOG, 2007 − Use a noisy but clear image as prior

Page 7: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

7

Related Work • Kernel Priors Xu et al., ICCP, 2012 − Use depth information to help kernel estimation

Joshi et al., TOG, 2010 − Use inertial measurement sensors to recover the true trajectory of camera during

exposure

Gupta et al., ECCV, 2010 − Model camera motion by motion density function

Whyte et al., IJCV, 2012 − Model camera rotation motion as opposed to translation

Page 8: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

8

Our Contribution • Separable Blur Kernel

Trajectory • projection of camera

shake in 2D image plane

Intensity • staying time of shaking

camera in every position

Point Spread Function • decided by camera focus,

scene depth and camera motion at the perpendicular direction of image plane

Page 9: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

9

Outline

• Background Introduction

• Pre-analysis of Separable Blur Kernel

• Proposed Deblurring Optimization Scheme Random Trajectory Perturbation (RTP) Trajectory Scale Searching (TSS)

• Experimental Results and Discussions

Page 10: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

10

Pre-analysis: One Component Degraded Kernel • Investigate the characteristics of three components

Blurry image Original image

Ground Truth Kernel

Page 11: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

11

• MSE of deblurred image using one-component degraded (OCD) kernel

Pre-analysis: OCD Kernel Performance

• A smaller kernel correlation always leads to a larger MSE • Due to monotone increase or decrease of PSF, the distribution of its MSEs

(blue curve) appears less flexible • Degradation in intensity (green color) results in a relatively larger distortion

Page 12: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

12

• MSEs of blind deblurred images, with OCD kernels being initialization

Pre-analysis: OCD Kernel Optimization

• TD kernels in both shape (Red) and scale (Magenta) forms fail to converge with almost immutable large MSE of deblurred images

• ID kernel (Green) can facilely be optimized - the MSE decreases distinctly • A contracted PD kernel (Cyan) tends to cause much less distortion

Page 13: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

13

• Regardless of severe distortion in intensity component, it can be simply optimized

• With the good performance in deblurred result, contracted PSF component can serve as a good initialization for kernel optimization

• Trajectory component plays a crucial role in intractability of kernel optimization which falls into local minimum once the shape or scale is

improperly estimated, and can hardly be corrected

Pre-analysis: Conclusions

Page 14: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

14

Outline

• Background Introduction

• Pre-analysis of Separable Blur Kernel

• Proposed Deblurring Optimization Scheme Random Trajectory Perturbation (RTP) Trajectory Scale Searching (TSS)

• Experimental Results and Discussions

Page 15: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

15

Proposed Deblurring Optimization Scheme

Page 16: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

16

Outline

• Background Introduction

• Pre-analysis of Separable Blur Kernel

• Proposed Deblurring Optimization Scheme Random Trajectory Perturbation (RTP) Trajectory Scale Searching (TSS)

• Experimental Results and Discussions

Page 17: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

17

Random Trajectory Perturbation Why?

A poor kernel with bad trajectory

• Poor kernel with bad trajectory Bifurcations Noisy points Broken kernel Inaccurate trajectory …

Page 18: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

18

Vip Node

Ground truth kernel Initial kernel Trajectory Sub segment

RTP: Trajectory Extraction

Kernel Energy-tree-structure

Trajectory

Iterative ordered region-growing process

Page 19: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

K0

Trajectory Extraction

T0

T1

… …

T best

Trajectory perturbation in shape form

Non-blind Evaluation

Yes

No

• Using a sequence of vectors to represent trajectory • Pair variation to maintain vip nodes

RTP: Hierarchical Perturbation

Page 20: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

20

Outline

• Background Introduction

• Pre-analysis of Separable Blur Kernel

• Proposed Deblurring Optimization Scheme Random Trajectory Perturbation (RTP) Trajectory Scale Searching (TSS)

• Experimental Results and Discussions

Page 21: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

21

• Why ? • Spatially-variant Blur kernel

Trajectory Scale Searching

Page 22: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

22

• Quad tree Segmentation

Layer 1 Layer 2 Layer 3

TSS: Non-uniform Scaling

• Trajectory scale searching within every blurry image block

… … Different sizes of trajectory

Blurry image block

Non-Blind Evaluation

Page 23: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

23

Blurry image blocks

Trajectory of each layer

Refine Blur Kernel

kernel of each layer

Deblurred image blocks

Non Blind Deconvolution

Blind Deconvolution with New Initial • Refine blur kernel aided by corrected tracjectory

Page 24: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

24

Blind Deconvolution with New Initial non-statistical penalty term

Tp G(Tp) 1 - G(Tp)

Page 25: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

25

• Provide conventional deblurring schemes a chance to jump out the local minimum through trajectory perturbation

Kernel size = 31 px

Kernel size = 35 px

Conventional schemes trap in different local minimums

Discussions of Proposed Scheme

Page 26: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

26

• Does NOT rely on the initial kernel

Trajectory Extraction

Trajectory Perturbation

Refine Kernel

Non Blind Deconvolution

Non Blind Deconvolution

Discussions of Proposed Scheme

Page 27: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

27

Trajectory Extraction

Trajectory Perturbation

Refine Kernel

Non Blind Deconvolution

Non Blind Deconvolution

Discussions of Proposed Scheme • Another initial kernel

Page 28: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

28

• Suppress noisy points

Discussions of Proposed Scheme

Page 29: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

29

Outline

• Background Introduction

• Pre-analysis of Separable Blur Kernel

• Proposed Deblurring Optimization Scheme Random Trajectory Perturbation (RTP) Trajectory Scale Searching (TSS)

• Experimental Results and Discussions

Page 30: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

30

Real-world Blurry Image

Page 31: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

31

Deblurred Image

Xu, Li, Shicheng Zheng, Jiaya Jia. "Unnatural l0 sparse representation for natural image deblurring." IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2013.

Page 32: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

32

Deblurred Image

Whyte, Oliver, Josef Sivic, Andrew Zisserman, Jean Ponce. "Non-uniform deblurring for shaken images." International journal of computer vision(IJCV), Vol.98, No.2, pp.168-186, 2012.

Page 33: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

33 Our

Deblurred Image

Page 34: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

34

Jia

Whyte Our

Blurry Image

Page 35: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

35

Real-world Blurry Image

Page 36: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

36

Whyte Our Jia Blurry

Whyte Our Jia Blurry

Deblurred Image

Page 37: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

37

Real-world Blurry Image

Page 38: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

38

Whyte Our Jia Blurry

Whyte Our

Jia Blurry

Deblurred Image

Page 39: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

39

Page 40: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

40

Deblurring system • Why using L1 norm / L2 norm

),E(T1W

KWλI

IλKIB

1

12

2

11

2

2

−=

•+∇

∇+⊗∇−∇

s.t.

minIK,

L1 norm / L2 norm is a normalized version of L1 norm and scale invariant. Compared with other regularizer, it has better performance.

Krishnan, Dilip, Terence Tay, and Rob Fergus. "Blind deconvolution using a normalized sparsity measure." Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on. IEEE, 2011.

Page 41: DEBLURRING OPTIMIZATION THROUGH SEPARABLE BLUR KERNELvision.ouc.edu.cn/valse/slides/20141010/LuFang_ppt_VALSE.pdf · DEBLURRING. OPTIMIZATION THROUGH SEPARABLE BLUR KERNEL. 2 ...

41

• Optimize bad trajectory kernel (no bifurcations)

Krishnan Jia Our Blurry

Discussions of Proposed Scheme