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

Similar documents
Computational Cameras. Rahul Raguram COMP

Computational Camera & Photography: Coded Imaging

Coded photography , , Computational Photography Fall 2018, Lecture 14

Coded photography , , Computational Photography Fall 2017, Lecture 18

Coded Computational Photography!


Coding and Modulation in Cameras

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

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

Computational Approaches to Cameras

Deblurring. Basics, Problem definition and variants

A Framework for Analysis of Computational Imaging Systems

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

Coded Aperture and Coded Exposure Photography

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

Deconvolution , , Computational Photography Fall 2018, Lecture 12

Deconvolution , , Computational Photography Fall 2017, Lecture 17

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

Introduction to Light Fields

Less Is More: Coded Computational Photography

Coded Aperture for Projector and Camera for Robust 3D measurement

When Does Computational Imaging Improve Performance?

Computational Photography

Lenses, exposure, and (de)focus

Transfer Efficiency and Depth Invariance in Computational Cameras

Modeling and Synthesis of Aperture Effects in Cameras

Computational Photography and Video. Prof. Marc Pollefeys

Simulated Programmable Apertures with Lytro

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

Point Spread Function Engineering for Scene Recovery. Changyin Zhou

A Review over Different Blur Detection Techniques in Image Processing

Flexible Depth of Field Photography

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

Sensing Increased Image Resolution Using Aperture Masks

Coded Exposure Deblurring: Optimized Codes for PSF Estimation and Invertibility

Computational Photography Introduction

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

Admin Deblurring & Deconvolution Different types of blur

4D Frequency Analysis of Computational Cameras for Depth of Field Extension

Optimal Single Image Capture for Motion Deblurring

What are Good Apertures for Defocus Deblurring?

6.A44 Computational Photography

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

To Denoise or Deblur: Parameter Optimization for Imaging Systems

Flexible Depth of Field Photography

Computational Photography: Principles and Practice

Agenda. Fusion and Reconstruction. Image Fusion & Reconstruction. Image Fusion & Reconstruction. Dr. Yossi Rubner.

Extended Depth of Field Catadioptric Imaging Using Focal Sweep

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

Coded Aperture Pairs for Depth from Defocus

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

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

To Denoise or Deblur: Parameter Optimization for Imaging Systems

Toward Non-stationary Blind Image Deblurring: Models and Techniques

Coded Aperture Flow. Anita Sellent and Paolo Favaro

Focal Sweep Videography with Deformable Optics

Implementation of Image Deblurring Techniques in Java

Ultra-shallow DoF imaging using faced paraboloidal mirrors

Removal of Glare Caused by Water Droplets

Improved motion invariant imaging with time varying shutter functions

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

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

On the Recovery of Depth from a Single Defocused Image

Topic 6 - Optics Depth of Field and Circle Of Confusion

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

THE depth of field (DOF) of an imaging system is the

Sensing Increased Image Resolution Using Aperture Masks

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

Admin. Lightfields. Overview. Overview 5/13/2008. Idea. Projects due by the end of today. Lecture 13. Lightfield representation of a scene

Improving Film-Like Photography. aka, Epsilon Photography

Dynamically Reparameterized Light Fields & Fourier Slice Photography. Oliver Barth, 2009 Max Planck Institute Saarbrücken

Reinterpretable Imager: Towards Variable Post-Capture Space, Angle and Time Resolution in Photography

CVPR Easter School. Michael S. Brown. School of Computing National University of Singapore

Defocus Map Estimation from a Single Image

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

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

Motion-invariant Coding Using a Programmable Aperture Camera

High dynamic range imaging and tonemapping

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

Light-Field Database Creation and Depth Estimation

Full Resolution Lightfield Rendering

Analysis of Coded Apertures for Defocus Deblurring of HDR Images

Computational Illumination

Cameras and Sensors. Today. Today. It receives light from all directions. BIL721: Computational Photography! Spring 2015, Lecture 2!

multiframe visual-inertial blur estimation and removal for unmodified smartphones

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Mechanical Engineering Department. 2.71/2.710 Final Exam. May 21, Duration: 3 hours (9 am-12 noon)

Digital Image Processing

Criteria for Optical Systems: Optical Path Difference How do we determine the quality of a lens system? Several criteria used in optical design

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

PTC School of Photography. Beginning Course Class 2 - Exposure

Film Cameras Digital SLR Cameras Point and Shoot Bridge Compact Mirror less

Optical image stabilization (IS)

Mastering Y our Your Digital Camera

Why learn about photography in this course?

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

Building a Real Camera. Slides Credit: Svetlana Lazebnik

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

Announcement A total of 5 (five) late days are allowed for projects. Office hours

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

Cameras. Digital Visual Effects, Spring 2008 Yung-Yu Chuang 2008/2/26. with slides by Fredo Durand, Brian Curless, Steve Seitz and Alexei Efros

Transcription:

