Coding and Modulation in Cameras

Similar documents
Computational Camera & Photography: Coded Imaging

Coded photography , , Computational Photography Fall 2018, Lecture 14

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

Coded photography , , Computational Photography Fall 2017, Lecture 18

Coded Computational Photography!

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

Deblurring. Basics, Problem definition and variants

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

Computational Photography Introduction

When Does Computational Imaging Improve Performance?

A Framework for Analysis of Computational Imaging Systems

Computational Cameras. Rahul Raguram COMP

Less Is More: Coded Computational Photography


Computational Approaches to Cameras

Improving Film-Like Photography. aka, Epsilon Photography

Optimal Single Image Capture for Motion Deblurring

Compressive Imaging. Aswin Sankaranarayanan (Computational Photography Fall 2017)

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

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

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

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

Coded Exposure Deblurring: Optimized Codes for PSF Estimation and Invertibility

Computational Photography

Introduction to Light Fields

To Denoise or Deblur: Parameter Optimization for Imaging Systems

Sensing Increased Image Resolution Using Aperture Masks

Coded Aperture for Projector and Camera for Robust 3D measurement

Extended Depth of Field Catadioptric Imaging Using Focal Sweep

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

Coded Aperture and Coded Exposure Photography

Changyin Zhou. Ph.D, Computer Science, Columbia University Oct 2012

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

Transfer Efficiency and Depth Invariance in Computational Cameras

Motion-invariant Coding Using a Programmable Aperture Camera

Deconvolution , , Computational Photography Fall 2017, Lecture 17

Simulated Programmable Apertures with Lytro

Modeling and Synthesis of Aperture Effects in Cameras

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

Deconvolution , , Computational Photography Fall 2018, Lecture 12

Short-course Compressive Sensing of Videos

A Review over Different Blur Detection Techniques in Image Processing

KAUSHIK MITRA CURRENT POSITION. Assistant Professor at Department of Electrical Engineering, Indian Institute of Technology Madras, Chennai.

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

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

Resolving Objects at Higher Resolution from a Single Motion-blurred Image

Computational Illumination

Lenses, exposure, and (de)focus

Removal of Glare Caused by Water Droplets

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

Flexible Depth of Field Photography

La photographie numérique. Frank NIELSEN Lundi 7 Juin 2010

Wavelengths and Colors. Ankit Mohan MAS.131/531 Fall 2009

Admin Deblurring & Deconvolution Different types of blur

Implementation of Image Deblurring Techniques in Java

The Camera : Computational Photography Alexei Efros, CMU, Fall 2005

High Resolution Spectral Video Capture & Computational Photography Xun Cao ( 曹汛 )

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

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

Focal Sweep Videography with Deformable Optics

To Denoise or Deblur: Parameter Optimization for Imaging Systems

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

Improved motion invariant imaging with time varying shutter functions

Toward Non-stationary Blind Image Deblurring: Models and Techniques

Computational Photography and Video. Prof. Marc Pollefeys

Image Formation and Camera Design

Active Aperture Control and Sensor Modulation for Flexible Imaging

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

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

VC 11/12 T2 Image Formation

An Analysis of Focus Sweep for Improved 2D Motion Invariance

Space-Time-Brightness Sampling Using an Adaptive Pixel-Wise Coded Exposure

VC 14/15 TP2 Image Formation

Depth from Diffusion

HDR videos acquisition

The camera s evolution over the past century has

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

multiframe visual-inertial blur estimation and removal for unmodified smartphones

The Camera : Computational Photography Alexei Efros, CMU, Fall 2008

What are Good Apertures for Defocus Deblurring?

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

Flexible Depth of Field Photography

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

The Dynamic Range Problem. High Dynamic Range (HDR) Multiple Exposure Photography. Multiple Exposure Photography. Dr. Yossi Rubner.

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

Sensing Increased Image Resolution Using Aperture Masks

Coded Aperture Pairs for Depth from Defocus

Lecture 19: Depth Cameras. Kayvon Fatahalian CMU : Graphics and Imaging Architectures (Fall 2011)

Light field photography and microscopy

SUPER RESOLUTION INTRODUCTION

Random Coded Sampling for High-Speed HDR Video

Coded Computational Imaging: Light Fields and Applications

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

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

Module 3: Video Sampling Lecture 18: Filtering operations in Camera and display devices. The Lecture Contains: Effect of Temporal Aperture:

ELEC Dr Reji Mathew Electrical Engineering UNSW

Light-Field Database Creation and Depth Estimation

Ultra-shallow DoF imaging using faced paraboloidal mirrors

