Compute disparity map through semi-global matching
computes disparity map from a pair of rectified stereo images disparityMap
= disparitySGM(I1
,I2
)I1
and
I2
, by using semi-global matching (SGM) method. To know more about
rectifying stereo images, see Image Rectification.
specifies options using one or more name-value pair arguments.disparityMap
= disparitySGM(I1
,I2
,Name,Value
)
[1] Hirschmuller, H. "Accurate and Efficient Stereo Processing by Semi-Global Matching and Mutual Information." In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 807-814. San Diego, CA: IEEE, 2005.