119
Ramesh Raskar, Computational Illumination Computational Illumination Computational Illumination Ramesh Raskar Mitsubishi Electric Research Labs Course WebPage : http://www.merl.com/people/raskar/photo/

Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational IlluminationComputational Illumination

Ramesh RaskarMitsubishi Electric Research Labs

Course WebPage : http://www.merl.com/people/raskar/photo/

Page 2: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational Illumination

Page 3: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Traditional  Traditional  ‘‘filmfilm‐‐likelike’’ PhotographyPhotography

Lens

Detector

Pixels

Image

Page 4: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Computational  PhotographyComputational  Photography: : Optics, Sensors and ComputationsOptics, Sensors and Computations

GeneralizedSensor

GeneralizedOptics

Computations

Picture

4D Ray BenderUpto 4D 

Ray Sampler

Ray Reconstruction

Page 5: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Computational PhotographyComputational Photography

Novel CamerasGeneralizedSensor

GeneralizedOptics

Processing

Page 6: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Computational PhotographyComputational Photography Novel Illumination

Novel CamerasGeneralizedSensor

GeneralizedOptics

Processing

Light Sources

Page 7: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Computational PhotographyComputational Photography Novel Illumination

Novel Cameras

Scene: 8D Ray Modulator

GeneralizedSensor

GeneralizedOptics

Processing

Light Sources

Page 8: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Computational PhotographyComputational Photography Novel Illumination

Novel Cameras

Scene: 8D Ray Modulator

Display

GeneralizedSensor

GeneralizedOptics

Processing

Recreate 4D Lightfield

Light Sources

Page 9: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Computational PhotographyComputational Photography Novel Illumination

Novel Cameras

Scene: 8D Ray Modulator

Display

GeneralizedSensor

GeneralizedOptics

Processing

4D Ray BenderUpto 4D 

Ray Sampler

Ray Reconstruction

GeneralizedOptics

Recreate 4D Lightfield

Light Sources

Modulators

4D Incident Lighting

4D Light Field

Page 10: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Computational IlluminationComputational Illumination

Novel Cameras

Scene: 8D Ray Modulator

Display

GeneralizedSensor

GeneralizedOptics

Processing

4D Ray BenderUpto 4D 

Ray Sampler

Ray Reconstruction

GeneralizedOptics

Recreate 4D Lightfield

Light Sources

Modulators

4D Light Field

Programmable  4D Illumination field + time + wavelength

Programmable  4D Illumination field + time + wavelength

Page 11: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

‘Smarter’ Lighting Equipment

What Parameters Can We Change ?What Parameters Can We Change ?

Page 12: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Edgerton 1930Edgerton 1930’’ss

Page 13: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Edgerton 1930Edgerton 1930’’ss

Multi‐flash sequential photography

Stroboscope(Electronic Flash)

CameraExposure

Flash Time

Page 14: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational Illumination:Computational Illumination:Programmable 4D Illumination Field + Time + WavelengthProgrammable 4D Illumination Field + Time + Wavelength

•• Presence or Absence, Duration, BrightnessPresence or Absence, Duration, Brightness–– Flash/NoFlash/No--flashflash

•• Light positionLight position–– MultiMulti--flash for depth edgesflash for depth edges–– Programmable dome (image reProgrammable dome (image re--lighting and matting)lighting and matting)

•• Light color/wavelengthLight color/wavelength

•• Spatial ModulationSpatial Modulation–– Synthetic Aperture IlluminationSynthetic Aperture Illumination

•• Temporal ModulationTemporal Modulation–– TV remote, Motion Tracking, Sony IDTV remote, Motion Tracking, Sony ID--cam, RFIGcam, RFIG

•• Exploiting (uncontrolled) natural lighting conditionExploiting (uncontrolled) natural lighting condition–– Day/Night FusionDay/Night Fusion

Page 15: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational IlluminationComputational Illumination•• Presence or Absence, Duration, BrightnessPresence or Absence, Duration, Brightness

–– Flash/NoFlash/No--flashflash•• Light positionLight position

