Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » OpenCV » Camera Calibration And 3D Reconstruction » cvStereoSGBM

cvStereoSGBM


Module: OpenCV

Computes stereo correspondence using the semi-global block matching algorithm.

Name Type Range Description
inLeft Image
inRight Image
inMinDisparity Integer
inNumDisparities Integer 1 -
inSADWindowSize Integer 1 -
inP1 Integer
inP2 Integer
inDisp12MaxDiff Integer
inPreFilterCap Integer
inUniquenessRatio Integer
inSpeckleWindowSize Integer
inSpeckleRange Integer
inFullDP Bool
outDisp Image

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError inLeft must have UInt8 pixel type in cvStereoSGBM.
DomainError inRight and inLeft must have this same sizes in cvStereoSGBM.
DomainError inRight must have UInt8 pixel type in cvStereoSGBM.

Complexity Level

This filter is available on Basic Complexity Level.