Toward Non-stationary Blind Image Deblurring: Models and Techniques

Similar documents
Spline wavelet based blind image recovery

Recent Advances in Image Deblurring. Seungyong Lee (Collaboration w/ Sunghyun Cho)

Deblurring. Basics, Problem definition and variants

multiframe visual-inertial blur estimation and removal for unmodified smartphones

A Recognition of License Plate Images from Fast Moving Vehicles Using Blur Kernel Estimation

Deconvolution , , Computational Photography Fall 2017, Lecture 17

Defocus Map Estimation from a Single Image

Coded Computational Photography!

Dappled Photography: Mask Enhanced Cameras for Heterodyned Light Fields and Coded Aperture Refocusing

fast blur removal for wearable QR code scanners

Restoration of Motion Blurred Document Images

Coded photography , , Computational Photography Fall 2018, Lecture 14

Non-Uniform Motion Blur For Face Recognition

Deconvolution , , Computational Photography Fall 2018, Lecture 12


Coded photography , , Computational Photography Fall 2017, Lecture 18

Total Variation Blind Deconvolution: The Devil is in the Details*

IMAGE TAMPERING DETECTION BY EXPOSING BLUR TYPE INCONSISTENCY. Khosro Bahrami and Alex C. Kot

A Review over Different Blur Detection Techniques in Image Processing

Computational Cameras. Rahul Raguram COMP

Single Digital Image Multi-focusing Using Point to Point Blur Model Based Depth Estimation

Restoration of Blurred Image Using Joint Statistical Modeling in a Space-Transform Domain

4 STUDY OF DEBLURRING TECHNIQUES FOR RESTORED MOTION BLURRED IMAGES

Recent advances in deblurring and image stabilization. Michal Šorel Academy of Sciences of the Czech Republic

Postprocessing of nonuniform MRI

Computational Approaches to Cameras

On the Recovery of Depth from a Single Defocused Image

Region Based Robust Single Image Blind Motion Deblurring of Natural Images

Image Deblurring Using Dark Channel Prior. Liang Zhang (lzhang432)

Image Deblurring with Blurred/Noisy Image Pairs

International Journal of Advancedd Research in Biology, Ecology, Science and Technology (IJARBEST)

6.A44 Computational Photography

Modeling and Synthesis of Aperture Effects in Cameras

Analysis of Quality Measurement Parameters of Deblurred Images

Implementation of Adaptive Coded Aperture Imaging using a Digital Micro-Mirror Device for Defocus Deblurring

Admin Deblurring & Deconvolution Different types of blur

A Framework for Analysis of Computational Imaging Systems

Coded Exposure HDR Light-Field Video Recording

Coding and Modulation in Cameras

To Denoise or Deblur: Parameter Optimization for Imaging Systems

Coded Aperture for Projector and Camera for Robust 3D measurement

Gradient-Based Correction of Chromatic Aberration in the Joint Acquisition of Color and Near-Infrared Images

Pattern Recognition 44 (2011) Contents lists available at ScienceDirect. Pattern Recognition. journal homepage:

Sharpness Metric Based on Line Local Binary Patterns and a Robust segmentation Algorithm for Defocus Blur

PATCH-BASED BLIND DECONVOLUTION WITH PARAMETRIC INTERPOLATION OF CONVOLUTION KERNELS

Computational Camera & Photography: Coded Imaging

Fast Blur Removal for Wearable QR Code Scanners (supplemental material)

Single Image Blind Deconvolution with Higher-Order Texture Statistics

Improved motion invariant imaging with time varying shutter functions

Lenses, exposure, and (de)focus

Computational Photography Image Stabilization

Learning to Estimate and Remove Non-uniform Image Blur

A Novel Image Deblurring Method to Improve Iris Recognition Accuracy

IMAGE FORMATION. Light source properties. Sensor characteristics Surface. Surface reflectance properties. Optics

Midterm Examination CS 534: Computational Photography

Transfer Efficiency and Depth Invariance in Computational Cameras

Removing Temporal Stationary Blur in Route Panoramas