–– MultiMulti--flash for depth edgesflash for depth edges–– Programmable dome (image reProgrammable dome (image re--lighting and matting)lighting and matting)

•• Light color/wavelengthLight color/wavelength

•• Spatial ModulationSpatial Modulation–– Synthetic Aperture IlluminationSynthetic Aperture Illumination

•• Temporal ModulationTemporal Modulation–– TV remote, Motion Tracking, Sony IDTV remote, Motion Tracking, Sony ID--cam, RFIGcam, RFIG

•• General lighting conditionGeneral lighting condition–– Day/NightDay/Night

Page 16: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Denoising Challenging Images

Available light:+ nice lighting

- noise/blurriness- color

No-flash

Page 17: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Flash:+ details+ color

- flat/artificial

Flash

Page 18: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Denoise no-flash image using flash image

Flash

No-flash

Result

Elmar Eisemann and Frédo Durand , Flash Photography Enhancement via Intrinsic Relighting

Georg Petschnigg, Maneesh Agrawala, Hugues Hoppe, Richard Szeliski, Michael Cohen, Kentaro Toyama. Digital Photography with Flash and No-Flash Image Pairs

Page 19: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

+ original lighting+ details/sharpness+ color

Result

No-flash

Transfer detail from flash image to no-flash image

Page 20: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Cross-Bilateral Filter based Approach

Page 21: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Cross Bilateral Filter

• When no-flash image is too noisy

• Borrow similarity from flash image

edge stopping from flash image

Bilateral Cross Bilateral

Page 22: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Detail Layer

Intensity Large-scale

/ =Detail

Recombination: Large scale * Detail = Intensity

Page 23: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Need flash component!

FlashAmbient

Page 24: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Build Exposure HDR image

• Multiple images with different exposure 

– Debevec & Malik, Siggraph 97– Nayar & Mitsunaga, CVPR 00

Increasing Exposure 

Page 25: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Flash IntensityBuild Flash HDR image

Page 26: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Flash‐Exposure Sampling

Build Flash‐ExposureHDR image

Exposure

Flash Intensity

Agrawal, Raskar, Nayar, LiSiggraph05

Page 27: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Varying Exposure time Varying Flash brightness Varying both

Capturing HDR Image

Page 28: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Flash Result Reflection LayerAmbient

Flash and Ambient Images[ Agrawal, Raskar, Nayar, Li Siggraph05 ]

Page 29: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Intensity Gradient Vector Projection

Page 30: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Intensity Gradient Vectors in Flash and Ambient Images

Same gradient vector direction Flash Gradient Vector

Ambient Gradient Vector

Ambient Flash

No reflections

Page 31: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Reflection Ambient Gradient Vector

Different gradient vector direction

With reflections

Ambient Flash

Flash Gradient Vector

Page 32: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Residual Gradient Vector

Intensity Gradient Vector Projection

Result Gradient Vector

Ambient Flash Result Residual

Reflection Ambient Gradient Vector

Flash Gradient Vector

Page 33: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

FlashProjection = Result

Residual =Reflection Layer

Co-located Artifacts

Ambient

Page 34: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational IlluminationComputational Illumination•• Presence or Absence, Duration, BrightnessPresence or Absence, Duration, Brightness

–– Flash/NoFlash/No--flashflash•• Light positionLight position

–– Programmable dome (image reProgrammable dome (image re--lighting and matting)lighting and matting)–– MultiMulti--flash for depth edgesflash for depth edges

•• Light color/wavelengthLight color/wavelength

•• Spatial ModulationSpatial Modulation–– Synthetic Aperture IlluminationSynthetic Aperture Illumination

•• Temporal ModulationTemporal Modulation–– TV remote, Motion Tracking, Sony IDTV remote, Motion Tracking, Sony ID--cam, RFIGcam, RFIG

•• General lighting conditionGeneral lighting condition–– Day/NightDay/Night

Page 35: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Synthetic LightingSynthetic LightingPaul Paul HaeberliHaeberli, Jan 1992, Jan 1992

Page 36: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

DebevecDebevec et al. 2002: et al. 2002: ‘‘Light Stage 3Light Stage 3’’

