Marc Levoy
Computer Science Department
Stanford University
Outline
perspective
natural versus linear perspective
vanishing points
image formation
pinhole cameras
lenses
exposure
shutter speed
aperture
ISO
choosing a camera
Marc Levoy
common assumptions
1. Light leaving an object travels in straight lines.
2. These lines converge to a point at the eye.
natural perspective
Marc Levoy
2 > 1
natural perspective
Marc Levoy
Marc Levoy
common assumptions
1. Light leaving an object travels in straight lines.
2. These lines converge to a point at the eye.
natural perspective
linear perspective
Marc Levoy
y2
2
y1
1
y2 > y1
2 > 1
y2
y1
1
picture
plane
natural perspective
linear perspective
Marc Levoy
Filippo Brunelleschi,
dome of the cathedral,
Florence (1419)
Marc Levoy
(Cole)
11
Marc Levoy
(Cole)
Vanishing points
an
c
s
t
n
i
o
p
ing
h
s
i
n
a
v
y
g?
n
i
man
w
w
a
o
r
d
H
e
.
v
Q
cti
e
p
s
r
e
p
a
there be in
1-point
3-point
13
2-point
(DAmelio)
Marc Levoy
v.p. #2
v.p. #1
v.p. #3
14
Marc Levoy
15
Recap
natural perspective
linear perspective
intersections of lines of sight with a picture plane
the correct way to make a drawing on a flat surface
vanishing points
one per direction of line in the scene
lines parallel to the picture plane do not converge
Que s t ions?
16
Marc Levoy
17
Nikon F4
(film camera)
Marc Levoy
(London)
18
Marc Levoy
Pinhole camera
(a.k.a. camera obscura)
19
Marc Levoy
Drers glass
20
Pinhole photography
no distortion
everything is in focus
(Bami Adedoyin)
21
Marc Levoy
(London)
22
Marc Levoy
(London)
23
Marc Levoy
(London)
24
Marc Levoy
25
Marc Levoy
Geometrical optics
26
Marc Levoy
image
object
27
to focus on objects
at different distances,
move sensor relative to lens
sensor
in a handheld camera,
one actually moves the lens,
not the sensor
by convention, the focus distance
is on the object side of the lens
28
focus
distance
Marc Levoy
29
weaker lenses
have longer
focal lengths
to stay in focus,
move the sensor
further back
focused image
of tree is located
slightly beyond
the focal length
(Kingslake)
if the sensor
size is constant,
the field of view
becomes smaller
h
FOV
(Kingslake)
FOV = 2 arctan (h / 2 f )
30
Marc Levoy
(London)
31
Marc Levoy
(London)
32
Marc Levoy
if the sensor
size is smaller,
the field of view
is smaller too
smaller sensors
either have fewer
pixels, or smaller
pixels, which are
noiser
FOV1
FOV2
(Kingslake)
33
Marc Levoy
Sensor sizes
full frame
Canon 5D Mark II
(24mm 36mm)
APS-C
Nikon D40
(15.5mm 23.7mm)
(~1.5 crop factor)
http://www.engadget.com/2011/12/16/engadget-primed-why-your-cameras-sensor-size-matters/
iPhone 5 is
4.5mm
3.4mm
34
micro 4/3
Panasonic GX1
(13mm 17.3mm)
(~2 crop factor)
point-and-shoot
Canon A590
(5.75mm 4.31mm)
(~6 crop factor)
Marc Levoy
wide-angle
36
telephoto and
moved back
37
Marc Levoy
wide angle
38
standard
telephoto
Marc Levoy
Recap
but dark
Que s t ions?
39
Marc Levoy
Exposure
H=ET
irradiance (E)
amount of light falling on a unit area of sensor per second
controlled by aperture
40
Marc Levoy
aperture
mirror
film
shutter
41
Nikon F4
(film camera)
Marc Levoy
Shutters
quiet
slow
(max 1/500s)
42
out of focus
need one
per lens
Marc Levoy
(London)
Shutters
quiet
loud
slow
fast
out of focus
in focus
need one
per lens
distorts motion
(max 1/500s)
43
(max 1/4000)
Marc Levoy
Shutter speed
using 35mm
equivalent
focal length
45
Marc Levoy
motion blur
(London)
46
Marc Levoy
1/40 sec
47
Marc Levoy
1/250 sec
1/125 sec
48
Marc Levoy
1/2500 sec
1/800 sec
49
Marc Levoy
Womens
volleyball
(Canon 1DIII,
1/800 second)
50
Marc Levoy
focal plane
shutter distortion
Womens
volleyball
(Canon 1DIII,
1/800 second)
51
Marc Levoy
Aperture
52
Marc Levoy
Irradiance on sensor
(contents of whiteboard)
53
As the diameter A of the aperture doubles, its area (hence the light that
can get through it) increases by 4 (first drawing).
Think of the lens as a collection of pinholes, each having a fixed angular
field of view (cone in 2nd drawing) determined by the lens design.
A certain amount of light gets through each pinhole. By conservation of
energy, that light will fall on whatever sensor is placed in its path.
If the distance to the sensor is doubled, the area intersecting the cone
increases by 4, so the light falling per unit area decreases by 4.
Marc Levoy
Aperture
f
N=
A
f/2.0 on a 50mm lens means the aperture is 25mm
f/2.0 on a 100mm lens means the aperture is 50mm
low F-number (N) on long telephotos require fat lenses
In class today a student asked whether moving to a wider-angle setting on a zoom lens gathers more light.
In my fevered state today (100.8) I couldnt produce a crisp answer. The answer is that if you hold the
physical aperture diameter (A) constant, i.e. the same amount of glass, and you decrease focal length (f) to
obtain a wider angle of view, then since N = f/A you will end up increasing the relative aperture (lower N), and
yes a lower N *does* gather more light. However, if you set your camera to a fixed relative aperture, for
example f/4, and you move to a wider-angle setting (decreasing f), this combination of settings will be
implemented by the lens by decreasing the physical aperture (A). In that case you will *not* gather more light.
54
Marc Levoy
55
Aperture
f/2.8
f/4
f
N=
A
f/2.0 on a 50mm lens means the aperture is 25mm
f/2.0 on a 100mm lens means the aperture is 50mm
low F-number (N) on long zooms require fat lenses
f/5.6
f/8
56
f/11
f/16
f/22
(London)
Marc Levoy
depth of field
(London)
57
Marc Levoy
58
ght;
i
r
e
t
i
u
t q
n
s
i
e
r
u
This fig next week
it
x
fi
l
l
e
w
(London)
depth of field
depth of focus
circle of
confusion
1/2
(London)
59
Que s t ions?
Marc Levoy
Sensitivity (ISO)
60
Marc Levoy
61
(bobatkins.com)
Marc Levoy
Sensitivity (ISO)
62
Marc Levoy
Tradeoffs
affecting
brightness
(Flash demo)
http://graphics.stanford.edu/courses/
cs178/applets/exposure.html
63
(Eddy Talvala)
Marc Levoy
Slide credits
64
Steve Marschner
Fredo Durand
Eddy Talvala
London, Stone, and Upton, Photography (9th ed.), Prentice Hall, 2008.
Dubery, F., Willats, J., Perspective and other drawing systems, Van Nostrand Reinhold, 1972.
http://dpreview.com
Marc Levoy