In order to rectify - let's say - the left image, we need to compute
the transformation mapping the image plane of
onto the image plane of
.
It is
useful to think of an image as the intersection of the image plane
with the cone of rays between points in 3D space and the optical
centre. We are moving the image plane while leaving fixed the cone of
rays. We will see that the sought transformation is the
collinearity (linear transformatiopn of the projective plane)
given by the
matrix
.
The same result applies to the right image.
For any 3-D point w we can write
![]() |
(11) |
![]() |
(12) |
![]() |
(13) |
The transformation
is then applied to the original left
image to produce the rectified image, as in Figure
3. Note that the pixels (integer-coordinate positions)
of the rectified image correspond, in general, to non-integer
positions on the original image plane. Therefore, the gray levels of
the rectified image are computed by bilinear interpolation.
Reconstruction of 3-D points by triangulation can be performed from the rectified images directly, using Pn1,Pn2.