

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Emailed October 5, 2000 Due back October 11 2000
Camera calibration using a linear method
We want to calibrate the camera of a robot vehicle. We place a large cubic frame of size 4 meters on the road several meters in front of the vehicle. The positions of the eight corners of the cubic frame are defined with respect to a world coordinate system with its axes parallel to the cube edges and with its origin at the center of the cube. The world coordinates of the cube vertices are
2 2 2 -2 2 2 -2 2 - 2 2 - 2 -2 2 -2 -2 2 -2 -2 - 2 -2 -
There are bright light sources at the corners of the cube that are all visible and are easy to detect in the camera image.
We detect the cube corners at the following pixel positions in the camera image:
422 323 178 323 118 483 482 483 438 73 162 73 78 117 522 117
For each image point, the left coordinate defines its horizontal position (pixel column) and the right coordinate defines its vertical position. We were able to find out the correspondences between image points and world cube corners, so that the first set of image coordinates corresponds to the first set of world coordinates, and so on.
NOTE: The slides 25 and 26 showed zero vectors with 3 elements (03) in matrix A. This was wrong. The zero vectors should have 4 elements (04). This has been corrected (but your browser may still be caching the older version).
cosX = m33/sqrt(m33m33+m32m32)
sinX = -m32/sqrt(m33m33+m32m32)
Note that the term at position (3,2) would also be set to zero if the signs of cosX and sinX were reversed (as shown in the slides), but this would lead to finding a negative focal length for the camera.
Compute the angle ax of this rotation in degrees. Compute matrix N = M * Rx. Print Rx, ax and N.
cosZ = n22/sqrt(n21n21+n22n22)
sinZ = -n21/sqrt(n21n21+n22n22)
Compute the rotation angle az in degrees. This angle is actually very small. Compute the calibration matrix K = N * Rz.
Rescale K so that its element k33 is set to 1. Print K.