What food are you craving?
ⓘ Start presenting to display the poll results on this slide.
Reflectance & Photometric stereo
CS5670 : Computer Vision
Reading
Announcements
Roadmap for the rest of the course
Can we determine shape from lighting?
A Single Image: Shape from Shading
Assume is 1 for now.
What can we measure from one image?
In practice, SFS doesn’t work very well:
assumptions are too restrictive,
too much ambiguity in nontrivial scenes.
Reflectance
Light sources
Modeling Image Formation
We need to reason about:
Track a “ray” of light all the way from light source to the sensor
Directional Lighting
Lambertian Reflectance
Image intensity
Surface normal
Light direction
Image intensity
cos(angle between N and L)
Materials - Three Forms
© Kavita Bala, Computer Science, Cornell University
Ideal diffuse (Lambertian)
Ideal
specular
Directional
diffuse
Reflectance—Three Forms
© Kavita Bala, Computer Science, Cornell University
Ideal diffuse (Lambertian)
Directional
diffuse
Ideal
specular
Ideal Diffuse Reflection
© Kavita Bala, Computer Science, Cornell University
Lambertian Reflectance
Lambertian Reflectance: Incoming
Lambertian Reflectance: Incoming
Lambertian Reflectance: Incoming
Light hitting surface is proportional to the cosine
Lambertian Reflectance: Outgoing
Lambertian distribution
Lambertian Reflectance: Outgoing
Lambertian distribution
Lambertian Reflectance: Outgoing
Lambertian distribution
Lambertian Reflectance: Outgoing
Radiance
(what eye sees)
A cos (θ)
Lambertian distribution
Lambertian appearance is view-independent
Lambert's cosine law:
Lambertian appearance is view-independent
Lambert's cosine law:
Lambertian appearance is view-independent
Lambert's cosine law:
Lambertian Surfaces: Appearance vs Reflected Photons
Lambertian Surfaces: Appearance vs Reflected Photons
Lambertian Surfaces: Appearance vs Reflected Photons
Lambertian appearance is view-independent
Lambert's cosine law:
Radiance
(what eye sees)
Final Lambertian image formation model
Albedo
Objects can have varying albedo and albedo varies with wavelength
A Single Image: Shape from Shading
Assume is 1 (for now)
What can we measure from one image?
In practice, SFS doesn’t work well (yet):
assumptions are too restrictive,
too much ambiguity in nontrivial scenes.
A Single Image: Shape from shading
Suppose (for now)
You can directly measure angle between normal and light source
Application: Detecting composite photos
Fake photo
Real photo
A Single Image: Shape from shading
Suppose (for now)
You can directly measure angle between normal and light source
Diffuse reflection
http://www.math.montana.edu/frankw/ccp/multiworld/twothree/lighting/applet1.htm
http://www.math.montana.edu/frankw/ccp/multiworld/twothree/lighting/learn2.htm
Demo
Let’s take more than one photo!
Photometric stereo
N
L1
L2
V
L3
Can write this as a matrix equation:
Solving the equations
Solve one such linear system per pixel to solve for that pixel’s surface normal
More than three lights
Can get better results by using more than 3 lights
What’s the size of LTL?
Least squares solution:
Solve for N, kd as before
Computing light source directions
Trick: place a chrome sphere in the scene
Recall the rule for specular reflection
For a perfect mirror, light is reflected about N
We see a highlight when V = R
Example
Recovered albedo
Recovered normal field
Forsyth & Ponce, Sec. 5.4
Input views
Depth from normals
Input photo
Estimated normals
Estimated normals (needle diagram)
Normal Integration
Depth from normals
Get a similar equation for V2
V1
V2
N
Results
from Athos Georghiades
Results
Extension
Video Normals from Colored Lights
Gabriel J. Brostow, Carlos Hernández, George Vogiatzis, Björn Stenger, Roberto Cipolla
IEEE TPAMI, Vol. 33, No. 10, pages 2104-2114, October 2011.
Questions?
For now, ignore specular reflection
Slides from Photometric Methods for 3D Modeling, Matsushita, Wilburn, Ben-Ezra
And Refraction…
Slides from Photometric Methods for 3D Modeling, Matsushita, Wilburn, Ben-Ezra
And Interreflections…
Slides from Photometric Methods for 3D Modeling, Matsushita, Wilburn, Ben-Ezra
And Subsurface Scattering…
Slides from Photometric Methods for 3D Modeling, Matsushita, Wilburn, Ben-Ezra
Limitations
Bigger problems
Smaller problems
Newer work addresses some of these issues
Some pointers for further reading:
Johnson and Adelson, 2009
Johnson and Adelson, 2009
Questions?