Dappled Photography: Mask Enhanced Cameras for Heterodyned Light Fields and Coded Aperture Refocusing Ashok Veeraraghavan, Ramesh Raskar, Ankit Mohan & Jack Tumblin Amit Agrawal, Mitsubishi Electric Research Labs (MERL), Cambridge, MA, USA Northwestern University, IL

Coded Exposure [Raskar, Agrawal, Tumblin SIGGRAPH 2006]

Coded Exposure (Flutter Shutter) Camera Raskar, Agrawal, Tumblin [Siggraph2006] Coding in Time: Shutter is opened and closed

Blurring == Convolution Sharp Photo Blurred Photo PSF == Sinc Function Traditional Camera: Shutter is OPEN: Box Filter ω

Coded Exposure Sharp Photo Blurred Photo PSF == Broadband Function Preserves High Spatial Frequencies Flutter Shutter: Shutter is OPEN and CLOSED

Traditional Coded Exposure Deblurred Image Deblurred Image Image of Static Object

How to handle focus blur?

Coded Exposure Coded Aperture Temporal 1-D broadband code: Motion Deblurring Spatial 2-D broadband mask: Focus Deblurring

In Focus Photo Point light source (LED)

Out of Focus Photo: Open Aperture

Lens and defocus Lens aperture Image of a point light source Lens Camera sensor Point spread function Focal plane Slide Credit: Levin et. al

Lens and defocus Lens aperture Image of a defocused point light source Object Lens Camera sensor Point spread function Focal plane Slide Credit: Levin et. al

Lens and defocus Lens aperture Image of a defocused point light source Object Lens Camera sensor Point spread function Focal plane Slide Credit: Levin et. al

Lens and defocus Lens aperture Image of a defocused point light source Object Lens Camera sensor Point spread function Focal plane Slide Credit: Levin et. al

Lens and defocus Lens aperture Image of a defocused point light source Object Lens Camera sensor Point spread function Focal plane Slide Credit: Levin et. al

Out of Focus Photo: Coded Aperture

Blurred Photos Open Aperture Coded Aperture, 7 * 7 Mask

Deblurred Photos Open Aperture Coded Aperture, 7 * 7 Mask

Captured Blurred Photo

Full Resolution Digital Refocusing

Blur Estimation & Segmentation Defocus blur dependent on depth Assumptions Layered Lambertian Scene Constant blur within each layer Deblur at different blur sizes k k = 1 Captured Blurred Photo k = 10

Define Cost Function k = 1 k = 1 k = 10 Deblurred Images k = 10 Cost Function Images Likelihood Error: (Blurred image - Sharp Image * PSF k ) 2 Gradient Error: Natural Image Statistics, Gradient Kurtosis

Blur Estimation & Segmentation == Labeling Graph cuts for labeling k = 1 K = 1 k = 10 Error Images K = 7

Captured Photo Reblur Deblur, k = 7 Fusion

Less is More Blocking Light == More Information Coded Exposure Coding in Time Coded Aperture Coding in Space

Flexible Depth of Field Photography Nagahara, Kuthirammal, Zhou, and Nayar ECCV 2008 Slide-deck credit: Nagahara et al.

Hardware Setup

Captured Image Aperture f/1.4, Exposure 0.36 sec

Deblurred EDOF image

Single traditional Image Aperture f/1.4, Exposure 0.36 sec

Single image with same EDOF Aperture f/8, Exposure 0.36 sec

Captured Image Aperture f/1.4, Exposure 0.36 sec

Deblurred EDOF image

Single traditional Image Aperture f/1.4, Exposure 0.36 sec

Single image with same EDOF Aperture f/8, Exposure 0.36 sec

Tunable focus ring

Discontinuous DOF

Discontinuous DOF Aperture f/11

Discontinuous DOF Aperture f/1.4

Tilted DOF

Image from normal camera Aperture f/1.4

Tilted DOF Aperture f/1.4

Non-planar DOF

Image from a normal camera Aperture f/1.4

Non-planar DOF Aperture f/1.4

Multi-Aperture Photography Paul Green MIT CSAIL Wenyang Sun MERL Wojciech Matusik MERL Frédo Durand MIT CSAIL

Motivation Depth of Field Control Portrait Landscape Large Aperture Shallow Depth of Field Small Aperture Large Field Depth of http://photographertips.net

Depth and Defocus Blur sensor lens plane of focus circle of confusion subject rays from point in focus converge to single pixel defocus blur depends on distance from plane of focus

Defocus Blur & Aperture sensor lens aperture plane of focus circle of confusion subject defocus blur depends on aperture size http://photographertips.net

Goals Aperture size is a critical parameter for photographers post-exposure depth of field control extrapolate shallow depth of field beyond physical aperture

Outline Multi-Aperture Camera New camera design Capture multiple aperture settings simultaneously Applications Depth of field control Depth of field extrapolation (Limited) refocusing

Related Work Computational Cameras Plenoptic Cameras Adelson and Wang 92 Ng et al 05 Georgiev et al 06 Split-Aperture Camera Aggarwal and Ahuja 04 Optical Splitting Trees McGuire et al 07 Coded Aperture Levin et al 07 Veeraraghavan et al 07 Wavefront Coding Dowski and Cathey 95 Depth from Defocus Pentland 87 Adelson and Wang 92 McGuire et al 07 Georgiev et al 06 Aggarwal and Ahuja 04 Levin et al 07 Veeraraghavan et al 07