Tradeoffs and Limits in Computational Imaging. Oliver Cossairt

Focal Sweep Imaging with Multi-focal Diffractive Optics

Transcription:

Coding and Modulation in Cameras Amit Agrawal June 2010 Mitsubishi Electric Research Labs (MERL) Cambridge, MA, USA

Coded Computational Imaging Agrawal, Veeraraghavan, Narasimhan & Mohan Schedule Introduction Assorted Pixels Coding and Modulation in Cameras Break Light Fields and Applications Break Computational Illumination Future Trends Discussion Srinivasa, 10 mins Srinivasa, 20 mins Amit, 45 mins 10 min Ankit, 60 mins 10 min Srinivasa, 45 mins Amit, 15 mins

Have Cameras Evolved? Lens Based Camera Obscura, 1568 Digital Cameras

Traditional Photography Detector Lens Pixels Image

Computational Imaging: Optics, Sensors and Computations Generalized Sensor Ray Reconstruction Computations Upto 4D Ray Sampler Generalized Optics 4D Ray Bender Picture Slide Courtesy Ramesh Raskar

Flash Hotspots Glass Reflections

Motion Blur

Camera Shake

High Dynamic Range

Out of Focus

Fog, Haze, Bad Weather

Computational Imaging Photo Manipulations Two photos are better than one!! Combine two+ photos Change camera parameters Coding and Modulation Capture relevant information Decode in software

Two photos are better than one Exposure Time Camera Controls

Changing Exposure Time High dynamic range imaging Mann and Picard, 95 Devebec and Malik, 97 Photo 1 Photo 2 Photo 3

Epsilon Photography Dynamic Range Multiple exposures Noise Reduction Flash/No-flash images, Mutiple Images Motion Blur Short + Long exposure Focus Blur Focal Stack (Images focused at different depths) Spectrum Visible + Near-IR Field of View Panaromas Resolution Multi-image super-resolution methods

Computational Imaging Photo Manipulations Two photos are better than one!! Combine two+ photos Change camera parameters Coding and Modulation Capture relevant information Decode in software

detector detector image lens image compute new optics Traditional Camera Computational Camera Slide: Courtesy Shree Nayar

Computational Cameras Adaptive Dynamic Range Imaging, Nayar & Branzoi, ICCV 2003 Omnidirectional Cameras, Gluckman & Nayar, ICCV 98 Folded Catadioptric Cameras, Nayar & Peri, CVPR 99 Catadioptric Imaging, Nayar 88 Flexible Field of View, Kuthirummal & Nayar, 07 Cata-Fisheye Camera for Panoramic Imaging, Krishnan & Nayar, 08 Generalized Mosaicing, Schechner & Nayar, ICCV 01 Motion Deblurring using Hybrid Imaging, Ben-Ezra & Nayar Jitter Camera, Ben-Ezra et al CVPR 04 Programmable Imaging, Nayar et al 2004 Single Lens Depth Camera, Gao & Ahuja, 2006 Omnidirectional Stereo Vision System, Yi and Ahuja, 06 Omnifocus Nonfrontal Imaging Camera, Aggarwal et al Split Aperture Imaging, Aggarwal and Ahuja, 2001 Plenoptic Cameras, Adelson & Wang, Ng et al., Stanford Multi-Aperture Photography, Green et al. SIGGRAPH 07 Coded Apertures, Wavefront Coding (CDM Optics) Assorted Pixels, Narasimhan & Nayar

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 PSF == Sinc Function Blurred Photo Traditional Camera: Shutter is OPEN: Box Filter ω

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

Traditional Coded Exposure Deblurred Image Deblurred Image Image of Static Object

Coded Exposure (Flutter Shutter) Camera Raskar, Agrawal, Tumblin [Siggraph2006] External Shutter with SLR Camera PointGrey Camera No additional Cost Coding in Time: Shutter is opened and closed

Mitsubishi Electric Research Labs (MERL) How to handle Coding and Modulation in Cameras Amit Agrawal focus blur?

Coded Exposure (Flutter Shutter) Raskar, Agrawal, Tumblin SIGGRAPH 2006 Coded Aperture with Veeraraghavan, Raskar, Tumblin, & Mohan, SIGGRAPH 2007 Temporal 1-D broadband code: Motion Deblurring Spatial 2-D broadband code: Focus Deblurring

LED In Focus Photo

Out of Focus Photo: Open Aperture

Out of Focus Photo: Coded Aperture

Blurred Photos Open Aperture Coded Aperture, 7 * 7 Mask

