Does MATLAB's disparity function (semiglobal) use the Birchfield-Tomasi pixel cost?

2 次查看(过去 30 天)
Hi,
The documentation states that disparities are calculated by matching SAD costs, however the code implementing it uses cv::stereosgbm which in turn uses the Birchfield-Tomasi matching cost to match (not the SAD values directly). What is true, and is sgbm simply OpenCV's implementation only with some fixed parameters?

回答(1 个)

Manish M
Manish M 2019-6-23
You are correct, it uses cv::stereosgbm which uses the Birchfield-Tomasi matching cost.

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by