multiframe visual-inertial blur estimation and removal for unmodified smartphones

Similar documents
fast blur removal for wearable QR code scanners

Deblurring. Basics, Problem definition and variants

Multiframe Visual-Inertial Blur Estimation and Removal for Unmodified Smartphones

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

Deconvolution , , Computational Photography Fall 2017, Lecture 17

Deconvolution , , Computational Photography Fall 2018, Lecture 12

Coded photography , , Computational Photography Fall 2018, Lecture 14

Restoration of Motion Blurred Document Images

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

Toward Non-stationary Blind Image Deblurring: Models and Techniques

Coded photography , , Computational Photography Fall 2017, Lecture 18

Coded Computational Photography!

Admin Deblurring & Deconvolution Different types of blur

Non-Uniform Motion Blur For Face Recognition

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

Midterm Examination CS 534: Computational Photography

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

Coded Aperture for Projector and Camera for Robust 3D measurement

A Review over Different Blur Detection Techniques in Image Processing

Improved motion invariant imaging with time varying shutter functions

4 STUDY OF DEBLURRING TECHNIQUES FOR RESTORED MOTION BLURRED IMAGES

PATCH-BASED BLIND DECONVOLUTION WITH PARAMETRIC INTERPOLATION OF CONVOLUTION KERNELS

Computational Photography Image Stabilization

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

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


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 Deblurring Using Dark Channel Prior. Liang Zhang (lzhang432)

Image stitching. Image stitching. Video summarization. Applications of image stitching. Stitching = alignment + blending. geometrical registration

2015, IJARCSSE All Rights Reserved Page 312

Motion Estimation from a Single Blurred Image

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

Coded Exposure HDR Light-Field Video Recording

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

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

Filters. Materials from Prof. Klaus Mueller

Computational Approaches to Cameras

Blind Correction of Optical Aberrations

Refocusing Phase Contrast Microscopy Images

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

Optical image stabilization (IS)

Camera Intrinsic Blur Kernel Estimation: A Reliable Framework

Cameras. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

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

Lenses, exposure, and (de)focus

Spline wavelet based blind image recovery

Coding and Modulation in Cameras

Optical image stabilization (IS)

Region Based Robust Single Image Blind Motion Deblurring of Natural Images

Restoration for Weakly Blurred and Strongly Noisy Images

Burst Photography! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 7! Gordon Wetzstein! Stanford University!

Tonemapping and bilateral filtering

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

Removing Temporal Stationary Blur in Route Panoramas

Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography

Computational Photography Introduction

Learning to Estimate and Remove Non-uniform Image Blur

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

High Performance Imaging Using Large Camera Arrays

Motion Deblurring of Infrared Images

Optical image stabilization (IS)

Computational Cameras. Rahul Raguram COMP

HDR Recovery under Rolling Shutter Distortions

Improving Signal- to- noise Ratio in Remotely Sensed Imagery Using an Invertible Blur Technique

Motion Blurred Image Restoration based on Super-resolution Method

A New Method for Eliminating blur Caused by the Rotational Motion of the Images

A Literature Survey on Blur Detection Algorithms for Digital Imaging

INFLUENCE OF BLUR ON FEATURE MATCHING AND A GEOMETRIC APPROACH FOR PHOTOGRAMMETRIC DEBLURRING

A robust method for deblurring and decoding a barcode image

To Denoise or Deblur: Parameter Optimization for Imaging Systems

Modeling and Synthesis of Aperture Effects in Cameras

CS6670: Computer Vision

Light field sensing. Marc Levoy. Computer Science Department Stanford University

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

OFFSET AND NOISE COMPENSATION

IHV means Independent Hardware Vendor. Example is Qualcomm Technologies Inc. that makes Snapdragon processors. OEM means Original Equipment

