Slides

advertisement
Light Fields
PROPERTIES AND APPLICATIONS
Outline
What are light fields
Acquisition of light fields
 from a 3D scene
 from a real world scene
Image rendering from light fields
 Changing viewing angle
 Changing the focal plane
Sampling and reconstruction
 Depth vs spectral support
 Optimal reconstruction
 Analysis of light transport
Outline
What are light fields
Acquisition of light fields
 from a 3D scene
 from a real world scene
Image rendering from light fields
 Changing viewing angle
 Changing the focal plane
Sampling and reconstruction
 Depth vs spectral support
 Optimal reconstruction
 Analysis of light transport
The Plenoptic Function
Plenus – Complete, full.
Optic - appearance, look.
The set of things one can ever see
(, , , , , , )
Light intensity as a function of
◦ Viewpoint – orientation and position
◦ Time
◦ Wavelength
7D function!
The 5D Plenoptic Function
Ignoring wavelength and time
We need a 5D function to describe light rays across occlusions
◦ 2D orientation
◦ 3D position
The Light Field (4D
Assuming no occlusions
◦ Light is constant across rays
◦ Need only 4D to represent the space of Rays
Is this assumption reasonable?
In free space, i.e outside the convex hull of the scene occluders
The Light Field
Parameterizations
◦ Point on a Plane or curved Surface (2D) and Direction on a Hemisphere (2D)
◦ Two Points on a Sphere
◦ Two Points on two different Planes
Two Plane Parameterization
Convenient parameterization for computational photography
Why?
• Similar to camera geometry (i.e. film plane vs lens plane)
• Linear parameterization - easy computations , no trigonometric functions, etc.
2D light field
Used for visualization. Assume the world is flat (2D)
Intuition
(, ) = (: , : , , )
The image a
pinhole at
(u,v)
captures
(, , : , : )
All views of
a pixel (s,t)
Light Field Rendering , Levoy Hanrahan '96.
Outline
What are light fields
Acquisition of light fields
 from a 3D scene
 from a real world scene
Image rendering from light fields
 Changing viewing angle
 Changing the focal plane
Sampling and reconstruction
 Depth vs spectral support
 Optimal reconstruction
 Analysis of light transport
Acquisition of Light Fields
Synthetic 3D Scene
◦ Discretize s,t,u,v and capture all rays intersecting the objects
using a standard Ray Tracer
Acquisition of Light Fields
Real world scenes
Will be explained in more detail next week…
Outline
What are light fields
Acquisition of light fields
 from a 3D scene
 from a real world scene
Image rendering from light fields
 Changing viewing angle
 Changing the focal plane
Sampling and reconstruction
 Depth vs spectral support
 Optimal reconstruction
 Analysis of light transport
Changing the View Point
Problem: Computer Graphics
◦ Render a novel view point without expensive ray tracing
Solution:
◦ Sample a Synthetic light field using Ray Tracing
◦ Use the Light Field to generate any point of view, no need to Ray Trace
Light Field Rendering , Levoy Hanrahan '96.
Changing the View Point
Conceptually: Use Ray Trace from all pixels in image plane
pinhole
Actually: Use Homographic mapping from XY plane to the VU and TS, and lookup resulting ray
radiance.
Light Field Interpolation
 ,  = ( ,  ,  ,  )
Problem: Finite sampling of the Light Field –
◦  ,  ,  ,  may not be sampled
Solution: Proper interpolation / reconstruction is needed
◦ Nearest neighbor,
◦ Linear,
◦ Custom Filter
Detailed Analysis later on…
NN
NN + Linear
Linear
Changing the focal plane
Fourier Slice Photography , Ng, 05
In-Camera Light Field Parameterization
The camera operator
Can define a camera as an operator on the Light Field.
◦ The conventional camera operator:
y
[Stroebel et al. 1986]
x
Reminder - Thin lens formula
1 + 1 = const
D’ D
D
To focus closer - increase the sensor-to-lens distance.
D’
Refocusing - Reparameterization
Type equation here.
 ′
−
,  =  (,  +
)

Reparametrization - 4D
Refocusing - Reparameterization
Refocus
Change of distance
between planes
 ′ = 
Reparameterization
of the light field
Shearing of the Light
field
Refocusing camera operator
Shear and Integrate the original light field
*(cos term from conventional camera model is absorbed into L)
Computation of Refocusing Operator
•Naïve Approach
•For every X,Y go over all U,V and calculate the sum after reparameterization => O(n^4)
′
′
y
′
x
• Can we do better ????
Fourier Slice Theorem
∘ =∘
• F – Fourier Transform Operator
• I – Integral Projection Operator
• S – Slicing Operator
Fourier Analysis of the Camera Operator
Recall that the Refocusing Camera Operator is:
And from the Last theorem we get The Fourier Slice Photography Theorem
Better Algorithm! :  4 log  .   ℎ :  2 + (2 log )
Fourier Slice Photography , Ng, 05
Fourier Slice Photography Thm – More
corollaries
Two important results that are worth mentioning:
1. Filtered Light Field Photography Thm
2. The light field dimensionality gap
 ′ *K=?
Filtered Light Field Photography Thm
Theorem: Filtered Light Field Photography
The light field dimensionality gap
◦ The light field is 4D
◦ In the frequency domain – The support of all the images with different focus depth is a 3D manifold
This observation was used in order to generate new views of the scene from a focal stack (Levin
et al. 2010)
Outline
What are light fields
Acquisition of light fields
 from a 3D scene
 from a real world scene
Image rendering from light fields
 Changing viewing angle
 Changing the focal plane
Sampling and reconstruction
 Depth vs spectral support
 Optimal reconstruction
 Analysis of light transport
Light Field Sampling
•Light Field Acquisition – Discretization
•Light Field Sampling is Limited
Example – Camera Array:
u,v
t,s
Sampling in frequency domain
Aliasing in the frequency domain
*
Need to analyze Light Field Spectrum
=
Scene Depth and Light Field
Light Field Spectrum is related to Scene Depth
From Lambertian property each point in the scene corresponds to a line in the Light Field
Line slope is a function of the depth (z) of the point.
Plenoptic Sampling , Chai et al., 00.
Spectral Support of Light Field
Constant Depth
Scene
Light Field
LF Spectrum
Plenoptic Sampling , Chai et al., 00.
Spectral Support of Light Field
Varying Depth
Scene
LF Spectrum
Plenoptic Sampling , Chai et al., 00.
Spectral Support of Light Field
Plenoptic Sampling , Chai et al., 00.
Reconstruction Filters
Optimal Slope for filter:
Plenoptic Sampling , Chai et al., 00.
Limitations
Assumptions
◦ Lambertian surfaces
◦ Free Space – No occlusions
Frequency Analysis of Light Transport
•Informally: Different features of lighting and scene causes different effects in the Frequency
Content
•Blurry Reflections
•Shadow Boundries
High frequency
Low frequency
A Frequency analysis of Light Transport , Durand et al. 05.
Not Wave Optics!!!
Frequency Analysis of Light Transport
Look at light transport as a signal processing system.
◦ Light source is the input signal
◦ Interaction are filters / transforms
Source
Transport
Occlusion
Transport
Reflection
(BRDF)
Local Light Field
We study the local 4D Light Field around a central Ray during transport
◦ In Spatial Domain
◦ In Frequency Domain
* Local light field offers us the ability to talk about the Spectrum
In a local setting
Local Light Field (2D) Parameterization
The analysis is in flatland, an extension to 4D light field is available
x-v parameterization
x-Θ parameterization
A Frequency analysis of Light Transport , Durand et al. 05.
Example Scenario
Reflection
A Frequency analysis of Light Transport , Durand et al. 05.
Light Transport – Spatial Domain
Light Propagation  Shear of the local Light Field
◦ No change in slope (v)
◦ Linear change in displacement (X)
+
Light Transport – Frequency Domain
Shear in spatial domain is also a shear in Frequency domain
Occlusion
Spatial domain:
Occlusion  pointwise multiplication in the spatial domain
The incoming light field is multiplied by the binary occlusion function of the occluders.
Frequency domain
convolution in the frequency domain:
Occlusion – example
Reflection
We consider planar surfaces * and rotation invariant BRDFs here
What happens when light hits a surface?
1. Multiplication by a cosine term  ,  =  ,  cos+ ()
2. Mirror Reparameterization around the normal direction  ,  =  , −
3. convolution with the BRDF  ,  =  ,  ∗ ()
* Similar analysis for curved surfaces is also presented in the paper
Reflection - cosine term
Spatial domain - multiplication::
′ ,  =  ,  cos+ ()
Frequency domain:
′ Ω , Ω =  Ω , Ω ∗ (cos+  )
cosine term example
Incoming
Light field
Light field
After
cosine term
Reflection – Mirror reparameterization
Mirror Reparameterization around the normal direction
◦ Using the law of reflection  = 
◦ ′ ,  =  , −
 
Frequency domain: mirror in the spatial domain => mirror in the frequency domain
◦ ′ Ω , Ω = Ω , −Ω
Reparameterization example
Incoming
Light field
Light field
After
reparameterization
Reflection - BRDF
What is a BRDF?
◦
◦
◦
◦
Bidirectional reflectance distribution function
A function of the incoming ant out going angles ( ,  )
Tells us how much “light” comes out at a angle  when illuminating the point from  .
Different BRDFs model the reflectance properties of different materials
◦ A lot of BRDFs depend only on the difference between  and the mirror reflection direction:
  ,  = 

2

2
  ,  =   − 

2

2
  ,  =   − 

2

2
BRDF Intuition
Assume a Specular BRDF, flat surface and a light source at infinity with angle .

2
direction


2

−
x (space)
Assume a box BRDF, flat surface and a light source at infinity with angle .

2
−


2
*
=
direction


−
x (space)
Reflection - BRDF
Spatial domain:
The BRDF action on a light field is a convolution with the BRDF function
′ =  ∗ ()
Frequency domain:
Convolution is changed into pointwise multiplication
′ Ω , Ω = Ω , Ω ((Ω ))
BRDF example
Type equation here.
Incoming
Light field
Light field
After BRDF change
⊗
×-
Download
Related flashcards

Optics

39 cards

Spectroscopy

27 cards

Optical devices

21 cards

Optics

44 cards

Create Flashcards