Skip to content

Optimized (very fast) stereo matching algorithms in Python. It includes the Block Matching, Dynamic Programming, Semi-Global Matching, Semi-Global Block Matching and Belief Propagation algorithms.

License

Notifications You must be signed in to change notification settings

bollasap/stereo-matching-algorithms-python

Repository files navigation

Stereo Matching Algorithms in Python

Optimized (very fast) stereo matching algorithms in Python. A port from Stereo Matching Algorithms in MATLAB.

It includes:

  • Block Matching
  • Dynamic Programming (2 different versions)
  • Semi-Global Matching
  • Semi-Global Block Matching
  • Belief Propagation (3 different versions)

Note: For different stereo image pairs, set the disparity levels and the other parameters. If the image has no noise, do not use Gaussian filter.

Input Image

The Tsukuba stereo image that used as input.

Output Image

The disparity map that created using the Block Matching algorithm.

The disparity map that created using the Dynamic Programming (Left-Right Axes) algorithm.

The disparity map that created using the Dynamic Programming (Left-Disparity Axes) algorithm.

The disparity map that created using the Semi-Global Matching algorithm.

The disparity map that created using the Semi-Global Block Matching algorithm.

The disparity map that created using the Belief Propagation (Accelerated) algorithm.

The disparity map that created using the Belief Propagation (Synchronous) algorithm.

Related Repositories

About

Optimized (very fast) stereo matching algorithms in Python. It includes the Block Matching, Dynamic Programming, Semi-Global Matching, Semi-Global Block Matching and Belief Propagation algorithms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages