Title: Lectures 9: The camera
1- Lectures 9 The camera
- Contents
- The imaging device
- The 3D-to-2D transformation of the pin hole
model - Camera calibration
- Radial distortion
- Telemetry by an uncalibrated camera
2 Rays in a simplified digital camera
3- Thin-lens formula a -1 b -1 f -1
- The image at right shows a camera lens with
- f 12 mm (fixed)
- Distance b set so that a bf/(b-f) 3 ft 0.9
m - aperture set to 2.8. Thus the aperture angle
0.36 radians. (Exact definition aperture
f/ddiaphragm)
4Depth of focus
5 6 Camera geometry Global frame X-Y-Z
Image coordinates (u,v), Camera frame x-y-z
7The camera transformation using the pin hole
model The object coordinate (x,y,z) in the
camera frame related to the image coordinate (u,v)
8Transformation from the global frame to the
camera frame
9The full camera transformation expressed by a 4x3
camera matrix
10Using relations between 3D points and their images
Sonka et al. p. 455
11Task 2
12Task 3
13Conversion between internal and external camera
parameters
14Deviations from the pin hole model of a camera
Image distortion
15(No Transcript)
16Telemetry by an uncalibrated camera Consider the
same object taken by a camera from many different
directions
17How to measure the 3D coordinates of the land
marks? Number of land marks 10 Number of
images 5 There is a relation between the image
position of the landmark centers, the camera
parameters and the 3D landmark coordinates. The
image positions can be obtained by image
analysis. There are 50-x coordinates and 50
y-coordinates. We get a total of 100
equations. How many unknowns 6 camera
parameters 5 x 6 30 pose parameters, 30 3D
coordinates of the landmarks. A total of 66
unknowns.
18The best we can do is to search for the smallest
square error. The set of equations is non-linear
so the standard methods for solving
overdetermined equations do not work. If you have
a start guess you can linearize the equations and
apply Newtons method. Among the 30 3D
coordinates, 7 can be chosen to be fixed. At
Maersk we choose all three coordinates of two
land marks (the two on the plate surface) and the
height of a third to be fixed. Thus there are 59
unknowns in the example
19The method gives not only the landmark
coordinates, but also the 5 linear camera
parameters and the distortion parameter. Typical
result Mean error between the observed image
positions and the projected image positions (mean
over 100 coordinates) is 0.2 pixels. The image
size of the 200 x 150 mm plate was 800 x 600
pixels. This means that 0.2 pixels corresponds to
50 micrometer! After telemetric measurement, the
calibration template used in a simple calibration
lead to a mean error of 0.1 pixels.