Page 37: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

ImageImage--Based Actual ReBased Actual Re--lightinglighting

Film the background in Milan,Film the background in Milan,Measure incoming light,Measure incoming light,

Light the actress in Los AngelesLight the actress in Los Angeles

Matte the backgroundMatte the background

Matched LA and Milan lighting.Matched LA and Milan lighting.

Debevec et al., SIGG2001

Page 38: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

courtesy of P. Debevec

courtesy of A Agrawala

Photomontage

Page 39: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Page 40: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

TableTable--top Computed Lighting for top Computed Lighting for Practical Digital Photography Practical Digital Photography

Ankit Mohan, Jack TumblinAnkit Mohan, Jack TumblinNorthwestern UniversityNorthwestern University

Bobby Bobby BodenheimerBodenheimerVanderbilt UniversityVanderbilt University

Cindy Grimm, Cindy Grimm, ReynoldReynold BaileyBaileyWashington University in St. LouisWashington University in St. Louis

Page 41: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Move shadow back

Soften this shadow

Make this brighter

Remove this specular highlight

Make this darker

Page 42: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Target

Result

Sketch Your Desires, OptimizeSketch Your Desires, Optimize

Page 43: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Acquisition for RelightingAcquisition for Relighting

object

•• Uniquely lit Uniquely lit basis imagesbasis images

•• KnownKnown lightlight--positionspositions

Page 44: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

‘‘Aimed SpotAimed Spot’’: low: low--risk movementrisk movement

Page 45: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

From Jack Tumblin

Page 46: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Overlapped Spots avoid aliasingOverlapped Spots avoid aliasing

Page 47: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

““Light WavingLight Waving””Tech Sketch (Tech Sketch (WinnemollerWinnemoller, Mohan, Tumblin, Gooch), Mohan, Tumblin, Gooch)

Page 48: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Light Waving: Estimating Light Light Waving: Estimating Light Positions From Photographs Positions From Photographs

AloneAlone

HolgerHolger WinnemWinnemööllerller, Ankit Mohan, , Ankit Mohan, Jack Tumblin, Bruce GoochJack Tumblin, Bruce Gooch

Northwestern University Northwestern University

Page 49: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational IlluminationComputational IlluminationQuest for 4D IlluminationQuest for 4D Illumination

Novel Cameras

Scene: 8D Ray Modulator

Display

GeneralizedSensor

GeneralizedOptics

Processing

4D Ray BenderUpto 4D 

Ray Sampler

Ray Reconstruction

GeneralizedOptics

Light Sources

Modulators

4D Light Field

Programmable  4D Illumination field + time + wavelength

Programmable  4D Illumination field + time + wavelength

Page 50: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination[Debevec et al. 2002]

[Debevec et al. 2000] [Masselus et al. 2002]

[Masselus et al. 2003] [Malzbender et al. 2002]

[Matusik et al. 2002]

A 4A 4--D Light SourceD Light Source

Page 51: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Ramesh Raskar, Karhan Tan, Rogerio Feris, Jingyi Yu, Matthew Turk

Mitsubishi Electric Research Labs (MERL), Cambridge, MAU of California at Santa BarbaraU of North Carolina at Chapel Hill

NonNon--photorealistic Camera: photorealistic Camera: Depth Edge Detection Depth Edge Detection andand Stylized Rendering Stylized Rendering usingusing

MultiMulti--Flash ImagingFlash Imaging

Page 52: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Depth Edge Camera

Page 53: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 54: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 55: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 56: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 57: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 58: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 59: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 60: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 61: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 62: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 63: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 64: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 65: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Depth Discontinuities

Internal and externalShape boundaries, Occluding contour, Silhouettes

Page 66: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Depth Edges

Page 67: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Sigma = 9 Sigma = 5

Sigma = 1

Canny Intensity Edge Detection

Our method captures shape edges

Page 68: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Our MethodCanny

Page 69: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Our Method

Photo

Page 70: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Canny Intensity Edge Detection

Our Method

Photo Result

Page 71: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 72: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Shadows

Clutter

Many Colors

Highlight Shape Edges

