/DepthMap

Producing Ground Truth Depth Maps with Dynamic Programming for stereo images Python.

Primary LanguagePythonApache License 2.0Apache-2.0

Stereo Image Depth Maps with Dynamic Programming

Solution based on Cox, I. J., Hingorani, S., Maggs, B. M., & Rao, S. B. (1992). Stereo Without Disparity Gradient Smoothing: A Bayesian Sensor Fusion Solution. Bmvc92, 337-346. doi:10.1007/978-1-4471-3201-1_35

To run in shell:>

python Main.py leftImage.png rightImage.png name_of_first_map_image name_of_second_map_image

After processing the result will be saved in the current directory with the names assigned.