Let us examine the particular case in which the cameras are aligned with respect to the axes, have identical intrinsic parameters, exhibit no relative rotation, and are inclined at a pitch angle with respect to the plane .
In this particular condition, the projection matrix simplifies slightly, taking the form
The horizontal coordinate of a generic point
in world coordinates is therefore given by:
With the assumptions of rectified cameras discussed previously, namely the same orientation and identical intrinsic parameters, a condition that can always be achieved through rectification or by considering appropriate rows of the image,
The projection matrix (9.25) remains the same in the two different reference frames, and by examining equation (9.26), the only difference between different cameras is found in the numerator due to the varying position of the pin-hole along the axis.
It follows that the difference in coordinates in the two images
(disparity) is given by
Using the relationship (9.26) in equation (9.27) yields the remarkable result
| (9.28) |
| (9.29) |
The coordinate of the point can instead be expressed as
From which the system of equations follows:
| (9.32) |
A particular case of disparity occurs when observing a plane, that of the ground, which, due to the number of points, predominates in the image. In the case where the baseline is along the axis , the disparity of the plane
is solely a function of
, and this equation turns out to be that of a straight line.
The disparity relation from the coordinate can be derived from the value of
from the second equation and substituting it into the first of the equations (9.31):
From the first of the equations (9.33), it can be seen that the expression for disparity depends solely on the distance when the height
is fixed (for example, at ground level). From the second equation, it is evident that the disparity
increases linearly with the coordinate
following a known slope
| (9.34) |
| (9.35) |
Paolo medici