Zhang (Zha99) and, independently, Sturm and Maybank (SM99) proposed a method for deriving a linear equation to estimate camera parameters. They also updated calibration techniques—still valid, but dating back to the 1980s—developed primarily by Tsai (Tsa87) and others (WM94).
This technique uses several homography matrices computed from observations of a plane (for example, a calibration grid with equally spaced markers) to explicitly recover the camera's intrinsic parameters. As discussed earlier, the matrix
, which represents a homographic transformation of a plane, has 8 degrees of freedom, but the 10 explicit parameters that generated it cannot be recovered directly.
Methods for estimating the homography matrix from correspondences between image points and plane points are discussed in Section 9.5.1.
Matrix , and specifically equation (9.36), can be written explicitly as
Despite the presence of the factor , relations based on the orthogonality of the vectors
and
can be expressed to impose the following two constraints:
| (9.75) |
The 4 (or 5, if skew is not neglected) unknowns in matrix subject to the 2 constraints (9.74) can be solved using at least 2 (or 3) different planes, that is, matrices
whose columns are not linearly dependent.
Once matrix has been obtained, the original matrix can finally be determined using Cholesky decomposition.
Alternatively, Zhang provides equations for obtaining the camera's intrinsic parameters directly from matrix
.
In fact,
can be transformed using suitable values of vector
and
, a vector to be determined from the nonzero entries of the upper triangular matrix
. The system of equations (9.74) is thereby transformed into a homogeneous linear system in
.
Once the intrinsic parameters and matrix have been determined, the rotation and translation can be estimated for each homography matrix
used in the optimization stage:
| (9.76) |
The system as a whole is nevertheless ill-conditioned, and repeated trials rarely yield a stable solution. The values obtained with this linear technique are useful, however, as an initial estimate for a Maximum Likelihood Estimation stage that minimizes the reprojection error (Section 9.5.6).
One note: in his paper, Zhang assumes that the Principal Point coincides with the distortion center, which is generally not exact.
Paolo medici