We consider the particular case in which the cameras are aligned with the axes, have equal intrinsic parameters, zero relative rotation, and are tilted by the pitch angle with respect to the plane .
Under this particular configuration, the projection matrix simplifies slightly, taking the form
The horizontal coordinate of a generic point
in world coordinates is therefore
Under the rectified-camera assumptions introduced above, namely equal orientation and equal intrinsic parameters, a condition that can always be achieved through rectification or by considering suitable image rows, the projective matrix (10.27) is the same in the two different reference frames and, from equation (10.28), the only difference between the cameras is in the numerator, due to their different positions of the pin-hole along the axis.
It follows that the difference between the coordinates
in the two images
(the disparity) is
| (10.30) |
| (10.31) |
The coordinate of the point can instead be written as
Thus, the system of equations is
| (10.34) |
A particular disparity case arises when observing a plane, namely the ground plane, which accounts for most of the points in the image.
When the baseline lies along the axis, the disparity of the plane
depends only on
, and this equation is that of a straight line.
The relationship between disparity and coordinate can be derived by solving for
in the second equation and substituting it into the first equation of (10.33):
From the first equation in (10.35), it can be seen that the disparity depends only on the distance if the height
is fixed (for example, on the ground).
The second equation shows that disparity
grows linearly with coordinate
, with the known slope
| (10.36) |
| (10.37) |
Paolo medici