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
Input value
inLeft Image
Input value
inRight Image
Input value
inMinDisparity Integer
Input value
inNumDisparities Integer 1 -
Input value
inSADWindowSize Integer 1 -
Input value
inP1 Integer
Input value
inP2 Integer
Input value
inDisp12MaxDiff Integer
Input value
inPreFilterCap Integer
Input value
inUniquenessRatio Integer
Input value
inSpeckleWindowSize Integer
Input value
inSpeckleRange Integer
Input value
inFullDP Bool
Output value
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.