Lecture 5B 2024
Lecture 5B 2024
Lecture 5B 2024
Perception
Lecture 5B
Light & Shadow
1
Why study light and shadow?
The Incredibles
Pixar
Budget: $92 Million
Shadows, lighting: $ Millions & Months.
2
Light and Shadow
3
What’s the problem?
Our eye gets the light (L) reflected from a
surface and this is the product of the light’s
intensity (I) and the surface reflectance (R)
We see reflectance and light but only get their
product
L=IxR
Eye Eye
receives receives
L=80 L=80
How do we do this?
Solve L = IxR for I and R
Given only a limited time frame, use independent
knowledge base, blinding speed and awesome
power
Using short cuts (heuristics), able to make crude
estimates of light and shadow at high speed.
These are good enough
Start with estimating light intensity (I)
5
A visible shadow changes the
Lightness constancy
apparent light falling on a
surface
The light in the illuminated
area is taken as much
stronger
6
The light in the shadowed area
Lightness constancy
is taken as dimmer
7
Lightness constancy
15
Lightness constancy
L=light (luminance), I=intensity (illuminant), R= reflectance
L=IxR
Measure L
WANT R,
(and want R to be
perceived as being constant!)
Infer I
16
Lightness constancy
L = 100
Infer I (so we can discount it) = 10
R = L/I = 10
L = 100
I = 100
R = L/I = 1
L = 10
I = 10
R = L/I = 1
17
Lightness constancy
18
Second
Example
8
L (what hits the eye) =IxR
L = 100
I = 10
R=?
19
L (what hits the eye) =IxR
R = 100
R = 10
20
The Dress
21
The Dress
22
The Dress
23
The Dress
24
2. Is it a shadow or a dark stain?
25
Is this a shadow here?
What are the cues?
Darker but same color
Similar texture inside and
outside
X junctions of shadow and
surface contours
Many possible cues could be
used
But few are
26
Shadows have X-junctions
27
No more X junctions!
28
Unnatural Art
29
Definitions
Highlight
Shading
Shadow
Highlight: a reflection on a shiny surface
Shading: the variation in reflected light due to the change
in the orientation of the surface
Shadow: an area where light is blocked by an intervening
object
30
French Mammoth (15K BCE)
31
French Rhinoceros (33K BCE)
32
Alexander greets Darius III
(200 BCE)
33
Greek street musicians (100 BCE)
34
Greek portraits of dead
Romans in Egypt (70 CE)
35
Lighting Errors (100 CE)
39
Still no
shadows
(1410 CE)
40
Shadows reappear 1425
Roger Campin 41
Renaissance 1400-1450
Good perspective
44
Even
capturing
two light
sources
from
opposite
windows
45
Shadow found in only one painting in all
of eastern art up to modern era
46
Doctored photos
provide more
examples:
Inconsistent
lighting goes
unnoticed
47
48
Simple rules for a shadow
51
Shadow rules
52
A shadow should not
have a bounding
contour or appear to
have its own texture
53
Shadowswrong
What’s need with
to make
this X
painting?
junctions with
other scene contours that they cross
Even other shadow contours!
Good
Detail from
“The
Assumption
of the Virgin
with Saints
Michael and
Benedict,”
Signorelli
Bad 54
Shadow rules
55
3. Shadow analysis preattentive
Visual search shows that shadow information
worked out early
And then THROWN OUT!
Hard to find odd shadow
But easy if same shape is not shadow
Hard Easy 56
4. Shape from shading
heuristics/assumptions
• Because more light usually comes from above the lower
regions of convex objects receive less light
• Our visual system depends on this implicit knowledge so
we can see 3D shapes
5 bumps 1 bump
57
Lighting from above: Depth, figure/ground interpretation
depends on assumption of lighting from above.
58
Light from above
Dimples Bumps
59
5. Is it a reflection or a light spot
61
62
The reflected pattern does not even have to match the
scene at all to be seen as a reflection and give the sphere
a glossy appearance
63
“Uffizi” White Noise
Reflections
St. Peter’s must be lighter
Positive Negative
64
Reflections or paint?
Reflections do not move with
the object
65
Artists take shortcuts with reflections
Highlights and reflections add greatly to the realism of
materials
Artists know the reflection does not have to match the
scene but needs to follow the surface curves
66
Reflections on horizontal surfaces fall on a
vertical line below each object
67
This simple property allows even sketchy impressionist
paintings to capture the reflective quality of water
69
70
Artists often make errors in depicting what is
seen in mirrors
We seldom notice
73
Summary
Discount the illuminant recovers the reflectance
Shadows need to be darker and lie on surface
Shadow analysis preattentive
can be because it is local
Reflections need to be lighter and typical
1 Minute Quiz
Fin
74