Mark moving parts

Basic colors

Page 73: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Shadows

Clutter

Many Colors

Highlight Edges

Mark moving parts

Basic colors

A New ProblemA New Problem

Page 74: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 75: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research Labs Raskar, Tan, Feris, Yu, TurkMultiFlash NPR Camera

Page 76: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational IlluminationComputational Illumination•• Presence or AbsencePresence or Absence

–– Flash/NoFlash/No--flashflash•• Light positionLight position

–– MultiMulti--flash for depth edgesflash for depth edges–– Programmable dome (image reProgrammable dome (image re--lighting and matting)lighting and matting)

•• Light color/wavelengthLight color/wavelength

•• Spatial Modulation (IntraSpatial Modulation (Intra--flash 2D Modulation)flash 2D Modulation)–– Synthetic Aperture IlluminationSynthetic Aperture Illumination

•• Temporal ModulationTemporal Modulation–– TV remote, Motion Tracking, Sony IDTV remote, Motion Tracking, Sony ID--cam, RFIGcam, RFIG

•• General lighting conditionGeneral lighting condition–– Day/NightDay/Night

Page 77: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

6-D Methods and beyond...Relighting with 4D Incident Light Fields Vincent Masselus, Pieter Peers,

Philip Dutre and Yves D. Willems SIGG2003

Page 78: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

© 2004 Marc Levoy

Synthetic Aperture Illumination: Comparison with Long-range synthetic aperture photography

• width of aperture 6’• number of cameras 45• spacing between cameras 5”• camera’s field of view 4.5°

Page 79: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

© 2004 Marc Levoy

The scene

• distance to occluder 110’• distance to targets 125’• field of view at target 10’

Page 80: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

© 2004 Marc Levoy

Synthetic aperture photographyusing an array of mirrors

• 11-megapixel camera (4064 x 2047 pixels)• 18 x 12 inch effective aperture, 9 feet to scene • 22 mirrors, tilted inwards → 22 views, each 750 x 500 pixels

Page 81: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

© 2004 Marc Levoy

Synthetic aperture illumination

• technologies– array of projectors– array of microprojectors– single projector + array of mirrors

Page 82: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

© 2004 Marc Levoy

What does synthetic aperture illumination look like?

Page 83: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

What are good patterns?pattern one trial 16 trials

Page 84: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background
Page 85: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

© 2004 Marc Levoy

Underwater confocal imagingwith and without SAP

Page 86: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational IlluminationComputational Illumination•• Presence or AbsencePresence or Absence

–– Flash/NoFlash/No--flashflash•• Light positionLight position

–– MultiMulti--flash for depth edgesflash for depth edges–– Programmable dome (image reProgrammable dome (image re--lighting and matting)lighting and matting)

•• Light color/wavelengthLight color/wavelength

•• Spatial ModulationSpatial Modulation–– Synthetic Aperture IlluminationSynthetic Aperture Illumination

•• Temporal ModulationTemporal Modulation–– TV remote, Motion Tracking, Sony IDTV remote, Motion Tracking, Sony ID--cam, RFIGcam, RFIG

•• General lighting conditionGeneral lighting condition–– Day/NightDay/Night

Page 87: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Demodulating Cameras

• Simultaneously decode signals from blinking LEDs and get an image

– Sony ID Cam– Phoci

• Motion Capture Cameras– Visualeyez™ VZ4000 Tracking System– PhaseSpace motion digitizer

Page 88: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background
Page 89: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Demodulating Cameras

• Decode signals from blinking LEDs + image – Sony ID Cam– Phoci

• Motion Capture Cameras

Page 90: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

Ramesh Raskar, Paul Beardsley, Jeroen van Baar, Yao Wang, Paul Dietz, Johnny Lee, Darren Leigh, Thomas Willwacher

Mitsubishi Electric Research Labs (MERL), Cambridge, MA

R F I R F I GG LampsLamps : : Interacting with a SelfInteracting with a Self--describing World via describing World via Photosensing Wireless Tags and ProjectorsPhotosensing Wireless Tags and Projectors

Page 91: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

