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

Similar documents
Admin Deblurring & Deconvolution Different types of blur

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

Deblurring. Basics, Problem definition and variants

fast blur removal for wearable QR code scanners

Deconvolution , , Computational Photography Fall 2017, Lecture 17

Deconvolution , , Computational Photography Fall 2018, Lecture 12

multiframe visual-inertial blur estimation and removal for unmodified smartphones

Computational Photography Image Stabilization

Region Based Robust Single Image Blind Motion Deblurring of Natural Images

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

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


Toward Non-stationary Blind Image Deblurring: Models and Techniques

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

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

Computational Approaches to Cameras

CS354 Computer Graphics Computational Photography. Qixing Huang April 23 th 2018

Restoration of Motion Blurred Document Images

A Review over Different Blur Detection Techniques in Image Processing

Fast Non-blind Deconvolution via Regularized Residual Networks with Long/Short Skip-Connections

A Novel Image Deblurring Method to Improve Iris Recognition Accuracy

Image Deblurring with Blurred/Noisy Image Pairs

Computational Camera & Photography: Coded Imaging

Coded photography , , Computational Photography Fall 2018, Lecture 14

Spline wavelet based blind image recovery

CS766 Project Mid-Term Report Blind Image Deblurring

Coded Computational Photography!

A Framework for Analysis of Computational Imaging Systems

Coded photography , , Computational Photography Fall 2017, Lecture 18

Computational Cameras. Rahul Raguram COMP

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

Improved motion invariant imaging with time varying shutter functions

4 STUDY OF DEBLURRING TECHNIQUES FOR RESTORED MOTION BLURRED IMAGES

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

Coding and Modulation in Cameras

Interleaved Regression Tree Field Cascades for Blind Image Deconvolution

arxiv: v2 [cs.cv] 29 Aug 2017

Image Enhancement of Low-light Scenes with Near-infrared Flash Images

Removing Camera Shake from a Single Photograph

2015, IJARCSSE All Rights Reserved Page 312

Blind Correction of Optical Aberrations

Coded Aperture for Projector and Camera for Robust 3D measurement

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

Image Enhancement of Low-light Scenes with Near-infrared Flash Images

Localized Image Blur Removal through Non-Parametric Kernel Estimation

Learning to Estimate and Remove Non-uniform Image Blur

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

Anti-shaking Algorithm for the Mobile Phone Camera in Dim Light Conditions

Coded Exposure Deblurring: Optimized Codes for PSF Estimation and Invertibility

Camera Intrinsic Blur Kernel Estimation: A Reliable Framework

Transfer Efficiency and Depth Invariance in Computational Cameras

Refocusing Phase Contrast Microscopy Images

A Literature Survey on Blur Detection Algorithms for Digital Imaging

Motion Blurred Image Restoration based on Super-resolution Method

Non-Uniform Motion Blur For Face Recognition

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

Analysis of Quality Measurement Parameters of Deblurred Images

To Denoise or Deblur: Parameter Optimization for Imaging Systems

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

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

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

PATCH-BASED BLIND DECONVOLUTION WITH PARAMETRIC INTERPOLATION OF CONVOLUTION KERNELS

Blurred Image Restoration Using Canny Edge Detection and Blind Deconvolution Algorithm

Hardware Implementation of Motion Blur Removal

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

Restoration for Weakly Blurred and Strongly Noisy Images

Removing Motion Blur with Space-Time Processing

Enhanced Method for Image Restoration using Spatial Domain

Computational Photography Introduction

Project Title: Sparse Image Reconstruction with Trainable Image priors

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

DYNAMIC CONVOLUTIONAL NEURAL NETWORK FOR IMAGE SUPER- RESOLUTION

When Does Computational Imaging Improve Performance?

SUPER RESOLUTION INTRODUCTION

Lenses, exposure, and (de)focus

A Comparative Review Paper for Noise Models and Image Restoration Techniques

Accelerating defocus blur magnification

Linear Motion Deblurring from Single Images Using Genetic Algorithms

A Spatial Mean and Median Filter For Noise Removal in Digital Images