Deblurred Photos Open Aperture Coded Aperture, 7 * 7 Mask

Mitsubishi Electric Research Labs (MERL) Captured Blurred Coding and Modulation in Cameras Amit Agrawal Photo

Refocused on Person

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

Key Concept 1: PSF Invertibility Modify the PSF to be invertible PSF == Impulse Response Traditional Camera Non-invertible PSF (loses information) Coding in Camera Invertible PSF Coding in Time == Coded Exposure Coding in Space == Coded Aperture

Key Concept: PSF Null-Filling PSF invertibility using multiple photos Varying Exposure No camera modification required Photo 1 Photo 2 Photo 3 Can do it on available SLR s Using Exposure Bracketing mode (AEB) Invertible Motion Blur in Video, Agrawal, Xu and Raskar, SIGGRAPH 2009

Traditional Exposure Video Motion PSF (Box Filter) Fourier Transform Information is lost Exposure Time

Varying Exposure Video Exposure Time Fourier Transform

Varying Exposure Video No common nulls Exposure Time Fourier Transform Exposure Time

Varying Exposure Video No common nulls Exposure Time Fourier Transform Exposure Time Exposure Time

Varying Exposure Video = PSF Null-Filling Fourier Transform Joint Frequency Spectrum Preserves All Frequencies

Key Idea: PSF Null-Filling Individual non-invertible PSF s combined into jointly-invertible PSF Information lost in any single photo is captured in some other photo For motion deblurring Achieve PSF null-filling by varying the exposure time of successive photos Varying Exposure Photo 1 Photo 2 Photo 3

Varying Exposure Video

Blurred Photos Deblurred Result

Outdoor Car Photo 1 Photo 2 Photo 3 Deblurring

Face Blurred Photo 1 Blurred Photo 2 Blurred Photo 3 Deblurred

Auto Exposure Bracketing (AEB) for Varying Exposure Deblurring 1/50s 1/80s 1/30s

Blurred Photos Deblurred Result

Key Concept 2: PSF Invariance But Need to estimate depth or velocity for deblurring Modify the PSF to be invariant Motion Blur Motion invariant Photography (MIP), Levin et al SIG08 Focus Blur Wavefront coding Focus Sweep Camera Spectral Sweep Camera Diffusion coding

PSF Invariance: Motion Blur Move the camera while taking photo Constant Camera Acceleration Leads to similar PSF for object velocity in a range But requires knowledge of motion direction MIP Traditional Camera Coded Exposure PSF

Comparison Coded Exposure Requires motion magnitude for deblurring But works for any motion direction PSF Invariance Requires motion direction to move the camera But invariant PSF for motion magnitude within a range Optimal Single Image Capture for Motion Deblurring, Agrawal and Raskar, CVPR 2009

PSF Invariance: Focus Blur Defocus PSF should be invariant of depth Nagahara et al. ECCV 2008

Wavefront Coding Traditional Lens: Defocus ( circle of confusion) dependent on distance from plane of focus http://www.cdm-optics.com

Wavefront Coding Traditional Lens: Defocus dependent on distance from plane of focus Cubic Phase Plate Defocus nearly independent of distance All points blurred Deconvolve to get sharper image http://www.cdm-optics.com

Spectral Focal Sweep Lens Cossairt and Nayar, ICCP 2010

Cossairt and Nayar, ICCP 2010

PSF Invariance: Focus Blur Vary focal length in captured photo Focal Length Variation Hardware Implementation Reference Time Sensor Motion Nagahara et al. ECCV 2008 Phase/Angle Cubic Phase Plate Wavefront Optics Wavelength Lens with Chromatic Aberrations Cossairt and Nayar, ICCP 2010 Aperture Divide the aperture into different lens Ben-Eliezer, Applied Optics 2005, Levin et al SIGGRAPH 2009

PSF Invariance: Diffusion Coding Use a radially symmetric diffuser in aperture Cossairt and Nayar, SIGGRAPH 2010

High Speed Imaging High speed cameras Expensive Require on-board memory Fundamental Light Loss 30 fps 500 fps 2000 fps 4000 fps -24.5 db -36.5 db -42.5 db

For Periodic Signals Coded Strobing Camera: 100x Temporal Super-Resolution Coded Exposure Video Every frame is coded differently

Battery powered Toothbrush 20fps normal camera 20fps coded strobing camera Reconstructed frames 1000fps hi-speed camera

Implementation Can strobed at 1ms Can strobe at 250us Captured at 10fps PGR Dragonfly2 External FLC Shutter