To Do. Advanced Computer Graphics. Outline. Computational Imaging. How do we see the world? Pinhole camera

NTU CSIE. Advisor: Wu Ja Ling, Ph.D.

A Mathematical model for the determination of distance of an object in a 2D image

DEFOCUSING BLUR IMAGES BASED ON BINARY PATTERN SEGMENTATION

Lecture 22: Cameras & Lenses III. Computer Graphics and Imaging UC Berkeley CS184/284A, Spring 2017

Coded Aperture Flow. Anita Sellent and Paolo Favaro

Method for out-of-focus camera calibration

Blind Single-Image Super Resolution Reconstruction with Defocus Blur

Overview. Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Blur and Recovery with FTVd. By: James Kerwin Zhehao Li Shaoyi Su Charles Park

Image Processing for feature extraction

Lecture 18: Light field cameras. (plenoptic cameras) Visual Computing Systems CMU , Fall 2013

Filtering in the spatial domain (Spatial Filtering)

Extended depth of field for visual measurement systems with depth-invariant magnification

2D Barcode Localization and Motion Deblurring Using a Flutter Shutter Camera

2015, IJARCSSE All Rights Reserved Page 312

Motion Blurred Image Restoration based on Super-resolution Method

Photographing Long Scenes with Multiviewpoint

6.098 Digital and Computational Photography Advanced Computational Photography. Bill Freeman Frédo Durand MIT - EECS

Edge Width Estimation for Defocus Map from a Single Image

Image Deblurring and Noise Reduction in Python TJHSST Senior Research Project Computer Systems Lab

Motion Deblurring using Coded Exposure for a Wheeled Mobile Robot Kibaek Park, Seunghak Shin, Hae-Gon Jeon, Joon-Young Lee and In So Kweon

Image Restoration. Lecture 7, March 23 rd, Lexing Xie. EE4830 Digital Image Processing

Computational Photography and Video. Prof. Marc Pollefeys

Image Enhancement using Histogram Equalization and Spatial Filtering

Computer Vision. The Pinhole Camera Model

3D light microscopy techniques

Refocusing Phase Contrast Microscopy Images

Wavefront coding. Refocusing & Light Fields. Wavefront coding. Final projects. Is depth of field a blur? Frédo Durand Bill Freeman MIT - EECS

Near-Invariant Blur for Depth and 2D Motion via Time-Varying Light Field Analysis

Blind Deconvolution Algorithm based on Filter and PSF Estimation for Image Restoration

Hardware Implementation of Motion Blur Removal

De-Convolution of Camera Blur From a Single Image Using Fourier Transform

Coded Exposure Deblurring: Optimized Codes for PSF Estimation and Invertibility

Image Restoration Techniques: A Survey

SURVEILLANCE SYSTEMS WITH AUTOMATIC RESTORATION OF LINEAR MOTION AND OUT-OF-FOCUS BLURRED IMAGES. Received August 2008; accepted October 2008

Image Deblurring. This chapter describes how to deblur an image using the toolbox deblurring functions.

THE RESTORATION OF DEFOCUS IMAGES WITH LINEAR CHANGE DEFOCUS RADIUS

Camera Intrinsic Blur Kernel Estimation: A Reliable Framework

A Comprehensive Review on Image Restoration Techniques

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Computational Photography

Transcription:

Toward Non-stationary Blind Image Deblurring: Models and Techniques Ji, Hui Department of Mathematics National University of Singapore NUS, 30-May-2017

Outline of the talk Non-stationary Image blurring Motion blurring Out-of-focus blurring Brief Introduction to blind deconvolution (stationary image blurring) A two-stage approach for recovering images with nonstationary motion blurring A fast method for estimating de-focus map of images with non-stationary out-of-focus blurring

Image blurring Degradation of sharpness and contrast of the image, causing loss of image details (high frequency information)

Image blurring Degradation of sharpness and contrast of the image, causing loss of image details (high frequency information) Motion blurring Out-of-focus blurring

Motion blurring Blurring caused by the relative motion between camera or object during shutter time t Larger motion; more blurring Object point image sensor t+δt lens Motion blurring

