Similar documents
Computational Cameras. Rahul Raguram COMP

Computational Approaches to Cameras

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

Coded photography , , Computational Photography Fall 2018, Lecture 14

Coded photography , , Computational Photography Fall 2017, Lecture 18

Coded Computational Photography!

Deconvolution , , Computational Photography Fall 2017, Lecture 17

Deconvolution , , Computational Photography Fall 2018, Lecture 12

Computational Camera & Photography: Coded Imaging

Admin Deblurring & Deconvolution Different types of blur

Deblurring. Basics, Problem definition and variants

Coding and Modulation in Cameras

Coded Aperture Pairs for Depth from Defocus

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

Coded Aperture for Projector and Camera for Robust 3D measurement

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

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

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

Coded Aperture and Coded Exposure Photography

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

Defocus Map Estimation from a Single Image

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

Understanding camera trade-offs through a Bayesian analysis of light field projections Anat Levin, William T. Freeman, and Fredo Durand

Transfer Efficiency and Depth Invariance in Computational Cameras

Coded Exposure Deblurring: Optimized Codes for PSF Estimation and Invertibility

Restoration of Motion Blurred Document Images

Coded Aperture Flow. Anita Sellent and Paolo Favaro

On the Recovery of Depth from a Single Defocused Image

Optimal Single Image Capture for Motion Deblurring

Improved motion invariant imaging with time varying shutter functions

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

Toward Non-stationary Blind Image Deblurring: Models and Techniques

Image Deblurring with Blurred/Noisy Image Pairs

A Review over Different Blur Detection Techniques in Image Processing

Modeling the calibration pipeline of the Lytro camera for high quality light-field image reconstruction

What are Good Apertures for Defocus Deblurring?

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

Simulated Programmable Apertures with Lytro

Analysis of Coded Apertures for Defocus Deblurring of HDR Images

DEPTH FUSED FROM INTENSITY RANGE AND BLUR ESTIMATION FOR LIGHT-FIELD CAMERAS. Yatong Xu, Xin Jin and Qionghai Dai

Lenses, exposure, and (de)focus

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

Hardware Implementation of Motion Blur Removal

fast blur removal for wearable QR code scanners

A Novel Image Deblurring Method to Improve Iris Recognition Accuracy

Computational Photography

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

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

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

A Framework for Analysis of Computational Imaging Systems

Spline wavelet based blind image recovery

Progressive Inter-scale and Intra-scale Non-blind Image Deconvolution

multiframe visual-inertial blur estimation and removal for unmodified smartphones

Understanding camera trade-offs through a Bayesian analysis of light field projections - A revision Anat Levin, William Freeman, and Fredo Durand

When Does Computational Imaging Improve Performance?

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

1.1 Related work. Levin et al.

Computational Photography and Video. Prof. Marc Pollefeys

What the spider s eyes don t tell the spider s brain

Image Enhancement Using Calibrated Lens Simulations

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

Modeling and Synthesis of Aperture Effects in Cameras

Non-Uniform Motion Blur For Face Recognition

Image and Depth from a Single Defocused Image Using Coded Aperture Photography

A Comprehensive Review on Image Restoration Techniques

Sensing Increased Image Resolution Using Aperture Masks

Sensing Increased Image Resolution Using Aperture Masks

Coded Aperture Imaging

6.A44 Computational Photography

Light-Field Database Creation and Depth Estimation

4 STUDY OF DEBLURRING TECHNIQUES FOR RESTORED MOTION BLURRED IMAGES

Today. Defocus. Deconvolution / inverse filters. MIT 2.71/2.710 Optics 12/12/05 wk15-a-1

Detail Recovery for Single-image Defocus Blur

Point Spread Function Engineering for Scene Recovery. Changyin Zhou

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

To Denoise or Deblur: Parameter Optimization for Imaging Systems

Single Image Blind Deconvolution with Higher-Order Texture Statistics

Focal Sweep Videography with Deformable Optics

Introduction to Light Fields

