Stanford CS223B Computer Vision, Winter 200809 Lecture 2 Image Formation

1 / 55
About This Presentation
Title:

Stanford CS223B Computer Vision, Winter 200809 Lecture 2 Image Formation

Description:

Perspective Camera Model. Weak-Perspective Camera Model. The Thin Lens. Aberrations ... Human Eyes Use Lenses ... aberrations are reduced by combining lenses ... –

Number of Views:345
Avg rating:3.0/5.0
Slides: 56
Provided by: Sebasti56
Category:

less

Transcript and Presenter's Notes

Title: Stanford CS223B Computer Vision, Winter 200809 Lecture 2 Image Formation


1
Stanford CS223B Computer Vision, Winter
2008/09Lecture 2 Image Formation
  • Professor Sebastian Thrun
  • CAs Ethan Dreyfuss, Young Min Kim, Alex Teichman

2
Topics
  • Cameras and Projections
  • Pinhole Camera, vanishing points
  • Orthographic Projection
  • Perspective Camera Model
  • Weak-Perspective Camera Model
  • The Thin Lens
  • Aberrations

3
Pinhole Camera
-- Brunelleschi, XVth Century
many slides in this lecture from Marc Pollefeys
comp256, Lect 2
4
Perspective Projection
A similar triangles approach to vision.
Marc Pollefeys
5
Implications For Perception
Same size things get smaller, we hardly notice
Parallel lines meet at a point
A Cartoon Epistemology http//cns-alumni.bu.edu
/slehar/cartoonepist/cartoonepist.html
6
Perspective Projection
O
X
-x
f
f
Z
7
Consequences Parallel lines meet
  • There exist vanishing points

Marc Pollefeys
8
The Effect of Perspective
9
Vanishing points
VPL
H
VPR
VP2
VP1
Different directions correspond to different
vanishing points
VP3
Marc Pollefeys
10
Question
  • How many vanishing points may there be in an
    image?

11
Perspective Projection
O
X
-x
f
Z
12
Weak Perspective Projection
Z
O
-x
Z
f
Z
13
Generalization of Orthographic Projection
When the camera is at a (roughly constant)
distance from the scene, take m1.
Marc Pollefeys
14
Pictorial Comparison
Weak perspective
Perspective
?
Marc Pollefeys
15
Summary Perspective Laws
  • Perspective
  • Weak perspective
  • Orthographic

16
So why not always use very tiny pinholes?
  • Might require long exposure, may lead to motion
    blur
  • Diffraction

17
Limits for pinhole cameras
18
Topics
  • Cameras and Projections
  • Pinhole Camera, vanishing points
  • Orthographic Projection
  • Perspective Camera Model
  • Weak-Perspective Camera Model
  • The Thin Lens
  • Aberrations

19
Human Eyes Use Lenses
(Theodore D. Ruche and Harry C. Patton,
Physiology and Biophysics, 19th ed. Saunders,
Philadelphia,1965)
20
Snells Law
Snells law n1 sin a1 n2 sin a2
21
Thin Lens Definition
Spherical lense surface Parallel rays are
refracted to single point
22
Thin Lens Projection
optical axis
Image plane
z
f
Spherical lense surface Parallel rays are
refracted to single point
23
Thin Lens Projection
optical axis
Image plane
z
f
f
Spherical lense surface Parallel rays are
refracted to single point
24
Thin Lens Properties
  • Any ray entering a thin lens parallel to the
    optical axis must go through the focus on other
    side
  • Any ray entering through the focus on one side
    will be parallel to the optical axis on the other
    side

25
Thin Lens Model
Q
P
O
Fr
Fl
p
R
Z
f
f
z
26
Thin Lens Model
Q
P
O
Fr
Fl
p
R
Z
f
f
z
27
A Transformation
28
The Thin Lens Law
Q
P
O
Fr
Fl
p
R
Z
f
f
z
29
The Thin Lens Law
30
Thin Lens Depth of Field
P
optical axis
Image plane
p
z
f
f
Spherical lense surface Parallel rays are
refracted to single point
31
Depth of Field
32
Depth of Field
Source wikipedia.org
33
Depth of Field
34
To Ways to Change the Depth of Field
  • Change z (distance of image plane to lens)
  • Deform lens

35
Thin Lens Depth of Field
P
optical axis
Image plane
p
z
f
f
Spherical lense surface Parallel rays are
refracted to single point
36
Human Eye
(Theodore D. Ruche and Harry C. Patton,
Physiology and Biophysics, 19th ed. Saunders,
Philadelphia,1965)
37
Focusing Through Lens Deformation
(Theodore D. Ruche and Harry C. Patton,
Physiology and Biophysics, 19th ed. Saunders,
Philadelphia,1965)
38
Thin Lens Aperture
P
optical axis
Image plane
p
z
f
f
Spherical lense surface Parallel rays are
refracted to single point
39
Aperture
40
Large Aperture
  • Reduces necessary exposure time
  • Decreases depth of field (sometimes desired
    most pronounced with telephoto lenses (large
    focal length))

41
Our Aperture Iris
Source www.cl.cam.ac.uk
42
Topics
  • Cameras and Projections
  • Pinhole Camera, vanishing points
  • Orthographic Projection
  • Perspective Camera Model
  • Weak-Perspective Camera Model
  • The Thin Lens
  • Aberrations

43
Limits of the Thin Lens ModelAberrations
3 assumptions
  • all rays from a point are focused onto 1 image
    point
  • Remember thin lens small angle assumption

2. all image points in a single plane
3. magnification is constant
Deviations from this ideal are aberrations
44
Aberrations
2 types
geometrical geometry of the lense, small for
paraxial rays
chromatic refractive index function of
wavelength
Marc Pollefeys
45
Geometrical Aberrations
  • spherical aberration
  • astigmatism
  • distortion
  • coma

aberrations are reduced by combining lenses
46
Astigmatism
  • Different focal length for inclined rays

Marc Pollefeys
47
Astigmatism
  • Different focal length for inclined rays

Marc Pollefeys
48
Spherical Aberration
rays parallel to the axis do not converge outer
portions of the lens yield smaller focal lenghts
49
Distortion
  • magnification/focal length different
  • for different angles of inclination

pincushion (tele-photo)
barrel (wide-angle)
Can be corrected! (if parameters are know)
Marc Pollefeys
50
Coma
  • point off the axis depicted as comet shaped blob

Marc Pollefeys
51
Chromatic Aberration
rays of different wavelengths focused in
different planes cannot be removed
completely
Marc Pollefeys
52
Vignetting
Effect Darkens pixels near the image boundary
53
Vignetting
Effect Darkens pixels near the image boundary
54
CCD vs. CMOS
  • Mature technology
  • Specific technology
  • High production cost
  • High power consumption
  • Higher fill rate
  • Blooming
  • Sequential readout
  • Recent technology
  • Standard IC technology
  • Cheap
  • Low power
  • Less sensitive
  • Per pixel amplification
  • Random pixel access
  • Smart pixels
  • On chip integration with other components

Marc Pollefeys
55
Summary
  • Cameras and Projections
  • Pinhole Camera, vanishing points
  • Orthographic Projection
  • Perspective Camera Model
  • Weak-Perspective Camera Model
  • The Thin Lens
  • Aberrations
Write a Comment
User Comments (0)
About PowerShow.com