Out-of-focus (defocus) blurring Blurring caused by objects away from focal plane More away from focal plane; more blurring Defocus plane Focal plane Lens Image sensor c d d f f 0

Motion blur : motion path on image plane Pinhole camera x X f y Y Z 1 Z 3D rigid camera motion: t x x y y t t= t, z z 2D Motion field in image 2 xt () f tx tzx xy x ( x 1) y y z rt () y() t ty tzy 2 Z ( y 1) x xy y x z Spatially invariant motion blur == constant motion field Scene depth Z is close to constant Camera motion: t ( t, t, 0); 0 x y

Motion blurring: Stationary VS Non-stationary Constant scene depth In-plane camera translation Slanted scene depth In-plane camera translation Rotational camera motion Dynamic scene with moving object

De-focus blurring: usually nonstationary Image usually contains several depth layer Different layer has different blurring De-focus blurring amount Ordinal scene depth

Convolution model for stationary image blurring = + : Convolution (non-invertible) g p mn, gk1, k2] p[ m k1, n k2 [ ] Blind deblurring: f Blurred image known g Sharp image unknown p Kernel (PSF) unknown Noise unknown

Regularization for blind image deconvolution f g p Infinite number of solutions: how to avoid the trivial solution: f f l 1 -norm relating regularization (either TV or wavelet) 2 1 2 f g p ( g) ( p) s t p g, p 1 1 2 2 min.. 1 ( g) Wg ; 2 2 ( h) Wh 1 h 2 { p: p[ j] 1, p[ j] 0} jj 2 [1] J. Cai, H. Ji, C. Liu and Z. Shen, Blind motion deblurring from a single image using sparse approximation, CVPR 09

Regularization for blind image deconvolution f g p Infinite number of solutions: how to avoid the trivial solution: f f l 1 -norm relating regularization (either TV or wavelet) 2 1 2 f g p ( g) ( p) s t p g, p 1 1 2 2 min.. 1 ( g) Wg ; 2 2 ( h) Wh 1 h 2 { p: p[ j] 1, p[ j] 0} jj 2 [1] J. Cai, H. Ji, C. Liu and Z. Shen, Blind motion deblurring from a single image using sparse approximation, CVPR 09 2 Remark: h 2 is for avoiding convergence to δ, as 1 2 n [1,,1] arg min h s.t. h 2

Demonstration Real blurred image Our result

Demonstration Real blurred image Our result

Non-stationary image blurring Motion blurring Out-of-focus blurring

Stationary VS Non-stationary (in 1D case) Matrix form of Convolution: f Kg, K nn Stationary: all rows of K are same, up to a shift Nonstationary: each row of K might be different Motion blurring Each row is of free-form, but with compact support Out-of-focus blurring Each row is a Gaussian, but with different standard deviation

A piece-wise stationary model based framework [2] Input blurred image Piece-wise uniform motion-blur approx. Estimate one kernel for each region Identify and remove erroneous kernels Interp. for blurring matrix & deblurring PCA-based Interp. for blurring matrix Non-blind Image deblurring robust to matrix error The output [2] H. Ji and K. Wang, A two-stage approach to remove spatially-varying motion blur from a single photograph, CVPR 12

Sensitivity of deconvolution to blur kernel error Clear image Image blurred by horizontal constant kernel of size 10 pixels

Sensitivity of deconvolution to blur kernel error Clear image Image blurred by horizontal constant kernel of size 10 pixels Image de-blurred by l 1 -norm based regularization, and an erroneous kernel (horizontal constant of size 12 pixels

Robust non-blind image deconvolution [3] An EIV (Error-In-Variable) model for de-convolution f p g n ( p ) g n : kernel err or; n: image noise p p Problem : given f and p, estimate g [3] H. Ji and K. Wang, Robust image de-convolution with an inaccurate blur kernel. IEEE Trans. Image Proc.. 2012

Robust non-blind image deconvolution [3] An EIV (Error-In-Variable) model for de-convolution f p g n ( p ) g n : kernel err or; n: image noise p p Problem : given f and Reformulation: Two unknowns: p, estimate g f = (p -d p )* g + n = p*g - q + n { g : clear image q p g : image distortion by kernel error [3] H. Ji and K. Wang, Robust image de-convolution with an inaccurate blur kernel. IEEE Trans. Image Proc.. 2012

Two sparsity-relating regularization Sparsity of q = d p * g in pixel space g p * g p* g d p * g

Two sparsity-relating regularization q = d p * g Sparsity of in pixel space g p * g p* g d p * g Second: Artifacts in solution caused by kernel error is sparse in DCT domain Result using Erroneous kernel The resulting error along edges

Convex minimization model Model for robust image deconvolution Clear image Artifacts System error W: framelet transform, D: DCT transform

Demo. Blurry image Stationary blind deconvolution Gupta et al. ECCV 10 (nonstationary Our nonstationary method

Demo. Blurry image Stationary blind deconvolution Gupta et al. ECCV 10 (nonstationary) Our nonstationary method

Demo. Blurry image Stationary blind deconvolution Whyte et al. CVPR 10 (nonstationary) Our nonstationary method

Demo. Blurry image Stationary blind deconvolution Whyte et al. CVPR 10 (nonstationary) Our nonstationary method

Out-of-focus (defocus) blurring Defocus plane Focal plane Lens Image sensor c Circle of Confusion d c d f f 0 d d f f 2 0 d n ( d f ) s f 0 for each pixel r, 1 0 blur kernel r r 2 0 2 ( 0) exp( ) 2 2 2 ( r0 ) pr ~ (defocus amount) c( r ) ( r ) (Gaussian s.t.d. ) 0 0

Defocus amount estimation from a single image [4] Darker color = less defocus amount = less blurring = closer distance [4] G. Xu, Y. Quan and H. Ji, Defocus amount estimation via maximum rank of patches, 2017

Defocus amount estimation from a single image [4] Darker color = less defocus amount = less blurring = closer distance Defocus amount ordinal scene depth foreground/background segmentation Image matting; image refocusing [4] G. Xu, Y. Quan and H. Ji, Defocus amount estimation via maximum rank of patches, 2017

Rank of patches and Separable blur kernel Proposition Consider three matrices U,I,G associated by 2D convolution: I=U G. Suppose U is positive (negative) definite and G gg. Then, Rank(I)= gˆ, whe e gˆ is DFT of 0 r g. Constructing positive (negative) patches at edges points Sampling K image patches with different orientations. One of these different oriented patches is positive definite.

Rank of patches and Separable blur kernel Proposition Consider three matrices U,I,G associated by 2D convolution: I=U G. Suppose U is positive (negative) definite and G gg. Then, Rank(I)= gˆ, whe e gˆ is DFT of 0 r g. Constructing positive (negative) patches at edges points Sampling K image patches with different orientations. One of these different oriented patches is positive definite. Defocus amount and maximum rank of oriented patches 1 1 (or c max Rank (P ) 0kK k ) ~ ln(1 ) n

Completion of defocus map Input image Defocus estimation at edge points

Completion of defocus map Input image Defocus estimation at edge points Defocus map completion by matting Laplacian method Keep the values in complete map are close to the ones given at edge points Keeping the discontinuities of defocus map consistent with image edges.

Demonstration Input image defocus map at edges

Demonstration Input image defocus map at edges Complete defocus map

Demonstration Input image defocus map at edges Complete defocus map Foreground segmentation

More Input image Bae et al. Tang et al. ours

Evaluation on fore/background segmentation Test defocus dataset from CUHK: 704 images Manually segmented in-focus foreground and out-of-focus background Precision and recall curves of foreground/background segmentation using the defocus maps generated by different methods

Occlusion-aware image composition Source image Target

Occlusion-aware image composition Source image Image composition 1 Target

Occlusion-aware image composition Source image Image composition 1 Target Image composition 2

List of co-authors Blind deconvolution for removing motion blur Jianfeng Cai, Chaoqiang Liu and Zuowei Shen Non-stationery blind motion deblurring Wang Kang Non-stationary out-of-focus blurring estimation and applications Xu Guodong and Yuhui Quan

Thank You