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

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?

Answers (1)

You are correct, it uses cv::stereosgbm which uses the Birchfield-Tomasi matching cost.

Categories

Products

Release

R2018b

Asked:

on 24 May 2019

Answered:

on 23 Jun 2019

Community Treasure Hunt

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

Start Hunting!