Temporally at a pixel observe different linear combinations of the periodic signal P = 10ms t Advantage of the design: Exposure coding is independent of the frequency periodic signal. 50% light throughput, far greater than traditional strobing.

Compressive sensing Reconstruction y = A s Observed low rate frames Basis Pursuit De-noising Mixing matrix min s s. t. y As 1 2 Very few (K) non-zero elements Sparse Basis Coeff

Battery powered Toothbrush 20fps normal camera 20fps coded strobing camera Reconstructed frames 1000fps hi-speed camera

Rotating Mill Tool captured by PointGrey Dragonfly2 Normal Video: 25fps Coded Strobing Video: 25fps Reconstructed Video at 2000fps

High Speed Imaging Coded Strobing Camera for Periodic Signals For General Scenes? Camera Arrays Agrawal et al. CVPR 2010, Wilburn et al. CVPR 2004, Shechtman et al. ECCV 2002

Point Sampling Wilburn et al CVPR 2004 Camera Arrays Each camera captures independent sample of high speed video C 1 C 2 C 3 C 4 T in in T f Point Sampling Interleave Frames out in out T T / N, T T f f in High temporal resolution video

Box Sampling Camera Arrays C 1 C 2 C 3 Box Sampling C 4 in Tf Interleave Frames out in T T N f f / T in Solve Linear System out in T T / N High temporal resolution video

Space-Time Super-Resolution, Shechtman et al. ECCV 2002

Coded Sampling Camera Arrays Agrawal, Gupta, Veeraraghavan and Narasimhan CVPR 2010 Coded Sampling C 1 C 2 C 3 C 4 in T f Interleave Frames Solve Linear System out in out T T / N, T T f f in T f out f High temporal resolution video

Implementation

Flexible Videography [Gupta, Agrawal, Veeraraghavan and Narasimhan, ECCV 2010] Resolution Tradeoff: Traditional Video Camera Fixed Space-Time Resolution Independent of the scene Same all over the image Flexible Videography Change space-time resolution in post capture Scene dependent Resolution Different for different parts of the image

Flexible Voxels Per pixel coded exposure Different temporal modulation per pixel Scene Camera Integration Time Projector Pattern Beam Splitter Image Plane Image Plane Projector Pixel 1 Pixel 2 Pixel K Camera Time

Scene Beam Splitter Image Plane Image Plane Projector Camera

y Sampling Strategy for 1-16x t 16 15 1 16 2 15 1 2 9 10 8 9 7 10 8 7 4 13 3 14 13 14 4 3 5 12 6 11 12 11 5 6 TR = 1, SR = 1/1 TR = 2, SR = 1/2 1 16 2 15 8 4 5 9 7 10 13 3 14 12 6 11 x 16 15 t 9 10 13 14 8 7 12 11 1 2 5 6 4 3 16 15 13 14 t 12 11 9 10 8 7 5 6 4 3 1 2 t 1 2345 6 78910 16 11 12131415 TR = 4, SR = 1/4 TR = 8, SR = 1/8 TR = 16, SR = 1/16

Captured Video

Naïve Reconstruction 8X Temporal Super-res, but 8 times lower spatial resolution

Optical Flow Magnitudes

Motion Aware Reconstruction 8X Temporal Super-res on moving fan, same spatial resolution on static parts

Captured Video Naïve Reconstruction Optical Flow Motion Aware Reconstruction

Summary: Temporal Modulations Coded Exposure (Photo) Same for all pixels Motion deblurring Strobe Camera (Video) Same for all pixels in a frame Different across frames Temporal Super-Resolution (100x) Multi-Camera Arrays (Video) Same for all pixels in a frame Same across frames, different across cameras High Speed Imaging Flexible Voxels (Motion Aware Video) Different for pixels in a frame Same across frames Post Capture Space Time Resolution Tradeoff

Section Summary Coding and Modulation Beyond Photo Manipulations Key Concepts PSF Invertibility and PSF Invariance Motion Blur and Defocus blur Coded exposure, Coded aperture, Wavefront coding etc. High Speed Imaging Strobing Camera Coded Sampling for Camera Arrays Flexible Videography Post-capture Resolution Tradeoff

Coded Computational Imaging Agrawal, Veeraraghavan, Narasimhan & Mohan Schedule Introduction Assorted Pixels Coding and Modulation in Cameras Break Light Fields and Applications Break Computational Illumination Future Trends Discussion Srinivasa, 10 mins Srinivasa, 20 mins Amit, 45 mins 10 min Ankit, 60 mins 10 min Srinivasa, 45 mins Amit, 15 mins