Stereo Projections: Background, Mathematics, and Use

The Mathematics of Stereo Projections

Stereo Perspective

Our final task is to extend the results of the previous pages to show how to generate separate perspective views of a scene to the left and right eyes. We will derive the expressions from scratch, and see that they lead to the presence of shears in the matrix: one for each eye.

We wish to generate expressions for the point P as projected onto each of the left and right eyes. The eyes are separated only in the x direction of the eye coordinate system, hence y′ will be the same as we saw before. (Recall that we want to avoid vertical parallax in our stereo images.) Similarly, nothing need change in the z direction. We focus exclusively, then, on the projected x coordinates as seen by the left and right eye.

The left and right eyes are separated by a distance, d, as indicated in the figure. Following our logic from earlier in this section of the notes, it should be clear that:

zpp/z = (xL′ - (-d/2)) / (x - (-d/2))
and
zpp/z = (xR′ - d/2) / (x - d/2)

Solving for xL and xR (and multiplying both sides by z to get the coordinates of the desired projectively equivalent point):

xL′z = zppx - dz/2 + dzpp/2
and
xR′z = zppx + dz/2 - dzpp/2

About the project | ©2007-2010 | Contact Us