stereo and structured light

117
Dealing with global illumination 15-463, 15-663, 15-862 Computational Photography Fall 2021, Lecture 20 http://graphics.cs.cmu.edu/courses/15-463 1

Upload: others

Post on 23-Feb-2022

0 views

Category:

Documents


0 download

TRANSCRIPT

Introduction and course overviewFall 2021, Lecture 20http://graphics.cs.cmu.edu/courses/15-463
Course announcements
• Homework assignment 6 has been posted. - Due on Sunday, December 5th. - You can use all your remaining late days.
• Final project presentation logistics posted on Piazza.
• Optional extra lecture on Friday 11:40 am – 1:00 pm, at GHC 4303.
2
Final project competition judges 3
Matthew O’Toole Jun-Yan Zhu
• Final project does not need to be fully done by presentation date. • But judges will only see presentations, not final reports.
Overview of today’s lecture
• Direct and global illumination.
• Back to structured light.
These slides were directly adapted from:
• Shree Nayar (Columbia). • Matthew O’Toole (CMU). • Supreeth Achar (Google, formerly CMU). • Mohit Gupta (Wisconsin).
5
=
9
surface
i
camera
source
∑= P
],[],[],[ icLicLicL gd +=+ α
camera
source
i
12
• Global illumination is approximately invariant to high-frequency lighting.
• You can think of global illumination effects as a low-pass filter.
13
i
14
translucent surface
surface
camera
source
20
21
Bowl
Shape
Direct
Global
24
26
30
33
Direct Global
Skin: Hanrahan and Krueger 93, Uchida 96, Haro 01, Jensen et al. 01, Igarashi et al. 05, Weyrich et al. 05
35
Hands
Blonde Hair
Direct Global
Hair Scattering: Stamm et al. 77, Bustard and Smith 91, Lu et al. 00 Marschner et al. 03
38
40
43
44
45
Pattern 1 Pattern 10 Pattern 7 Pattern 4
Lowest Frequency Illumination
Highest Frequency Illumination
Strong Inter-reflections
Low-frequency pattern
High-frequency pattern
Conventional Gray (11 images)
Modulated Phase-Shifting (162 images)
Errors due to interreflections
47
49
Ground-truth Binarization
I = Direct + α . Global I = (1 – α) . Global
α ∼= 0, Direct < Global => Ι < Ι
51
52
53
54
0 200 400 600 800600 700 800 900
1000 1100 1200
56
XOR of Second-last Pattern with Patterns 1-8 XOR-04 Codes (10 patterns)
Making the Logical XOR Codes
Conventional Gray Codes (10 patterns)
XOR of Last Pattern with Patterns 1-9 XOR-02 Codes (10 patterns)
Base PlaneBase Plane
Conventional Gray (10 images) Max min-SW Gray (10 images)
XOR-04 (10 images) XOR-02 (10 images)
58
Conventional Gray (10 images) Max min-SW Gray (10 images)
XOR-04 (10 images) XOR-02 (10 images)
Return the consistent value
60
Scene
62
Scene
63
Regular Gray Codes (11 images) Our Ensemble Codes (41 images)
65
66
Shower Curtain
Diffusion + Inter-reflections
Goal is to reconstruct the shape of the shower-curtain. Shape of the curtain is planar because it was taped to the rod to avoid movement while capture.
67
Our XOR Codes (11 images)
68
70
Depth-maps with previous state of the art
71
72
73
74
Interreflections
Our XOR Codes (11 images)Regular Gray Codes (11 images)
76
77
Flower-Vase
Diffusion
Modulated Phase-Shifting (162 images) Our Ensemble Codes (41 images)
79
Comparison
Modulated Phase-Shifting (162 images) Our Ensemble Codes (41 images)
80
Multiple Global Illumination Effects
Multiple Global Illumination Effects
Lamp made of shiny brushed metal Strong and high-frequency inter-reflections
83
Depth Map Comparison
ground truth
total radiance
For High Temporal Frequency Interreflections Do Not Affect Phase
90
()()
different phases 2() 2()
Compute Phases at Two High Frequencies [Jongenelen et al. 2010, 2011]
92
sensor
Conventional vs. Micro ToF Imaging 94
Simulations: Cornell Box
Micro ToF imaging
Images from: drivinglessonsedinburgh.blogspot.com, ngm.nationalgeographic.com
101
(phase)
Direct Component Global Component (x2) Direct Component Global Component (x2)
103
sensor (PMD CamBoard Nano)
104
apex angle = 45o apex angle = 60o apex angle = 90o
image resolution = 120 x 165
106
concave edge
conventional ToF mean error = 86.6 mm
45o
108
ground truth
60o 90o
ground truth
110
Di re
ct Gl
ob al
decreasing global component
103 m 101 m 10-1 m 10-3 m
M at
er ia
113
M at
er ia
Available Off-the-Shelf
M at
er ia
Available Off-the-Shelf
2002
1999
115
M at
er ia
Available Off-the-Shelf
116
References Basic reading: • Nayar et al., “Fast separation of direct and global components of a scene using high frequency
illumination,” SIGGRAPH 2004. The paper on separation of direct and global illumination using high-frequency illumination.
• Gupta et al., “A Practical Approach to 3D Scanning in the Presence of Interreflections, Subsurface Scattering and Defocus,” IJCV 2013.
The paper on using XOR codes to deal with global illumination in structured light 3D. • Gupta et al., “Phasor imaging: A generalization of correlation-based time-of-flight imaging,” TOG
2015. The paper on using high-frequency modulation to deal with interreflections and MPI in CW-ToF imaging.
Additional reading: • Seitz et al., “A theory of inverse light transport,” ICCV 2005.
This early paper shows a way to exactly decompose light transport by number of bounces, under certain assumptions for the imaged scene.
• Chandraker et al., “On the duality of forward and inverse light transport,” PAMI 2011. • Reddy et al., “Frequency-space decomposition and acquisition of light transport under spatially
varying illumination,” ECCV 2012. These two papers have additional analysis about the relationship between direct and global illumination and illumination frequency.
• Durand et al., “A frequency analysis of light transport,” SIGGRAPH 2005. This paper more formally discusses the notion of light transport frequency, and the frequency characteristics of different light transport effects (specular versus diffuse reflections, hard versus smooth shadows).
117
Slide credits
Slide Number 10
Slide Number 11
Slide Number 12
Slide Number 13
Slide Number 14
Slide Number 15
Slide Number 16
Slide Number 17
Slide Number 18
Slide Number 19
Slide Number 20
Slide Number 21
Slide Number 22
Slide Number 23
Slide Number 24
Slide Number 25
Slide Number 26
Slide Number 27
Slide Number 28
Slide Number 29
Slide Number 30
Slide Number 31
Slide Number 32
Slide Number 33
Slide Number 34
Slide Number 35
Slide Number 36
Slide Number 37
Slide Number 38
Slide Number 39
Slide Number 40
Slide Number 41