BlurBurst: Removing Blur Due to Camera Shake using Multiple Images

The ultimate camera. Computational Photography. Creating the ultimate camera. The ultimate camera. What does it do?

IJCSNS International Journal of Computer Science and Network Security, VOL.14 No.12, December

Implementation of Image Restoration Techniques in MATLAB

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

Art Photographic Detail Enhancement

Image Restoration using Modified Lucy Richardson Algorithm in the Presence of Gaussian and Motion Blur

Image Deblurring with Blurred/Noisy Image Pairs

Optical image stabilization (IS)

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

2990 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 20, NO. 10, OCTOBER We assume that the exposure time stays constant.

Super resolution with Epitomes

Detail Recovery for Single-image Defocus Blur

Optimal Single Image Capture for Motion Deblurring

A Comparative Study and Analysis of Image Restoration Techniques Using Different Images Formats

Learning Pixel-Distribution Prior with Wider Convolution for Image Denoising

Comparison of Reconstruction Algorithms for Images from Sparse-Aperture Systems

Blind Single-Image Super Resolution Reconstruction with Defocus Blur

Simulated Programmable Apertures with Lytro

SINGLE IMAGE DEBLURRING FOR A REAL-TIME FACE RECOGNITION SYSTEM

MDSP RESOLUTION ENHANCEMENT SOFTWARE USER S MANUAL 1

Transcription:

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

Disclaimer Many images and figures in this course note have been copied from the papers and presentation materials of previous deblurring and deconvolution methods. In those cases, the original papers are cited in the slides.

Introduction Blind Deconvolution

blur [bl3:(r)] Long exposure Moving objects Camera motion panning shot

blur [bl3:(r)] Often degrades image/video quality severely Unavoidable under dim light circumstances

Various Kinds of Blurs Camera shake (Camera motion blur) Object movement (Object motion blur) Out of focus (Defocus blur) Combinations (vibration & motion, )

Camera Motion Blur Caused by camera shakes during exposure time Motion can be represented as a camera trajectory

Object Motion Blur Caused by object motions during exposure time

Defocus Blur Caused by the limited depth of field of a camera

Optical Lens Blur Caused by lens aberration

Deblurring? Remove blur and restore a latent sharp image from a given blurred image find its latent sharp image

Deblurring: Old Problem! Trott, T., The Effect of Motion of Resolution, Photogrammetric Engineering, Vol. 26, pp. 819-827, 1960. Slepian, D., Restoration of Photographs Blurred by Image Motion, Bell System Tech., Vol. 46, No. 10, pp. 2353-2362, 1967.

Why is it important? Image/video in our daily lives Sometimes a retake is difficult!

Why is it important? Strong demand for high quality deblurring CCTV, car black box Medical imaging Aerial/satellite photography Robot vision

Deblurring from a given blurred image find its latent sharp image

Commonly Used Blur Model = * Blurred image Blur kernel or Point Spread Function (PSF) Convolution operator Latent sharp image

Blind Deconvolution = * Blurred image Blur kernel or Point Spread Function (PSF) Convolution operator Latent sharp image

Non-blind Deconvolution = * Blurred image Blur kernel or Point Spread Function (PSF) Convolution operator Latent sharp image

Uniform vs. Non-uniform Blur Uniform blur Every pixel is blurred in the same way Convolution based blur model

Uniform vs. Non-uniform Blur Non-uniform blur Spatially-varying blur Pixels are blurred differently More faithful to real camera shakes

Most Blurs Are Non-Uniform Camera shake (Camera motion blur) Object movement (Object motion blur) Out of focus (Defocus blur) Combinations (vibration & motion, )

Introduction Blind Deconvolution

Introduction Blind Deconvolution Introduction Recent popular approaches Summary

Blind Deconvolution (Uniform Blur) = * Blurred image Blur kernel or Point Spread Function (PSF) Convolution operator Latent sharp image

Key challenge: Ill-posedness! Possible solutions Infinite number of solutions satisfy the blur model Blurred image = * * Analogous to 2 50 100 4 25 3 33.333 *