Radio Frequency Identification Tags (RFID)Radio Frequency Identification Tags (RFID)

microchip

Antenna

No batteries,

Small size,

Cost few cents

Page 92: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

WarehousingWarehousing RoutingRouting

Library Library

Baggage handling Baggage handling

CurrencyCurrency

Livestock trackingLivestock tracking

Page 93: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

Micro Controller

Memory Computer

READER

Micro Controller

Memory

Conventional Passive RFID

Page 94: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

Tagged Books in a LibraryTagged Books in a Library

IdEasy to get list of books in RF range

No Precise Location DataDifficult to find if the books in sorted

order ?Which book is upside down ?

Page 95: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

Where are boxes with Where are boxes with Products close to Expiry Date ?Products close to Expiry Date ?

Page 96: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

READER

Micro Controller

RF Data

Memory

Conventional RFID

Computer

READER

Micro Controller

RF Data

Light

Memory

Photosensor

Computer

Conventional RF tag

Photo-sensing RF tag

Page 97: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

READER

Projector Micro

ControllerRF Data

Light

Memory

Photosensor

Computer

Photosensor ?

Compatible with RFID size and power needs

Projector ?

Directional transfer,AR with Image overlay

Page 98: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

c. Tags respond via RF, with date and precise (x,y) pixel location. Projector beams ‘O’ or ‘X’ at that location for visual feedback

c. Tags respond via RF, with date and precise (x,y) pixel location. Projector beams ‘O’ or ‘X’ at that location for visual feedback

a. Photosensing RFID tagsare queried via RFa. Photosensing RFID tagsare queried via RF

d. Multiple users can simultaneously work from a distance without RF collision

d. Multiple users can simultaneously work from a distance without RF collision

b. Projector beams a time-varying pattern unique for each (x,y) pixel which is decoded by tags

b. Projector beams a time-varying pattern unique for each (x,y) pixel which is decoded by tags

Page 99: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

Page 100: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

RFID(Radio Frequency Identification)

RFIG

(Radio Frequency Id and Geometry)

Page 101: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

Prototype TagPrototype Tag

RF tag + photosensor

RF tag + photosensor

Page 102: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

PatternMSB

PatternMSB

PatternMSB-1PatternMSB-1

PatternLSB

PatternLSB

Projected Sequential Frames

•Handheld Projector beams binary coded stripes

•Tags decode temporal code

Page 103: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

PatternMSB

PatternMSB

PatternMSB-1PatternMSB-1

PatternLSB

PatternLSB

Projected Sequential Frames

•Handheld Projector beams binary coded stripes

•Tags decode temporal code

Page 104: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

PatternMSB

PatternMSB

PatternMSB-1PatternMSB-1

PatternLSB

PatternLSB

Projected Sequential Frames

•Handheld Projector beams binary coded stripes

•Tags decode temporal code

Page 105: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

PatternMSB

PatternMSB

PatternMSB-1PatternMSB-1

PatternLSB

PatternLSB

Projected Sequential Frames

•Handheld Projector beams binary coded stripes

•Tags decode temporal code

Page 106: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

PatternMSB

PatternMSB

PatternMSB-1PatternMSB-1

PatternLSB

PatternLSB

Projected Sequential Frames

•Handheld Projector beams binary coded stripes

•Tags decode temporal code

Page 107: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

PatternMSB

PatternMSB

PatternMSB-1PatternMSB-1

PatternLSB

PatternLSB

For each tag

a. From light sequence, decode x and y coordinate

b. Transmit back to RF reader (Id, x, y)

For each tag

a. From light sequence, decode x and y coordinate

b. Transmit back to RF reader (Id, x, y)

00 11 11 00 00 X=12X=12

Page 108: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Mitsubishi Electric Research LabsRaskar, Beardsley, vanBaar, Wang,

Dietz, Lee, Leigh, WillwacherR F I G Lamps

Visual feedback of 2D positionVisual feedback of 2D position

a. Receive via RF {(x1,y1), (x2,y2), …} pixels

b. Illuminate those positions

a. Receive via RF {(x1,y1), (x2,y2), …} pixels

