Subsections

Notable Results

The rotation matrix and the pin-hole equation (9.25) can be used to show some notable results. From the system, define the function $f_{pm}$ of $\mathbb{R}^{3}$ into $\mathbb{R}^{2}$, called perspective mapping, as follows:

\begin{displaymath}
f_{pm}(x,y,z) = \left(
k_{u} \frac{r_{0} x + r_{1} y + r_...
..._{4} y + r_{5} z}{r_{6} x + r_{7} y + r_{8} z} + v_0
\right)
\end{displaymath} (9.30)

This is the pin-hole camera model written explicitly9.2. For simplicity, the pin-hole is assumed to coincide with the origin of the reference frame.


Vanishing Points and Calibration

Given three mutually orthogonal directions in the reference frame, the corresponding three vanishing points in the image can be defined.

Consider the first axis, for example. In our reference frame, coordinate $x$ is the distance (the same reasoning applies to the other two coordinates). Let this coordinate tend to infinity while keeping the others constant. The resulting point is

\begin{displaymath}
\lim_{x\to\infty}f_{pm}(x,y,z) =
\left( k_{u} \frac{r_{0}}{r_{6}} + u_0, k_{v} \frac{r_{3}}{r_{6}} + v_0 \right)
\end{displaymath} (9.31)

The same result can be obtained more compactly using homogeneous matrices.

Taking the perspective transformation (9.24) and letting $x\rightarrow\infty$, $y\rightarrow\infty$, and $z\rightarrow\infty$ tend to infinity in turn, the resulting image points (in homogeneous coordinates), which represent the vanishing points in the three directions, are exactly the columns of the matrix $[\mathbf{v}_x \mathbf{v}_y \mathbf{v}_z] = \mathbf{K} \cdot \mathbf{R}$, namely:

\begin{displaymath}
\begin{array}{rl}
\mathbf{v}_{x} &= \mathbf{K} \mathbf{r}_...
...} \\
\mathbf{v}_{z} &= \mathbf{K} \mathbf{r}_{3}
\end{array}\end{displaymath} (9.32)

where the columns of the matrix $\mathbf{R}$ are denoted using the notation $\mathbf{r}_{i}$. This is a first example of camera calibration using image information—in this case, the locations of the vanishing points.

In particular, in the simplified case $u_0=0$, $v_0=0$, and $k_\gamma = 0$, the vanishing points are located at


\begin{displaymath}
\begin{array}{rl}
\mathbf{v}_{x} &= \left( k_u \dfrac{r_0}...
...\dfrac{r_2}{r_8}, k_v \dfrac{r_5}{r_8} \right) \\
\end{array}\end{displaymath} (9.33)

Since the three columns of $\mathbf{R}$ are orthonormal, it is worth noting that knowing two vanishing points and the intrinsic parameters is sufficient to determine the third (see the previous section).


Horizon Line

Letting more than one variable tend to infinity yields more than one point. For $x\to\infty$ with $y = m x$, the vanishing point degenerates into a line with equation

\begin{displaymath}
k_{v} (r_{3} r_{7} - r_{4} r_{6}) u + k_{u} (r_{6} r_{1} - r_{7} r_{0}) v + k_{u} k_{v} (r_{4} r_{0} - r_{3} r_{1}) = 0
\end{displaymath} (9.34)

the horizon line.

Degenerate Points and Lines

Just as a point in the projected image degenerates into a line, a line with equation $au +bv +c =0$ becomes, in the projected image,

\begin{displaymath}
a k_u (r_{0} x + r_{1} y + r_{2} z) + b k_v (r_{3} x + r_{4} y + r_{5} z) + c(r_{6} x + r_{7} y + r_{8} z) = 0
\end{displaymath}

that is,
\begin{displaymath}
(a k_u~r_{0} + b k_v r_{3} + c r_{6} ) x + (a k_u r_{1} + b...
...{4} + c r_{7}) y + (a k_u r_{2} + b k_v r_{5} + c r_{8}) z = 0
\end{displaymath} (9.35)

which represents the back-projection plane associated with the image line: the plane containing all the optical rays corresponding to points on that line and passing through the pin-hole.



Footnotes

... explicitly9.2
In what follows, skew will be assumed to be zero, since it is negligible in modern cameras.
Paolo medici
2026-10-19