Title: Computer Vision
1Computer Vision
- Spring 2006 15-385,-685
- Instructor S. Narasimhan
- Wean 5403
- T-R 300pm 420pm
- Lecture 11
2- Principles of Radiometry and Surface Reflectance
- Lecture 11
3Announcements
Homework 3 due on Thursday before class. Submit
programming part on blackboard and hand in
written part.
4Midterm March 9
Syllabus until and including Lightness and
Retinex Closed book, closed notes exam in
class. Time 300pm 420pm Midterm review
class next Tuesday (March 7) (Email me by March 6
specific questions) If you have read the notes
and readings, attended all classes, done
assignments well, it should be a walk in the
park?
5Course Schedule
1/17/2006 Introduction and Course
Fundamentals PART 1 Cameras and
Imaging 1/19/2006 Image Formation and
Projection 1/24/2006 Matlab
Review 1/26/2006 Image Sensing Homework 1
OUT PART 2 Signal and Image
Processing 1/31/2006 Binary Image Processing
2/2/2006 1D Signal Processing Homework 1
DUE Homework 2 OUT 2/7/2006 2D Image
Processing 2/9/2006 Edge Detection 2/14/2006 I
mage Pyramids 2/16/2006 Hough
Transform Homework 2 DUE Homework 3 OUT PART
3 Physics of the World 2/21/2006 Basic
Principles of Radiometry 2/23/2006 Retinex
Theory 2/28/2006 Surface Reflectance and
BRDF 3/2/2006 Photometric Stereo Homework 3
DUE 3/7/2006 Midterm Review 3/9/2006 Midter
m Exam 3/13/2006 Midterm Grades
Due 3/21/2006 Shape from Shading Homework 4
OUT
6Physics-based Methods in Vision
Lighting
Scene
We need to understand the relation between the
lighting, surface reflectance and medium and the
image of the scene.
7Why study the physics (optics) of the
world?Lets see some pictures!
8Light and Shadows
9(No Transcript)
10(No Transcript)
11(No Transcript)
12Reflections
13(No Transcript)
14(No Transcript)
15(No Transcript)
16(No Transcript)
17(No Transcript)
18(No Transcript)
19Refractions
20(No Transcript)
21(No Transcript)
22(No Transcript)
23(No Transcript)
24Interreflections
25(No Transcript)
26Scattering
27(No Transcript)
28(No Transcript)
29De-hazed
Haze
30(No Transcript)
31(No Transcript)
32(No Transcript)
33(No Transcript)
34(No Transcript)
35More Complex Appearances
36(No Transcript)
37Hair
Marschner et al.
38(No Transcript)
39(No Transcript)
40(No Transcript)
41For in-depth study of Appearance, take fall
Graduate class Physics-based methods in
Vision (previously Appearance Modeling)
42Radiometry and Image Formation
- To interpret image intensities, we need to
understand - Radiometric Concepts and Reflectance
Properties.
- Topics to be Covered
- 1) Image Intensities Overview
- 2) Radiometric Concepts
-
- Radiant Intensity
- Irradiance
- Radiance
- BRDF
- 3) Image Formation using a Lens
- 4) Diffuse and Specular Reflectance
43Image Intensities
sensor
source
Need to consider light propagation in a cone
normal
surface element
Image intensities f ( normal, surface
reflectance, illumination )
Note Image intensity understanding is an
under-constrained problem!
44Solid Angle
(solid angle subtended by )
source
(foreshortened area)
(surface area)
Solid Angle
( steradian )
What is the solid angle subtended by a hemisphere?
45Radiant Intensity of Source
(solid angle subtended by )
source
(foreshortened area)
(surface area)
Radiant Intensity of Source
( watts / steradian )
Light Flux (power) emitted per unit solid angle
46Surface Irradiance
(solid angle subtended by )
source
(foreshortened area)
(surface area)
2
Surface Irradiance
( watts / m )
Light Flux (power) incident per unit surface
area. Does not depend on where the light is
coming from!
47Surface Radiance (tricky!)
(solid angle subtended by )
source
(foreshortened area)
(surface area)
2
(watts / m steradian )
- Flux emitted per unit foreshortened area per
unit solid angle. - L depends on direction
- Surface can radiate into whole hemisphere.
- L depends on reflectance properties of surface.
48Radiometric concepts boringbut, important!
(solid angle subtended by )
source
(foreshortened area)
(surface area)
(1) Solid Angle
( steradian )
What is the solid angle subtended by a hemisphere?
( watts / steradian )
(2) Radiant Intensity of Source
Light Flux (power) emitted per unit solid angle
(3) Surface Irradiance
( watts / m )
Light Flux (power) incident per unit surface
area. Does not depend on where the light is
coming from!
49The Fundamental Assumption in Vision
Lighting
No Change in Surface Radiance
Surface
Camera
50Radiance property
- Radiance is constant as it propagates along ray
- Derived from conservation of flux
- Fundamental in Light Transport.
51Relationship between Scene and Image Brightness
- Before light hits the image plane
Scene Radiance L
Image Irradiance E
Scene
Lens
Linear Mapping!
- After light hits the image plane
Camera Electronics
Image Irradiance E
Measured Pixel Values, I
Non-linear Mapping!
Can we go from measured pixel value, I, to
scene radiance, L?
52Relation between Image Irradiance E and Scene
Radiance L
image plane
surface patch
image patch
z
f
53Relation between Image Irradiance E and Scene
Radiance L
image plane
surface patch
image patch
z
f
54Relation between Pixel Values I and Image
Irradiance E
Camera Electronics
Image Irradiance E
Measured Pixel Values, I
- The camera response function relates image
irradiance at the image plane - to the measured pixel intensity values.
(Grossberg and Nayar)
55Radiometric Calibration - RECAP
- Important preprocessing step for many vision and
graphics algorithms such as - photometric stereo, invariants, de-weathering,
inverse rendering, image based rendering, etc.
- Use a color chart with precisely known
reflectances.
255
?
Pixel Values
g
0
?
0
1
3.1
9.0
19.8
36.2
59.1
90
Irradiance const Reflectance
- Use more camera exposures to fill up the curve.
- Method assumes constant lighting on all patches
and works best when source is - far away (example sunlight).
- Unique inverse exists because g is monotonic and
smooth for all cameras.
56Surface Appearance
sensor
source
normal
surface element
Image intensities f ( normal, surface
reflectance, illumination ) Surface reflection
depends on both the viewing and illumination
directions.
57BRDF Bidirectional Reflectance Distribution
Function
source
z
incident direction
viewing direction
normal
y
surface element
x
Irradiance at Surface in direction
Radiance of Surface in direction
BRDF
58Important Properties of BRDFs
source
z
incident direction
viewing direction
normal
y
surface element
x
59Important Properties of BRDFs
source
z
incident direction
viewing direction
normal
y
surface element
x
- Helmholtz Reciprocity (follows from 2nd Law
of Thermodynamics) -
- BRDF does not change when source and
viewing directions are swapped.
60Important Properties of BRDFs
source
z
incident direction
viewing direction
normal
y
surface element
x
- Rotational Symmetry (Isotropy)
-
- BRDF does not change when surface is rotated
about the normal.
Can be written as a function of 3 variables
61Derivation of the Scene Radiance Equation
From the definition of BRDF
62Derivation of the Scene Radiance Equation
From the definition of BRDF
Write Surface Irradiance in terms of Source
Radiance
Integrate over entire hemisphere of possible
source directions
Convert from solid angle to theta-phi
representation
63(No Transcript)
64Differential Solid Angle and Spherical Polar
Coordinates
65(No Transcript)
66Reflectance Models
- Reflection An Electromagnetic Phenomenon
- Two approaches to derive Reflectance Models
- Physical Optics (Wave Optics)
- Geometrical Optics (Ray Optics)
- Geometrical models are approximations to physical
models - But they are easier to use!
67Reflectance that Require Wave Optics
68Mechanisms of Reflection
source
incident direction
surface reflection
body reflection
surface
- Surface Reflection
- Specular Reflection
- Glossy Appearance
- Highlights
- Dominant for Metals
- Body Reflection
- Diffuse Reflection
- Matte Appearance
- Non-Homogeneous Medium
- Clay, paper, etc
Image Intensity Body Reflection Surface
Reflection
69Example Surfaces
Surface Reflection Specular Reflection Glossy
Appearance Highlights Dominant for Metals
Body Reflection Diffuse Reflection Matte
Appearance Non-Homogeneous Medium Clay, paper,
etc
Many materials exhibit both Reflections
70Diffuse Reflection and Lambertian BRDF
source intensity I
incident direction
normal
viewing direction
surface element
- Surface appears equally bright from ALL
directions! (independent of )
albedo
- Lambertian BRDF is simply a constant
source intensity
- Commonly used in Vision and Graphics!
71Diffuse Reflection and Lambertian BRDF
72White-out Snow and Overcast Skies
CANT perceive the shape of the snow covered
terrain!
CAN perceive shape in regions lit by the
street lamp!! WHY?
73Diffuse Reflection from Uniform Sky
- Assume Lambertian Surface with Albedo 1 (no
absorption) - Assume Sky radiance is constant
- Substituting in above Equation
Radiance of any patch is the same as Sky radiance
!! (white-out condition)
74Specular Reflection and Mirror BRDF
source intensity I
specular/mirror direction
incident direction
normal
viewing direction
surface element
- Valid for very smooth surfaces.
- All incident light energy reflected in a SINGLE
direction (only when ).
- Mirror BRDF is simply a double-delta function
specular albedo
75Combing Specular and Diffuse Dichromatic
Reflection
Observed Image Color a x Body Color b x
Specular Reflection Color
Klinker-Shafer-Kanade 1988
R
Color of Source (Specular reflection)
Does not specify any specific model
for Diffuse/specular reflection
G
Color of Surface (Diffuse/Body Reflection)
B
76Diffuse and Specular Reflection
diffuse
specular
diffusespecular
77Next Class
- Photometric Stereo
- Reading Horn, Chapter 10.