A CS 766 Project
University of Wisconsin - Madison
Fall 2004
 
0 - Find Correspondence using the KLT feature point tracker.
1 - Determine the Fundamental Matrix, F.
2 - Recify images using F.
3 - Apply Birchfield and Tomasi calibated stereo correspondence algorithm to
create a depth map.
4 - If the depth map generated is bad, determine new correspondence points by
searching the space near the epipolar lines determine originally.
5 - Repeat from step 1, using the new correspondence points.
Step 1 Determine the Fundamental Matrix, F
OpenCV provides a method for this calculation. A good discussion of
the 8-point algorithm is given by
Hartley. Note that this calculation is very much sensitive to
noise. For example, the following image is a parallel stereo pair.
In other words, all epipolar lines should be horizontal. Note
that almost all points are tracked reasonably, however if we examine the
epipolar line that corresponds to the top-left of the box (white square), it is
not horizontal and misses the point in the corresponding image.
The calculated fundamental matrix provides much better results in other parts
of the image

Step 3 - Apply Birchfield and Tomasi calibated stereo correspondence algorithm to
create a depth map
Birchfield and Tomasi use a dynamic programming method to determine
disparity given two rectified images. Essentially, they perform a global
sequence alignment between each pair of lines. This method is provided by
openCV. Perfectly rectified images give the depth image below. This
image has been brightness enhanced.