Plenoptic Cameras Capture 4D LightField 2D Spatial (x,y) 2D Angular (u,v Aperture) Lens Aperture v Trade resolution for flexibility after capture Refocusing Depth of field control Improved Noise Characteristics Lenslet Array u Subject Sensor (x,y) Lens (u,v)

1D vs 2D Aperture Sampling Aperture v u 2D Grid Sampling http://photographertips.net

1D vs. 2D Aperture Sampling Aperture Aperture 45 Samples v 4 Samples u 2D Grid Sampling 1D Ring Sampling http://photographertips.net

Optical Design Principles 3D sampling 2D spatial 1D aperture size 1 image for each ring Aperture Sensor http://photographertips.net

Aperture Splitting Goal: Split aperture into 4 separate optical paths concentric tilted mirrors at aperture plane Tilted Mirrors

Aperture Splitting Mirrors Focusing lenses Sensor Incoming light Tilted Mirrors

Aperture Splitting Ideally at aperture plane, but not physically possible! Solution: Relay Optics to create virtual aperture plane Photographic Relay Lens system Aperture splitting optics X Aperture Plane New Aperture Plane

Optical Prototype mirrors lenses SLR Camera main lens relay optics tilted mirrors Mirror Close-up

Sample Data Raw data from our camera

Point Spread Function Occlusion inner ring 1 ring 2 outer combined Ideally would be rings Gaps are from occlusion

Outline Multi-Aperture Camera New camera design Capture multiple aperture settings simultaneously Applications Depth of field control Depth of field extrapolation Refocusing

DOF Navigation I0 I2 I I 1 3

DOF Extrapolation? Approximate defocus blur as convolution I n I K ( 0 n I 0 I 1 I 2 I 3 ) I E Depends on depth and aperture size What is at each pixel in?? E I E K ( n ) - Circular aperture blurring kernel

Blur size DOF Extrapolation Roadmap capture estimate blur fit model extrapolate blur Largest physical aperture I E I I I 3 2 I 1 0 Aperture Diameter

Blur size Defocus Gradient Defocus blur σ D σ Blur proportional to aperture diameter I 1 I I 3 2 I 0 Largest physical aperture I E d s sensor distance G ( d Defocus Gradient s (d s f ) d fd G f ) d fd o o d o focal length fd object distance s o o fd s D Aperture Diameter D G is slope of this line Defocus Gradient Map aperture diameter

Optimization solve for discrete defocus gradient values G at each pixel Data term 1 D ( G) I I K ( G ) Graph Cuts with spatial regularization term i i 0 N i Smallest Aperture Image Defocus Gradient Map

Depth of Field Extrapolation

Synthetic Refocusing Modify gradient labels and re-synthesize image gradient map refocused map extrapolated f/1.8 refocused synthetic f/1.8

Discussion Occlusion Could help depth discrimination (coded aperture) Difficult alignment process Mostly because prototype Refocusing limited by Depth of Field helped by depth-guided deconvolution Texture required for accurate defocus gradient map Not critical for depth of field and refocus

74 4D Frequency Analysis of Computational Cameras for Depth of Field Extension Anat Levin 1,2 Sam Hasinoff 1 Paul Green 1 Frédo Durand 1 Bill Freeman 1 1 MIT CSAIL 2 Weizmann Institute

Defocus blur in a standard lens 75 At focus depth, sharp Away from focus depth, blurred

Small aperture increased depth of field but noisy 76 Depth 1: sharp but noisy Depth 2: sharp but noisy

Extended depth of field cameras 77 input output odified optics Deconvolution Extended DOF cameras: remove blur computationally and design optics to make that easy

In this talk 78 How much can depth of field be extended? New lens extending depth of field

The lattice-focal lens 79 Our design: assembly of subsquares with different focal powers each element focuses on a different depth toy lattice-focal lens with 4 elements E s ( x, y ) 2 S 4 / 3 A 8/ 3 1/ 3 x, y

Hardware construction 80 Proof of concept 12 subsquares cut from plano-convex spherical lenses Attached to main lens extra focal power needed very low Modest DOF extension with only 12 subsquares

Depth estimation 81 Defocus kernels vary with depth defocus kernels at different depths Depth estimation as for the coded aperture camera [Levin et al. 07] input depth map

Standard lens reference 82

Lattice-focal lens

Standard lens reference 84

Lattice-focal lens

Standard lens reference 86

Results Lattice-focal lens

Application: Refocusing from single captured image 88

Application: Refocusing from single captured image 89

Application: Refocusing from single captured image 90

The lattice-focal lens limitations 91 Depth estimation needed for deblurring Only capture part of the 4D light field spectrum Subsquare size and focal power optimized for a given focusing range Higher spectrum than previous designs, but does not reach the upper bound