Source Code
Here you can find the source code for "StereoMatcher", a stand-alone C++ implementation of many stereo algorithms as well as an evaluation module. This code was published together with our 2002 IJCV taxonomy paper. While it is still being maintained, it is not an implementation of state-of-the-art stereo methods. In particular, faster implementations of the global methods (graph cuts and belief propagation) are available as part of our MRF library.The StereoMatcher source code can be downloaded from the Microsoft Research Download Page. Here is a direct link to the StereoMatcher download page.
Notes:
- The downloaded file "StereoMatch_1_0.exe" is a self-extracting archive.
On a Unix system, rename the file to "StereoMatch_1_0.zip", then unzip it.
- There are some bugs in the original distribution. To fix them,
download Stereo-patch.zip
(last updated 7/20/07),
unzip it in the original "StereoMatch" directory, and overwrite
the affected files.
- The URL for the graph cut code (PRF) has changed - it can now be found at
http://www.avglab.com/andrew/soft.html (download prf.tar).
- Marshall Tappen
has implemented a Belief Propagation extension to our stereo code that is
available for download.
- Kuk-Jin Yoon
has implemented his adaptive
support-weight approach as an aggregation module to our stereo
matcher code. To use the code, download the file LASW.zip
(last updated 12/2/06)
and unzip it within the
StereoMatcher directory (after unzipping Stereo-patch from step 2
above). This will add two new files and replace some of the original
files. Sample scripts files to run this code are in
LASWscripts.zip. Note: since his code
was adapted to fit our framework, it does not produce exactly the same
results as in his paper.
Scripts.zip contains sample script files that demonstrate how to use our code. To use these scripts, first download imagedirs.zip (9.1 MB) which contains the 4 image sequences and the parameter files used by our code. Then, unzip Scripts.zip within imagedirs/ to create a subdirectory imagedirs/Scripts. See the script files for more information.