JBF-Stereo is an implementation for disparity refinement by using joint bilateral filtering (JBF). The refinement filter consists of joint bilateral filtering and joint nearest filtering, and both filters are CUDA-based GPU implementation.
see more detail for PatchMatch.
see more detail for ELAS.
see more detail for TGV.
JBF-Stereo requires the following libraries:
- cupy
- opencv
- scipy
- nose (only for testing)
pip install -r requirement.txt
# compute disparity using block matching and apply JBF, PM, ELAS
python Python/stereo_main.py
# compute disparity using TGV
# this demo requires CUDAToolkit and executable nvcc
python Python/stereo_main_nvcc.py