In The Past Parametric blur kernels [Yitzhakey et al. 1998], [Rav-Acha and Peleg 2005], Directional blur kernels defined by (length, angle) *

In The Past But real camera shakes are much more complex

In The Past Parametric blur kernels Very limited assumption Often failed, poor quality Blurred image Latent sharp image * Images from [Yitzhaky et al. 1998]

Nowadays Some successful approaches have been introduced [Fergus et al. SIGGRAPH 2006], [Shan et al. SIGGRAPH 2008], [Cho and Lee, SIGGRAPH Asia 2009], More realistic blur kernels Better quality More robust Commercial software Photoshop CC Shake reduction

Introduction Blind Deconvolution Introduction Recent popular approaches Summary

Recent Popular Approaches Maximum Posterior (MAP) based Variational Bayesian based Edge Prediction based

Recent Popular Approaches Maximum Posterior (MAP) based Variational Bayesian based Edge Prediction based [Shan et al. SIGGRAPH 2008], [Krishnan et al. CVPR 2011], [Xu et al. CVPR 2013], Seek the most probable solution, which maximizes a posterior distribution Easy to understand Convergence problem

Recent Popular Approaches Maximum Posterior (MAP) based Variational Bayesian based Edge Prediction based [Fergus et al. SIGGRAPH 2006], [Levin et al. CVPR 2009], [Levin et al. CVPR 2011], Not seek for one most probable solution, but consider all possible solutions Theoretically more robust Slow

Recent Popular Approaches Maximum Posterior (MAP) based Variational Bayesian based Edge Prediction based [Cho et al. SIGGRAPH Asia 2009], [Xu et al. ECCV 2010], [Hirsch et al. ICCV 2011], Explicitly try to recover sharp edges using heuristic image filters Fast Proven to be effective in practice, but hard to analyze because of heuristic steps

Recent Popular Approaches Maximum Posterior (MAP) based Variational Bayesian based Edge Prediction based [Shan et al. SIGGRAPH 2008], [Krishnan et al. CVPR 2011], [Xu et al. CVPR 2013], Seek the most probable solution, which maximizes a posterior distribution Easy to understand Convergence problem

MAP based Approaches Maximize joint posterior probability with respect to and Posterior distribution Blur kernel Latent image Blurred image

MAP based Approaches Bayes rule: Posterior distribution Likelihood Prior on Prior on Blur kernel Latent image Blurred image

MAP based Approaches Negative log-posterior: Data fitting term Regularization on latent image Regularization on blur kernel

MAP based Approaches Negative log-posterior: Data fitting term Regularization on latent image Alternatingly minimize the energy function w.r.t. and Regularization on blur kernel

MAP based Approaches Negative log-posterior: Data fitting term Regularization on latent image Regularization on blur kernel Alternatingly minimize the energy function w.r.t. and Ill-posedness: Data fitting term has several solutions Thus, and are very important for resolving the ill-posedness!

MAP based Approaches Input blurred image Latent image estimation Blur kernel estimation Output - maximizes posterior w.r.t. - maximizes posterior w.r.t.

MAP based Approaches Chan and Wong, TIP 1998 Total variation based prior for estimating a parametric blur kernel Shan et al. SIGGRAPH 2008 First MAP based method to estimate a nonparametric blur kernel Krishnan et al. CVPR 2011 Normalized sparsity measure, a novel prior on latent images Xu et al. CVPR 2013 L0 norm based prior on latent images

Shan et al. SIGGRAPH 2008 Carefully designed likelihood, priors & optimization methods Likelihood based on intensities & derivatives Natural image statistics based prior on Kernel statistics based prior on

Shan et al. SIGGRAPH 2008 A few minutes for a small image High-quality results

Shan et al. SIGGRAPH 2008 Convergence problem Often converge to the no-blur solution [Levin et al. CVPR 2009] Natural image priors prefer blurry images Ground truth Shan et al. SIGGRAPH 2008 Fergus et al. SIGGRAPH 2006 (variational Bayesian based)

