1. 程式人生 > >立體像對匹配演算法stereoMatcher程式碼

立體像對匹配演算法stereoMatcher程式碼

主頁

程式碼

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.

Notes:

  1. 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.
  2. There are some bugs in the original distribution. To fix them, download Stereo-patch.zip (last updated 2/4/2011), unzip it in the original "StereoMatch" directory, and overwrite the affected files.
  3. 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).
  4. Marshall Tappen has implemented a Belief Propagation extension to our stereo code that is available for download.
  5. 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/2006) 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. Finally, run the executable on the top-level script as follows:

StereoMatcher.exe script exp_all.txt
See the script files for more information. (Note: if, under unix, you get errors like "could not cd to ../map", try removing the DOS carriage return characters from the script files using a tool like dos2unix.)