Skip to content

eshibusawa/JBF-Stereo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JBF-Stereo

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.

Result of disparity refinement by using Joint Bilateral Filter

Result of PatchMatch Stereo

see more detail for PatchMatch.

Result of ELAS (Efficient Large-Scale Stereo Matching)

see more detail for ELAS.

Result of TGV (Total Generalized Variation)

see more detail for TGV.

Requirements

JBF-Stereo requires the following libraries:

  • cupy
  • opencv
  • scipy
  • nose (only for testing)
pip install -r requirement.txt

Usage

# 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