Xu et al. CVPR 2013 norm based sparse prior for latent image,, norm based sparse prior on No natural prior, i.e., does not seek for naturally-looking latent images But, unnatural images with a few sharp edges Better for resolving the ill-posedness Blurred image Latent image estimated by prior

Xu et al. CVPR 2013 Better prior & sophisticated optimization methods better convergence & better quality

Recent Popular Approaches Maximum Posterior (MAP) based Variational Bayesian based Edge Prediction based [Fergus et al. SIGGRAPH 2006], [Levin et al. CVPR 2009], [Levin et al. CVPR 2011], Not seek for one most probable solution, but consider all possible solutions Theoretically more robust Slow

Variational Bayesian Score MAP v.s. Variational Bayes Maximum a-posteriori (MAP) Variational Bayes Pixel intensity MAP Find the most probable solution May converge to a wrong solution Variational Bayesian Approximate the underlying distribution and find the mean More stable Slower

Variational Bayesian Fergus et al. SIGGRAPH 2006 First approach to handle non-parametric blur kernels Levin et al. CVPR 2009 Show that variational Bayesian approaches can perform more robustly than MAP based approaches Levin et al. CVPR 2010 EM based efficient approximation to variational Bayesian approach

Fergus et al. SIGGRAPH 2006 Posterior distribution

Fergus et al. SIGGRAPH 2006 find an approximate distribution by minimizing Kullback-Leibler (KL) divergence,, cf) MAP based approach: approximate distributions for blur kernel, latent image, and noise variance,

Fergus et al. SIGGRAPH 2006 First method to estimate a nonparametric blur kernel Complex optimization Slow: more than an hour for a small image

Levin et al. CVPR 2010 Efficient optimization based on EM Marginalizing over

Levin et al. CVPR 2010 Input blurred image E-step mean & covariance of M-step update using mean & covariance of Output mean of Similar to MAP, but also considers covariance of

Levin et al. CVPR 2010 State-of-the-art results Speed: - 255x255-2-4 minutes -MATLAB

Recent Popular Approaches Maximum Posterior (MAP) based Variational Bayesian based Edge Prediction based [Cho et al. SIGGRAPH Asia 2009], [Xu et al. ECCV 2010], [Hirsch et al. ICCV 2011], Explicitly try to recover sharp edges using heuristic image filters Fast Proven to be effective in practice, but hard to analyze because of heuristic steps

Edge Prediction based Approaches Joshi et al. CVPR 2008 Proposed sharp edge prediction to estimate blur kernels No iterative estimation Limited to small scale blur kernels Cho & Lee, SIGGRAPH Asia 2009 Proposed sharp edge prediction to estimate large blur kernels Iterative framework State-of-the-art results & very fast Cho et al. CVPR 2010 Applied Radon transform to estimate a blur kernel from blurry edge profiles Small scale blur kernels Xu et al. ECCV 2010 Proposed a prediction scheme based on structure scales as well as gradient magnitudes Hirsch et al. ICCV 2011 Applied a prediction scheme to estimate spatially-varying camera shakes

Cho & Lee, SIGGRAPH Asia 2009 Key idea: blur can be estimated from a few edges No need to restore every detail for kernel estimation Blurred image Latent image with only a few edges and no texture

Cho & Lee, SIGGRAPH Asia 2009 Input Simple deconvolution Prediction Fast Kernel Estimation Output Quickly restore important edges using simple image filters

Cho & Lee, SIGGRAPH Asia 2009 Fast but low quality deconvolution Prediction Previous kernel Updated kernel

Cho & Lee, SIGGRAPH Asia 2009 Prediction Simple & fast image filtering operations Fast but low-quality deconvolution Bilateral filtering & Shock filtering Thresholding gradients Visualized by Poisson image reconstruction

Cho & Lee, SIGGRAPH Asia 2009 State of the art results A few seconds 1Mpix image in C++ Blurry input Deblurring result Blur kernel

