项目作者: qw2208

项目描述 :
In this project, we calculate the disparity map of two rectified images which imitate two eyes. In this project, SAD and DP algorithms (simplified) are implemented. PyCUDA codes are typically included.
高级语言: Python
项目地址: git://github.com/qw2208/disparity-matching.git
创建时间: 2016-12-07T16:48:50Z
项目社区:https://github.com/qw2208/disparity-matching

开源协议:

下载


disparity-matching

In this project, we calculate the disparity map of two rectified images which imitate two eyes. In this project, SAD and DP algorithms (simplified) are implemented. PyCUDA codes are typically included.

  1. “cudadpAdvanced.py” is the pycuda code for Dynamic Programming.
  2. “sad.py” is the pycuda code for local algorithms (SAD&SSD).
  3. “stereo-matching.py” is local algorithms which could be implemented on CPU.
  4. “dpmatching.py” is dp algorithm which could be implemented on CPU.
  5. “imL.png” and “imR.png” are input left images and right images.

Execution of dp algorithm and sad are around 0.2-0.4s on GPU and 10^-3 matching. We also enclosed disparity maps we derived.

This is a code by Qingwei Wu and Reixuan Zhang

Please feel free to contact me: qw2208@columbia.edu