Raskar, Camera Culture, MIT Media Lab. Ramesh Raskar. Camera Culture. Associate Professor, MIT Media Lab

Computational Photography Introduction

Blurred Image Restoration Using Canny Edge Detection and Blind Deconvolution Algorithm

Depth from Diffusion

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

Depth Estimation Algorithm for Color Coded Aperture Camera

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

Supplementary Information

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

Perceptually-Optimized Coded Apertures for Defocus Deblurring

Refocusing Phase Contrast Microscopy Images

Manifesting a Blackboard Image Restore and Mosaic using Multifeature Registration Algorithm

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

Images and Filters. EE/CSE 576 Linda Shapiro

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

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

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

MIT CSAIL Advances in Computer Vision Fall Problem Set 6: Anaglyph Camera Obscura

2015, IJARCSSE All Rights Reserved Page 312

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

High dynamic range imaging and tonemapping

Transcription:

Project 4 Results http://www.cs.brown.edu/courses/cs129/results/proj4/jcmace/ http://www.cs.brown.edu/courses/cs129/results/proj4/damoreno/ http://www.cs.brown.edu/courses/csci1290/results/proj4/huag/

Image Depth Estimates Why would depth be useful? segmentation, navigation, interaction, and even recognition. How can we estimate it? stereo / structured lighting / structure-frommotion, vanishing point, parallel line reasoning, explicit scene and object recognition, time of flight measurement, haze measurement.

Another depth cue Are these at the same depth?

Image and Depth from a Conventional Camera with a Coded Aperture Anat Levin, Rob Fergus, Frédo Durand, William Freeman MIT CSAIL

Single input image: Output #1: Depth map

Output #1: Depth map Single input image: Output #2: All-focused image

Lens and defocus Lens aperture Image of a point light source Lens Camera sensor Point spread function Focal plane

Lens and defocus Lens aperture Image of a defocused point light source Object Lens Camera sensor Point spread function Focal plane

Lens and defocus Lens aperture Image of a defocused point light source Object Lens Camera sensor Point spread function Focal plane

Lens and defocus Lens aperture Image of a defocused point light source Object Lens Camera sensor Point spread function Focal plane

Lens and defocus Lens aperture Image of a defocused point light source Object Lens Camera sensor Point spread function Focal plane

Depth and defocus Out of focus Depth from defocus: Infer depth by analyzing local scale of defocus blur In focus

Challenges Hard to discriminate a smooth scene from defocus blur? Out of focus Hard to undo defocus blur Input Ringing with conventional deblurring algorithm

Key contributions Exploit prior on natural images - Improve deconvolution - Improve depth discrimination Natural Unnatural Coded aperture (mask inside lens) - make defocus patterns different from natural images and easier to discriminate

Related Work Depth from (de)focus e.g. Pentland, Chaudhuri, Favaro et al. Plenoptic/ light field cameras e.g. Adelson and Wang, Ng et al. Wave front coding e.g. Cathey & Dowski Coded apertures for light gathering: e.g. Fenimore and Cannon Blind Deconvolution e.g. Kundur and Hatzinakos, Fergus et al, Levin Never recover both depth AND full resolution image from a single image Except: Veeraraghavan, Raskar, Agrawal, Mohan, Tumblin SIGGRAPH07 optimize debluring while we optimize depth discrimination

Defocus as local convolution Input defocused image Calibrated blur kernels at different depths

Defocus as local convolution Input defocused image Local sub-window y f x k k Calibrated blur kernels at depth k Sharp sub-window Depth k=1: y f k x Depth k=2: y f k x Depth k=3: y f k x

Overview Try deconvolving local input windows with different scaled filters:? Larger scale? Correct scale? Smaller scale Somehow: select best scale.

Challenges Hard to deconvolve even when kernel is known Input Ringing with the traditional Richardson-Lucy deconvolution algorithm Hard to identify correct scale:? Larger scale? Correct scale? Smaller scale

Deconvolution is ill posed f x y? =

