Zhang (Zha99) and simultaneously Sturm and Maybank (SM99) identify a method to derive a linear equation for obtaining the camera parameters, while also updating the calibration techniques (which remain valid but are now somewhat outdated, dating back to the 1980s) primarily developed by Tsai (Tsa87) and others (WM94).
This technique leverages the computation of various homographic matrices obtained from the observation of a plane (for example, a calibration grid with equidistant markers) and seeks to explicitly derive the intrinsic parameters of the camera from these. As previously discussed, the matrix
, the homographic transformation of a plane, possesses 8 degrees of freedom, but it is not possible to directly derive the 10 explicit parameters that generated it. Methods for obtaining the homographic matrix given correspondences between image points and points on the plane are discussed in section 8.5.1.
The matrix and in particular the equation (8.27) can be expressed as
Despite the presence of the factor , it is indeed possible to express relationships based on the orthogonality between the vectors
and
in order to enforce the following two constraints:
| (8.66) |
The 4 (or 5 unknowns, not neglecting the skew) of the matrix under the 2 constraints (8.65) can be solved using at least 2 (or 3) different planes, that is, matrices
whose columns are not linearly dependent on each other.
Once the matrix is obtained, the original matrix can be determined using the Cholesky decomposition. Alternatively, Zhang provides the equations to directly obtain the intrinsic parameters of the camera from the matrix
. It is indeed possible to transform
using appropriate values of the vector
and with
, a vector to be determined, using the non-zero values of the upper triangular matrix of
. In this way, the system of equations (8.65) is transformed into the solution of a homogeneous linear system in
.
Once the intrinsic parameters and the matrix are determined, for each homographic matrix
used in the optimization phase, it is possible to estimate the rotation and translation:
| (8.67) |
The system as a whole is still ill-conditioned, and it is challenging to arrive at a stable solution after repeated trials. However, the values obtained through this linear technique serve as a starting point in a phase of Maximum Likelihood Estimation to minimize reprojection errors (section 8.5.6).
One note: Zhang in his article equates the Principal Point with the distortion center, which is generally inaccurate.
Paolo medici