Chapter 2 – Camera Model
2-1
Chapter 2
Projective Geometry and
Camera Models
James Hays, Brown University
Department of Mechatronics
Chapter 2 – Camera Model
2-2
Contents
Mapping between image and world coordinates
• Projective geometry
Vanishing points and lines
• Pinhole camera model
• Cameras & lenses
• Projection matrix
Department of Mechatronics
Chapter 2 – Camera Model
2-3
Camera and World Geometry
Department of Mechatronics
2-4
Chapter 2 – Camera Model
Projection can be tricky…
Department of Mechatronics
2-5
Chapter 2 – Camera Model
Projection can be tricky…
Department of Mechatronics
Chapter 2 – Camera Model
2-6
Projective Geometry
• What is lost?
Length
Department of Mechatronics
2-7
Chapter 2 – Camera Model
Length is not preserved
Department of Mechatronics
Chapter 2 – Camera Model
2-8
Projective Geometry
• What is lost?
Length
Angles
Department of Mechatronics
Chapter 2 – Camera Model
2-9
Projective Geometry
• What is preserved?
Straight lines are still straight
Department of Mechatronics
Chapter 2 – Camera Model
2-10
Vanishing points and lines
• Parallel lines in the world intersect in the image at a
“vanishing point”.
Department of Mechatronics
Chapter 2 – Camera Model
2-11
Vanishing points and lines
Department of Mechatronics
Chapter 2 – Camera Model
2-12
Vanishing points and lines
Department of Mechatronics
Chapter 2 – Camera Model
2-13
Vanishing points and lines
Department of Mechatronics
Chapter 2 – Camera Model
2-14
Note on estimating vanishing points
Department of Mechatronics
2-15
Department of Mechatronics
Chapter 2 – Camera Model
2-16
Department of Mechatronics
Chapter 2 – Camera Model
Chapter 2 – Camera Model
2-17
Camera obscura: the pre-camera
• Known during classical period in China and Greece
(e.g. Mo-Ti, China, 470BC to 390BC)
Department of Mechatronics
2-18
Department of Mechatronics
Chapter 2 – Camera Model
2-19
Department of Mechatronics
Chapter 2 – Camera Model
2-20
Department of Mechatronics
Chapter 2 – Camera Model
2-21
Department of Mechatronics
Chapter 2 – Camera Model
2-22
Parallel light rays which pass through a small aperture
begin to diverge and interfere with one another. This
becomes more significant as the size of the aperture
decreases relative to the wavelength of light passing
through, but occurs to some extent for any size of
aperture or concentrated light source.
Department of Mechatronics
Chapter 2 – Camera Model
Chapter 2 – Camera Model
2-23
Cameras and Lenses
• A lens focuses light onto the film
Department of Mechatronics
Chapter 2 – Camera Model
2-24
Cameras and Lenses
• A lens focuses light onto the film
Rays passing through the center are not deviated.
All parallel rays converge to one point on a plane
located at the focal length f.
Department of Mechatronics
Chapter 2 – Camera Model
2-25
Cameras and Lenses
• A lens focuses light onto the film
There is a specific distance at which objects are “in
focus” [other points project to a “circle of confusion”
in the image].
Department of Mechatronics