Power Point - PowerPoint PPT Presentation

1 / 46
About This Presentation
Title:

Power Point

Description:

Lighting affects appearance – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 47
Provided by: DaviG151
Learn more at: https://cs.nyu.edu
Category:

less

Transcript and Presenter's Notes

Title: Power Point


1
Lighting affects appearance
2
(No Transcript)
3

4
Lightness
  • Digression from boundary detection
  • Vision is about recovery of properties of scenes
    lightness is about recovering material
    properties.
  • Simplest is how light or dark material is (ie.,
    its reflectance).
  • Well see how boundaries are critical in solving
    other vision problems.

5
Basic problem of lightness
Luminance (amount of light striking the eye)
depends on illuminance (amount of light striking
the surface) as well as reflectance.
6
Basic problem of lightness
B
A
Is B darker than A because it reflects a smaller
proportion of light, or because its further from
the light?
7
Planar, Lambertian material.
L rcos(q)e where r is reflectance (aka
albedo) q is
angle between light and n
e is illuminance (strength of light)
n
n
If we combine q and e at a point into E(x,y)
then L(x,y) R(x,y)E(x,y)
8
L(x,y) R(x,y)E(x,y) Can think of E as
appearance of white paper with given
illuminance. R is appearance of planar object
under constant lighting. L is what we
see. Problem We measure L, we want to recover R.
How is this possible? Answer We must make
additional assumptions.
9
Simultaneous contrast effect
10
Illusions
  • Seems like visual system is making a mistake.
  • But, perhaps visual system is making assumptions
    to solve underconstrained problem illusions are
    artificial stimuli that reveal these assumptions.

11
Assumptions
  • Light is slowly varying
  • This is reasonable for planar world nearby image
    points come from nearby scene points with same
    surface normal.
  • Within an object reflectance is constant or
    slowly varying.
  • Between objects, reflectance varies suddenly.

12
This is sometimes called the Mondrian world.
13
L(x,y) R(x,y)E(x,y)
  • Formally, we assume that illuminance, E, is low
    frequency.

14
L(x,y) R(x,y)E(x,y)


Smooth variations in image due to lighting, sharp
ones due to reflectance.
15
(No Transcript)
16
  • So, we remove slow variations from image. Many
    approaches to this. One is
  • Log(L(x,y)) log(R(x,y)) log(E(x,y))
  • Hi-pass filter this, (say with derivative).
  • Why is derivative hi-pass filter?
  • d sin(nx)/dx ncos(nx). Frequency n is
    amplified by a factor of n.
  • Threshold to remove small low-frequencies.
  • Then invert process take integral,
    exponentiate.

17
Restored Reflectances
Reflectances
ReflectancesLighting
(Note that the overall scale of the reflectances
is lost because we take derivative then integrate)
18
  • These operations are easy in 1D, tricky in 2D.
  • For example, in which direction do you
    integrate?
  • Many techniques exist.

19
These approaches fail on 3D objects, where
illuminance can change quickly as well.
20
Our perceptions are influenced by 3D cues.
21
To solve this, we need to compute reflectance in
the right region. This means that lightness
depends on surface perception, ie., a different
kind of boundary detection.
22
What is the Question ?(based on work of Basri
and Jacobs, ICCV 2001)
Given an object described by its normal at each
surface point and its albedo (we will focus on
Lambertian surfaces) 1.What is the dimension of
the space of images that this object can
generate given any set of lighting conditions
? 2. How to generate a basis for this space ?
23
Empirical Study
(Epstein, Hallinan and Yuille see also
Hallinan Belhumeur and Kriegman)
Dimension
24
Domain
Domain
  • Lambertian
  • No cast shadows (convex objects)
  • Lights are distant

n
l
q
25
Lighting to Reflectance Intuition
Lambert Law k(q) max (cosq, 0)
26
Lighting to Reflectance Intuition
Three point-light sources, l(q,f),
Illuminating a sphere and its reflection
r(q,f).
Profiles of l(q)
and r(q)
27
Lighting
Reflectance
where
Images
...
...
28
Spherical Harmonics (S.H.)
  • Orthonormal basis, , for functions on the
    sphere.
  • nth order harmonics have 2n1 components.
  • Rotation phase shift (same n, different m).
  • In space coordinates polynomials of degree n.

29
S.H. analog to convolution theorem
  • Funk-Hecke theorem Convolution in function
    domain is multiplication in spherical harmonic
    domain.filter.

30
Harmonic Transform of Kernel
31
Amplitudes of Kernel
n
32
Energy of Lambertian Kernel in low order harmonics
k-is a low pass filter
33
Reflectance Functions Near
Low-dimensional Linear Subspace
Yields 9D linear subspace.
34
Forming Harmonic Images
l
lZ
lY
lX
lXZ
lYZ
lXY
35
(No Transcript)
36
(No Transcript)
37
How accurate is approximation?Point light source
9D space captures 99.2 of energy
38
How accurate is approximation? Worst case.
  • DC component as big as any other.
  • 1st and 2nd harmonics of light could have zero
    energy

9D space captures 98 of energy
39
How Accurate Is Approximation?
  • Accuracy depends on lighting.
  • For point source 9D space captures 99.2 of
    energy
  • For any lighting 9D space captures gt98 of
    energy.

40
Accuracy of Approximation of Images
  • Normals present to varying amounts.
  • Albedo makes some pixels more important.
  • Worst case approximation arbitrarily bad.
  • Average case approximation should be good.

41
Summary
  • Convex, Lambertian objects 9D linear space
    captures gt98 of reflectance.
  • Explains previous empirical results.
  • For lighting, justifies low-dim methods.

42
(No Transcript)
43
Recognition
Models
44
Experiments (BasriJacobs)
  • 3-D Models of 42 faces acquired with scanner.
  • 30 query images for each of 10 faces (300
    images).
  • Pose automatically computed using manually
    selected features (Blicher and Roy).
  • Best lighting found for each model best fitting
    model wins.

45
(No Transcript)
46
Results
  • 9D Linear Method 90 correct.
  • 9D Non-negative light 88 correct.
  • Ongoing work Most errors seem due to pose
    problems. With better poses, results seem near
    100.

47
Ongoing work Specularity
  • kernel can be far from low-pass.

48
Specularity (2)
Example Phong model
  • Product of 3 terms
  • Not a convolution
  • Solution from Atomic Spectroscopy (Wigner))
Write a Comment
User Comments (0)
About PowerShow.com