Title: Amit Agrawal, Ramesh Raskar,
1Removing Photography Artifacts using Gradient
Projection and Flash-Exposure Sampling
- Amit Agrawal, Ramesh Raskar,
- Shree K. Nayar and Yuanzhen Li
- Mitsubishi Electric Research Labs (MERL),
Cambridge, MA - Columbia University, NY
2Photography Artifacts Flash Hotspot
Ambient
Flash
Flash Hotspot
3Reflections due to Flash
Underexposed
Reflections
Ambient
Flash
4Distance Dependance
Flash
Distant people underexposed
5Self-Reflections and Flash Hotspot
Ambient
Flash
Face
Hands
Tripod
6Ambient
Result
Reflection Layer
Flash
Face
Hands
Tripod
7Combining Flash/No-Flash Images
- Previous Work
- Eisemann Durand 04, Petschnigg et. al. 04
- De-noise low quality ambient image
- Transfer detail/color
- Current work
- Remove artifacts such as reflections
8Intensity Gradient Vector Projection
9Intensity Gradient Vectors in Flash and Ambient
Images
Same gradient vector direction
Flash Gradient Vector
Ambient Gradient Vector
Ambient
Flash
No reflections
10Reflection Ambient Gradient Vector
Different gradient vector direction
Flash Gradient Vector
Ambient
Flash
With reflections
11Intensity Gradient Vector Projection
Reflection Ambient Gradient Vector
Residual Gradient Vector
Flash Gradient Vector
Result Gradient Vector
Result
Residual
Ambient
Flash
12Residual Reflection Layer
Projection Result
Flash
Ambient
Co-located Artifacts
13Flash
Ambient
Checkerboard outside glass window
Reflections on glass window
14Forward Differences
Checkerboard
Gradient Difference
Checkerboard
removed
Flash
2D Integration
2D Integration
Result
Reflection Layer
Result
Ambient
15Invariance of Gradient Vectors Orientation
(Gradient Orientation Coherency)
Ambient
Flash
?
- Reflectance Edge
- ??? Geometric Edge
- Illumination Edge
16Related Work
- Reflection Removal
- Nayar et. al. 96, Schechner00 (polarization),
Farid Adelson99 (ICA), Levin04 - Gradient Based Techniques
- HDR compression (Fattal02), Poisson Image
editing (Perez03), Poisson matting (Sun04),
Image fusion (Raskar04), Intrinsic Images
(Weiss01), Multi-flash Camera (Raskar04) etc. - 2D Integration
- Frankot Chellappa88, Poisson solver
(Multi-grid, Sine Transform) - Agrawal et. al. 05
17Removing Reflections due to Flash
Ambient
Flash
Ambient Flash
Result
Reflections
removed
18Removing Flash Hotspot
Ambient
Flash
Result
Saturation Weights Ws
Linearly combine flash and ambient image
gradients using Ws and Gradient Coherency
19Depth Compensation
Flash
Ambient
Result
Distant Persons
Scale flash gradients using the ratio of flash
and ambient images
20Flash reflections of textured cloth outside
window
Ambient
Mannequin behind glass window
High contrast but reflections
21Removing Reflections due to Flash
Ambient
Flash
Result
X Homogeneous Regions
22Limitations
- Difficult Scenarios
- Dynamic scenes
- Co-located artifacts
- Strong ambient illumination edges
- Issues
- Lack of reliable gradients
- Homogeneous or dark regions
- Color coherency
23Combining Flash/No-flash Images for High Dynamic
Range (HDR) Imaging
24Need Both Ambient and Flash!!
HDR Scene
Flash
Ambient
Well-lit in Ambient
Underexposed
Well-lit in Flash
25Exposure HDRVarying Exposure Time
- Mann and Picard, 95
- Debevec and Malik, 97
- Nayar and Mitsunaga, 00
1/100
1/20
1/5
1
4
1/250
Exposure Time
26Underexposed to well-exposed
Flash Brightness
Well-exposed to saturation
Flash HDRVarying Flash Brightness
Scene distance dependence
27Flash-Exposure Sampling
Flash-Exposure HDRVarying both
Flash Brightness
Exposure Time
28Capturing HDR Image
Varying Exposure time
Varying Flash brightness
Varying both
29Do We Need All Images ?
Flash Brightness
Exposure Time
Regular 2D Sampling 24 Pictures
Adaptive Sampling 5 pictures
- Based on all previous pictures
- Maximize well-lit pixels over the image
- Exclude pixels already captured as well-exposed
30Exposure Time
Underexposed
Still Underexposed
Well-exposed
?
HDR Image using N images
HDR Image using N1 images
?
?
Flash Brightness
N1th picture ?
31Summary
Reflection Layer
F
- Intensity Gradient Vector Projection for Removing
Reflections - Flash-Exposure HDR Image
- Adaptive Flash-Exposure Sampling
A
Result
Flash Brightness
Exposure Time
32Acknowledgements
- MERL members
- Joe Marks, MERL
- Rama Chellappa, UMD
- Ted Adelson, MIT
- Karhan Tan, Epson
- Siggraph Reviewers
33Gradient Vector Projection for Removing
Reflections
Adaptive Sampling for HDR
?
Flash Brightness
?
Exposure Time
34Extra Slides
35Rotating Intensity Gradient Vectors
36Projection vs. Rotation
F
A
Projection
Rotation
37Projection vs. Rotation
Ambient
Flash
Projection
Rotation
38Flash patch
Gradient Vector Projection
Joint Bilateral filtering
39Gradient Direction Reversal at Depth Edges
Ambient
Flash
Geometric Edge
a
40Result
Ambient
Flash
High magnitude gradients ? gt p/2 (cos ?lt0)
41X
Y
Flash
X
Gradient Vector Projection
Y
Result
X
Y
Ambient
42Not accounting for direction reversal
Accounting for direction reversal
cos ? at high gradients
43HDR using N images
HDR using correct N1th image
HDR using incorrect N1th image
44Extra Slides
45Ambient
Gradient Vector Projection for removing
reflections
Flash
46Reflection Layer
Flash
Ambient with Reflections
Residual Reflection
Result
Reflection Free Result
47Future Directions
- Incorporation of global information for
reflection removal - Better schemes for adaptive sampling
- Improved gradient reconstruction techniques
- Recovering intrinsic scene properties
48Intensity Gradients based Artifact Removal
- Flash Image F, Ambient Image ?
- Gradient Coherency Model
- Illumination invariants, Chen, CVPR 00
- Invariant directions, Finlayson ECCV04
Gradient Coherency Map