restoration-interpolation from the Thematic Mapper (size of the original

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

SUPER RESOLUTION INTRODUCTION

Implementation of Image Deblurring Techniques in Java

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

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

Dynamic Scene Deblurring Using Spatially Variant Recurrent Neural Networks

Analysis of Quality Measurement Parameters of Deblurred Images

Motion Deblurring Using Hybrid Imaging

Blurred Image Restoration Using Canny Edge Detection and Blind Deconvolution Algorithm

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

A Comparative Review Paper for Noise Models and Image Restoration Techniques

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

Capturing Light. The Light Field. Grayscale Snapshot 12/1/16. P(q, f)

Computer Vision Slides curtesy of Professor Gregory Dudek

Why learn about photography in this course?

lecture 24 image capture - photography: model of image formation - image blur - camera settings (f-number, shutter speed) - exposure - camera response

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

Computational Camera & Photography: Coded Imaging

Basic principles of photography. David Capel 346B IST

Removing Motion Blur with Space-Time Processing

Coded Exposure Deblurring: Optimized Codes for PSF Estimation and Invertibility

Declaration. Michal Šorel March 2007

Enhanced Method for Image Restoration using Spatial Domain

Transcription:

multiframe visual-inertial blur estimation and removal for unmodified smartphones, Severin Münger, Carlo Beltrame, Luc Humair WSCG 2015, Plzen, Czech Republic

images taken by non-professional photographers are often degraded by motion blur due to object motion or camera motion during the exposure time typical examples: smartphone/smartglass photography retaking the photos is often not possible blur removal needed target unmodified smartphones (no hardware modifications, no low-level camera control) 2

basics of blurry image formation sharp scene I blurry scene I k observed image B = I k + n convolution with a point spread function (PSF) k adding camera noise n 3

blur removal problems the problem of deblurring an image is ill-posed: there are infinite combinations of sharp images and blur functions that result in the same blurry image the blur function is usually not known even with a known blur function, deblurring is not straightforward 4

figure inspired by Robert Fergus deblurring ambiguity = deconvolution: B =? k + n blind deconvolution: B =?? + n 5

additional clues the blur is encoded in the image of point light sources smartphones have inertial sensors we can reconstruct the camera motion we have multiple images from the camera's video stream 6

outline reconstructing camera motion from sensors estimating blur at each part of the image restoring individual tiles of the image aligning subsequent frames restoring tiles with the help of neighboring tiles in time advanced issues 7

motion sensors Accelerometers linear acceleration gravity compensation difficult double integration amplifies noise translational blur depends on scene depth Gyroscopes rotational velocity rotational blur is dominant in hand shake bias can be neglected in short intervals rotational blur is independent of scene depth We use only gyroscopes Synchronization with camera required 8

gyro-camera synchronization Previous work hardware modification [Joshi2010, Park2014] phone-specific [Sindelar2014] Our current method Extended Kalman Filter [Jia2014] (open source) initialization? Our new method in development pixel translation rates for initialization optimization on coplanarity constraints time delay (x match) focal length (y match) 9

estimating blur from motion Kernel rendering place a point light source on the image plane shake virtual camera by replaying the motion super-resolve time by spherical linear interpolation blend the rendered dots Non-uniform blur (rotations) split the image into overlapping regions assume uniform blur in each region render kernel for each tile 10

estimating blur from motion (evaluation) capturing a screen that shows white dots trade-off: number of regions (restoration quality) vs. restoration speed 11

inverting the blur (non-blind deconvolution) even if the blur kernel is known, deconvolution is illposed, requires regularization natural image statistics for regularization certain distribution of image gradients works well log-gradient distribution parametric models 12

non-blind deconvolution algorithm of Krishnan and Fergus [Krishnan2009] given the blurry image B and the kernel K, it solves for the sharp image prior on gradients solution via FFTs and pixel-wise equations further details omitted fast and good quality (compared to others) only uniform blur! 13

partitioning the image to uniformly blurred tiles 14

extension to multiple frames deblur individual subsequent frames (tiles) align the deblurred images extract SURF features [Bay2008] calculate homography map deblur the main image (tile) again, but penalize deviations from the helper images (tiles) penalty weights of each tile are inversely proportional to the blurriness of that tile fast, requires only 2 more FFTs 15

rolling shutter distortions The smartphone s image sensor is exposed row by row. When the camera undergoes motion, this causes skew distortions in the image we warp the input images on the GPU to invert the rolling shutter skew better image alignment we shift the time windows for kernel generation 16

camera response function (CRF) our blur model is linear, but the camera converts scene intensity to pixel values through a non-linear function. This has a significant impact on deblurring [Tai2013] the CRF is different for each camera, for each mode CRF-estimation algorithms require precise exposure control (not yet available for smartphones) we apply a simple gamma curve. Online estimation of the CRF remains an open question. Upcoming smartphones do allow exposure control. 17

algorithm outline 18

implementation OpenCV cross-platform image processing in C++ OpenGL ES 2.0 image warping and color conversions on GPU (later also Fourier transforms) Android Recorder Application (Google Nexus 4) 720x480 preview frames @ 30 Hz, gyroscope @ 200 Hz Experiments offline on a PC 19

results: removing synthetic blur synthetic: - perfect synchronization - linear CRF - no RS B : main input B 1,2 and B 4,5 : helper images I : output direct comparison: almost perfect reconstruction 20

results: removing synthetic blur synthetic: - perfect synchronization - linear CRF - no RS B : main input B 1,2 and B 4,5 : helper images I : output direct comparison: almost perfect reconstruction 21

results: removing real blur direct comparison: The green outputs are sharper than the red inputs, however, they are sometimes blurrier than a helper image. Note: helper tiles are not copied, but penalize the reconstruction of red tiles. 22

results: removing real blur direct comparison: The green outputs are sharper than the red inputs, however, they are sometimes blurrier than a helper image. Note: helper tiles are not copied, but penalize the reconstruction of red tiles. 23

results: removing real blur direct comparison: images are unaligned and unrectified for visualization 24

results: removing real blur direct comparison: images are unaligned and unrectified for visualization 25

limitations and future work the EKF-based gyro-camera synchronization is not robust enough (feature tracking fails under blur) new online synchronization method the homography-based image alignment may fail blurry image alignment (blur invariants?) translational motion - accelerometers online drift estimation, scene depth estimation camera response function online calibration possible? optimal weighting strategy in the multiframe setting allow to copy helper tiles (video deblurring) 26

summary We described a combined blur removal algorithm for unmodified smartphones using gyroscope measurements and multiple images adressing several issues: gyro-camera synchronization blur kernel estimation rolling shutter rectification fast deconvolution with natural image priors multi image alignment speed (runtime order of seconds) We showed promising qualitative results, and proposed future directions for research 27

thank you 28

references [Bay2008] H. Bay, T. Tuytelaars, L. van Gool SURF: Speeded-Up Robust Features, ECCV, 2006 [Krishnan2009] D. Krishnan, R. Fergus Fast image deconvolution using hyper- Laplacian priors, NIPS, 2009 [Joshi2010] N. Joshi, S. B. Kang, C. L. Zitnick, R. Szeliski Image deblurring using inertial measurement sensors, SIGGRAPH, 2010 [Tai2013] Y.-W. Tai, X. Chen, S. Kim, S. J. Kim, F. Li, J. Yang, J. Yu, Y. Matsushita, M. Brown Nonlinear camera response functions and image deblurring: Theoretical analysis and practice, PAMI, 2013 [Sindelar2014] O. Sindelar, F. Sroubek, P. Milanfar Space-variant image deblurring on smartphones using inertial sensors, CVPRW, 2014 [Park2014] S. Park, M. Levoy Gyro-based multi-image deconvolution for removing handshake blur, CVPR, 2014 [Jia2014] C. Jia, B. Evans Online camera-gyroscope autocalibration for cell phones, TIP, 2014 29