Xu & Jia, ECCV 2010 Extended edge prediction to handle blur larger than image structures For this complex scene, most methods fail to estimate a correct blur kernel. Why? Blurred image Fergus et al. SIGGRAPH 2006 Shan et al. SIGGRAPH 2008

Xu & Jia, ECCV 2010 Blur < structures Each blurry pixel is caused by one edge Easy to estimate a blur kernel Blur > structures Hard to tell which blur is caused by which edge Most method fails

Xu & Jia, ECCV 2010 Deconvolution Smoothing & Shock filtering Structure scale aware gradient thresholding Visualized by Poisson image reconstruction

Xu & Jia, ECCV 2010 Blurred image Fergus et al. SIGGRAPH 2006 Shan et al. SIGGRAPH 2008 Xu & Jia, ECCV 2010

Recent Popular Approaches Maximum Posterior (MAP) based Variational Bayesian based Edge Prediction based Which one is better?

Benchmarks Many different methods Which one is the best? Quality Speed Different works report different benchmark results Depending on test data Levin et al. CVPR 2009, 2010 Köhler et al. ECCV 2012

Benchmarks Levin et al. CVPR 2009 Provide a dataset 32 test images 4 clear images (255x255) 8 blur kernels (10x10 ~ 25x25) One of the most popular datasets Evaluate blind deconvolution methods using the dataset

Benchmarks Levin et al. CVPR 2009 Cumulative histogram of error ratios Higher better Results Fergus et al. SIGGRAPH 2006 Shan et al. SIGGRAPH 2008 Successes percent 1.6 Fergus, variational Fergus MAP k Shan et al. SIGGRAPH08 Shan 1.4 MAP x,k sparse Naiv priormapxk MAP k, Gaussian Gaussian prior prior 1.2 101 0 80 0.8 60 0.6 40 0.4 20 0.2 0 1.5 2 2.5 3 3.5 4 Error ratios

Benchmarks Levin et al. CVPR 2010 Cumulative histogram of error ratios Higher better Results Levin et al. CVPR 2010 Fergus et al. SIGGRAPH 2006 Cho & Lee SIGGRAPH Asia 2009 Proposed methods by [Levin et al. CVPR 2010]

Benchmarks Köhler et al. ECCV 2012 Record and analyze real camera motions Recorded 6D camera shakes in the 3D space using markers Played back camera shakes using a robot arm Provide a benchmark dataset based on real camera shakes Provide benchmark results for recent state-of-the-art methods

Benchmarks Köhler et al. ECCV 2012 Dataset 48 test images 4 sharp images 12 non-uniform blur kernels

Benchmarks Köhler et al. ECCV 2012 Benchmark based on PSNR Results Xu & Jia, ECCV 2010 Cho & Lee, SIGGRAPH Asia 2009 Shan et al. SIGGRAPH 2008 Krishnan et al. CVPR 2011 Fergus et al. SIGGRAPH 2006 PSNR (db) 30 28 26 24 22 20 Blurred Shan et al. SIGGRAPH 2008 Krishnan et al. CVPR 2011 Fergus et al. SIGGRAPH 2006 Cho & Lee, Xu & Jia, SIGGRAPHECCV 2010 Asia 2009 MAP Variational Bayesian Edge prediction

Benchmarks All three approaches show similar performance Implementation details & tricks Benchmark datasets Parameters used in benchmarks But, in general, more recent one shows better quality Speed? Edge prediction > MAP >> Variational Bayesian

Introduction Blind Deconvolution Introduction Recent popular approaches Summary

Summary Blind deconvolution Severely ill-posed problem Different approaches MAP, Variational Bayesian, Edge prediction Performance Quality: similar Speed: Edge prediction > MAP >> Variational Bayesian Still challenging

Remaining Challenges All methods still fail quite often Noise Outliers Non-uniform blur Limited amount of edges Speed Etc Failure example of Photoshop Shake Reduction

Photoshop Shake Reduction Based on [Cho and Lee, SIGGRAPH ASIA 2009] Improved noise handling Automatic kernel size estimation Automatic region suggestion for blur kernel estimation DEMO

Q & A http://cg.postech.ac.kr