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:>
After processing the result will be saved in the current directory with the names assigned.