b. Illuminate those positions

Page 109: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational IlluminationComputational Illumination•• Presence or AbsencePresence or Absence

–– Flash/NoFlash/No--flashflash•• Light positionLight position

–– MultiMulti--flash for depth edgesflash for depth edges–– Programmable dome (image reProgrammable dome (image re--lighting and matting)lighting and matting)

•• Light color/wavelengthLight color/wavelength

•• Spatial ModulationSpatial Modulation–– Synthetic Aperture IlluminationSynthetic Aperture Illumination

•• Temporal ModulationTemporal Modulation–– TV remote, Motion Tracking, Sony IDTV remote, Motion Tracking, Sony ID--cam, RFIGcam, RFIG

•• Natural lighting conditionNatural lighting condition–– Day/Night FusionDay/Night Fusion

Page 110: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, CompPhoto Class Northeastern, Fall 2005

A Night Time Scene: Objects are Difficult to Understand due to Lack of Context

Dark Bldgs

Reflections on bldgs

Unknown shapes

Page 111: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, CompPhoto Class Northeastern, Fall 2005

Enhanced Context :All features from night scene are preserved, but background in clear

‘Well-lit’ Bldgs

Reflections in bldgs windows

Tree, Street shapes

Page 112: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, CompPhoto Class Northeastern, Fall 2005

Background is captured from day-time scene using the same fixed camera

Night Image

Day Image

Result: Enhanced Image

Page 113: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, CompPhoto Class Northeastern, Fall 2005

Mask is automatically computed from scene contrast

Page 114: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, CompPhoto Class Northeastern, Fall 2005

But, Simple Pixel Blending Creates Ugly Artifacts

Page 115: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, CompPhoto Class Northeastern, Fall 2005

Pixel Blending

Our Method:Integration of

blended Gradients

Page 116: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, CompPhoto Class Northeastern, Fall 2005

Nighttime imageNighttime image

Daytime imageDaytime image

Gradient fieldGradient field

Importance Importance image Wimage W

Fina

l res

ult

Fina

l res

ult

Gradient fieldGradient field

Mixed gradient fieldMixed gradient field

GG11 GG11

GG22 GG22

xx YY

xx YY

II11

I2

GG GGxx YY

Page 117: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

‘Smarter’ Lighting Equipment

Programmable ParametersProgrammable Parameters

Page 118: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Computational IlluminationComputational Illumination

Novel Cameras

Scene: 8D Ray Modulator

Display

GeneralizedSensor

GeneralizedOptics

Processing

4D Ray BenderUpto 4D 

Ray Sampler

Ray Reconstruction

GeneralizedOptics

Recreate 4D Lightfield

Light Sources

Modulators

4D Light Field

Programmable  4D Illumination field + Time + Wavelength

Programmable  4D Illumination field + Time + Wavelength

Page 119: Computational Illumination - Researchgroups.csail.mit.edu/graphics/classes/CompPhoto06/... · Ramesh Raskar, Computational Illumination Image-Based Actual Re-lighting Film the background

Ramesh Raskar, Computational Illumination

Computational Illumination:Computational Illumination:Programmable 4D Illumination Field + Time + WavelengthProgrammable 4D Illumination Field + Time + Wavelength

•• Presence or Absence, Duration, BrightnessPresence or Absence, Duration, Brightness–– Flash/NoFlash/No--flashflash

•• Light positionLight position–– MultiMulti--flash for depth edgesflash for depth edges–– Programmable dome (image reProgrammable dome (image re--lighting and matting)lighting and matting)

•• Light color/wavelengthLight color/wavelength

•• Spatial ModulationSpatial Modulation–– Synthetic Aperture IlluminationSynthetic Aperture Illumination

•• Temporal ModulationTemporal Modulation–– TV remote, Motion Tracking, Sony IDTV remote, Motion Tracking, Sony ID--cam, RFIGcam, RFIG

•• Exploiting (uncontrolled) natural lighting conditionExploiting (uncontrolled) natural lighting condition–– Day/Night FusionDay/Night Fusion

Course WebPage : http:// www.merl.com/ people/ raskar/ photo/