Camera Notes Part 2 For Photogrammetry
Camera Notes Part 2 For Photogrammetry
Cyrill Stachniss
https://www.ipb.uni-bonn.de/5min/
2
How to Obtain an Image?
sensor chip
A/D Post-
Sensor
converter processing
7
Sensor
11
Three-Chip Camera
§ Three chips with separate filters for
red, green, and blue
§ Light is separated with a beam splitter
15
Other Patterns
Image Courtesy:
Szeliski
17
Errors from Demosaicing
§ Interpolating color values obviously
leads to errors
§ Errors typically occur around edges
+ + =
21
Shutter Speed / Exposure Time
§ Controls the amount of light reaching
the sensor
§ Longer exposure time = more light =
brighter images
§ Long exposure time leads to motion
blur
22
Rolling Shutter
§ The shutter rolls (moves) across the
exposable image area
§ The pixels at the same line of the
image are recorded at the same time
§ Produces distortions in case of fast-
moving objects or cameras
§ Often found in CMOS cameras
23
Rolling Shutter
Image Courtesy:
Red.com, Inc. 24
Rolling Shutter Effects
Image Courtesy:
Image Courtesy:
Axel1963
Richmilliron
(wikipedia)
(wikipedia)
25
Global Shutter
§ The whole image is recorded at
exactly the same time
§ No rolling shutter distortions
§ Preferable for geometric
reconstruction task
§ More expansive to produce
26
Global Shutter
30
Models for Light Propagation
There are three models to describe light
propagation in physics:
§ Geometric or ray optics
(DE: Geometrische Optik)
§ Wave optics based on Maxwell's
equations (DE: Wellenoptik)
§ Particle/quantum optics based on the
wave–particle duality
(DE: Quantenoptik)
31
Geometric/Ray Optics
32
Four Axioms of Geometric Optics
1. A light ray is a straight line in
homogenous material
2. At the border between two
homogenous materials, the light is
reflected (Fresnel reflection) or
refracted (Snell's law; DE: Brechung)
3. The optical path is reversible
4. Intersecting light rays do not
influence each other
33
Geometric Optics
§ Light propagation is described by rays
from the light sources
§ Light travels with in
vacuum
§ Different speeds in different materials
§ Each material has an index of
refraction (DE: Brechungsindex)
§ Speed
§ Light travels along the fastest path
34
Image Formation
Image
plane
Virtual pinhole
image
In Latin, means
“dark room”
39
Pinhole Camera Model
44
Three Assumptions Made in the
Pinhole Camera/Thin Lens
1. All rays from the object point
intersect in a single point
2. All image points lie on a plane
3. The ray from the object point to the
image point is a straight line
45
Aperture
2x light ½x light
¼x light
Image Courtesy:
Ashley Ringrose 56
Three Assumptions Made in the
Pinhole Camera/Thin Lens
1. All rays from the object point
intersect in a single point
2. All image points lie on a plane
3. The ray from the object point to the
image point is a straight line
57
Aberrations
§ A deviation from the ideal mapping
with a thin lens is called aberration
§ Main types of aberrations:
§ Distortion
§ Spherical aberrations
§ Chromatic aberrations
§ Astigmatism
§ Comatic aberrations
§ Vignetting
§ …
58
Distortion
Deviation from rectilinear projection,
a projection in which straight lines in
a scene remain straight in an image
ideal
spherical aberration
(DE: Sphärische Aberration)
Image courtesy: Wikipedia 60
Chromatic Aberration
§ Index of refraction for glass varies
slightly as a function of wavelength
§ Light at different wave length are not
projected to the same point (are
focused with a different focal length)
chromatic aberration
(DE: Chromatische
Aberration)
65
Wave Optics
§ Considers light as an electro-magnetic
wave described by the Maxwell
equations
§ Describes interference und diffraction
(DE: Interferenz und Beugung)
§ Visible light from 400nm to 700nm
§ Electro-magnetic waves cover a large
spectrum of wave lengths
66
Spectrum
wave length
68
Frequency
§ The frequency is defined as
speed of light (vacuum)
wave length
refraction index
69
We Are Mainly Using 3 Bands
+ + =
70
Near the Visible Spectrum
Infrared light (λ≈1mm) is strongly
reflected by chlorophyll and thus often
used for monitoring vegetation
72
Particle/Quantum Optics
73
Light as Particles
§ Quantum mechanics/optics introduces
the wave-particle duality
§ Certain properties of light can be
described by particles
§ Alternative description that tries to
explain phenomena that cannot be
explained using wave optics
§ Useful for describing the interactions
between light and matter
74
Photon
§ A photon is an elementary particle
§ It is the “quantum of light”
§ Energy of a photon is
75
Photons and Intensity
cell
(pixel)
77
Intensity Values
External
§ Amount of light reflected from a scene
to the camera
Camera
§ Exposure time (“Tv”)
§ Aperture/pinhole size (“Av”)
§ Sensitivity of the chip (“ISO”)
78
Exposure Triangle
motion blur
sharp/blurry
depth of field
sensor noise
See: https://actioncamera.blog/
2017/02/22/the-exposure-triangle/ Image courtesy: M. Walsh 79
Lighting and Reflectivity
80
Lighting and Reflectivity
§ Lighting is essential
§ Light intensity depends on the light
source, the reflection properties of the
material, and relative locations
geometry wavelength
reflected incoming
with
85
Example: BRDF Estimation
Video courtesy:
Proesmans and Van Gool 87
Summary
§ Basic elements of a camera
§ What a camera measures
§ What impacts the measurements
§ Different physical models to describe
light (ray, wave, particle)
§ Pinhole camera model
§ Aberrations
§ Reflectivity of objects
88
Literature
§ Förstner, Scriptum Photogrammetrie I,
Chapters 2 & 3
§ Szeliski, Computer Vision: Algorithms
and Applications, Chapters 2.2 & 2.3
89
Slide Information
§ The slides have been created by Cyrill Stachniss as part of the
photogrammetry and robotics courses.
§ I tried to acknowledge all people from whom I used
images or videos. In case I made a mistake or missed
someone, please let me know.
§ The photogrammetry material heavily relies on the very well
written lecture notes by Wolfgang Förstner and the
Photogrammetric Computer Vision book by Förstner & Wrobel.
§ Parts of the robotics material stems from the great
Probabilistic Robotics book by Thrun, Burgard and Fox.
§ If you are a university lecturer, feel free to use the course
material. If you adapt the course material, please make sure
that you keep the acknowledgements to others and please
acknowledge me as well. To satisfy my own curiosity, please
send me email notice if you use my slides.