Deconvolution is ill posed f x y Solution 1:? = Solution 2:? =

Idea 1: Natural images prior What makes images special? Natural Unnatural Image gradient Natural images have sparse gradients put a penalty on gradients

Deconvolution with prior x arg min f x y Convolution error 2 i ( x ) i Derivatives prior _ 2 +? Equal convolution error Low? _ 2 + High

Comparing deconvolution algorithms (Non blind) deconvolution code available online: http://groups.csail.mit.edu/graphics/codedaperture/ Input ( x) x spread gradients 2 ( x) x 0.8 localizes gradients Richardson-Lucy Gaussian prior Sparse prior

Comparing deconvolution algorithms (Non blind) deconvolution code available online: http://groups.csail.mit.edu/graphics/codedaperture/ Input ( x) x spread gradients 2 ( x) x 0.8 localizes gradients Richardson-Lucy Gaussian prior Sparse prior

Recall: Overview Try deconvolving local input windows with different scaled filters: Larger scale? Correct scale Smaller scale?? Somehow: select best scale. Challenge: smaller scale not so different than correct

Idea 2: Coded Aperture Mask (code) in aperture plane - make defocus patterns different from natural images and easier to discriminate Conventional aperture Our coded aperture

Solution: lens with occluder Object Lens Camera sensor Point spread function Focal plane

Solution: lens with occluder Aperture pattern Image of a defocused point light source Object Lens with coded aperture Camera sensor Point spread function Focal plane

Solution: lens with occluder Aperture pattern Image of a defocused point light source Object Lens with coded aperture Camera sensor Point spread function Focal plane

Solution: lens with occluder Aperture pattern Image of a defocused point light source Object Lens with coded aperture Camera sensor Point spread function Focal plane

Solution: lens with occluder Aperture pattern Image of a defocused point light source Object Lens with coded aperture Camera sensor Point spread function Focal plane

Solution: lens with occluder Aperture pattern Image of a defocused point light source Object Lens with coded aperture Camera sensor Point spread function Focal plane

Why coded? Coded aperture- reduce uncertainty in scale identification Conventional Coded Larger scale Correct scale Smaller scale

Filter Design Analytically search for a pattern maximizing discrimination between images at different defocus scales (KL-divergence) Account for image prior and physical constraints More discrimination between scales Score See paper for details Less discrimination between scales Sampled aperture patterns Conventional aperture

Zero frequencies- pros and cons Previous talk: Our solution: 0 0 0 0 No zero frequencies: Include zero frequencies: + - Filter can be easily inverted Weaker depth discrimination + - Zeros improve depth discrimination Inversion difficult + Inversion made possible with image priors

Depth results

Regularizing depth estimation Try deblurring with 10 different aperture scales x arg min f x y 2 i ( x i ) Convolution error _ Derivatives prior 2 + Keep minimal error scale in each local window + regularization Input Local depth estimation Regularized depth

Regularizing depth estimation Local depth estimation Input Regularized depth

Sometimes, manual intervention Input Local depth estimation Regularized depth After user corrections

All focused results

Input

All-focused (deconvolved)

Close-up Original image All-focus image

Input

All-focused (deconvolved)

Close-up Original image All-focus image Naïve sharpening

Comparison- conventional aperture result Ringing due to wrong scale estimation

Comparison- coded aperture result

Application: Digital refocusing from a single image

Application: Digital refocusing from a single image

Application: Digital refocusing from a single image

Application: Digital refocusing from a single image

Application: Digital refocusing from a single image

Application: Digital refocusing from a single image

Application: Digital refocusing from a single image

Coded aperture: pros and cons + + + - + - + Image AND depth at a single shot No loss of image resolution Simple modification to lens Depth is coarse unable to get depth at untextured areas, might need manual corrections. But depth is a pure bonus Lose some light But deconvolution increases depth of field

Deconvolution code available http://groups.csail.mit.edu/graphics/codedaperture/

50mm f/1.8: $79.95 Cardboard: $1 Tape: $1 Depth acquisition: priceless