This directory contains the source code for the paper

    Real-time Spatiotemporal Stereo Matching Using the Dual-Cross-Bilateral Grid
    Christian Richardt, Douglas Orr, Ian Davies, Antonio Criminisi and Neil A. Dodgson
    European Conference on Computer Vision (ECCV) 2010
    <http://www.cl.cam.ac.uk/research/rainbow/projects/dcbgrid/>

If you use our code, please cite our paper. Thanks.


Instructions for compilation
----------------------------

We are using Visual Studio 2008 (SP1) and CUDA 2.3 on 32-bit Windows Vista and Windows 7.

1. Please ensure you set up the following environment variables:
    - CUDA_INC_PATH
    - CUDA_LIB_PATH
    - NVSDKCUDA_ROOT

2. Compile for 'Release' mode.

3. Run RealTimeStereoTestViewer (default start-up project).


Contents
--------

  RealTimeStereoLib
    The core stereo algorithms implemented using NVIDIA CUDA 2.3.
    The files "Dcb*.cu" contain the source code for our DCB grid techniques.

  RealTimeStereoTestViewer (run this)
    Graphical user interface for interactive experimentation on stereo techniques,
    allowing the user to seletc different techniques for different stages of the
    stereo pipeline and to vary their parameters.
    Reads stereo videos using ffmpeg's libav* (also provided).

  StereoLibTester
    Command line interface to the RealTimeStereoLib library.

  Tools/*
    Various tools used for creating disparity maps from stereo images and videos.
    For example includes left-right consistency checking and our pixel infilling algorithm.
    Provided for reference.