Computes disparity maps for the input rectified stereo pair
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- left
- IntPtr
The left single-channel, 8-bit image
- right
- IntPtr
The right image of the same size and the same type
- dispLeft
- IntPtr
The optional output single-channel 16-bit signed left disparity map of the same size as input images.
- dispRight
- IntPtr
The optional output single-channel 16-bit signed right disparity map of the same size as input images
- state
- MCvStereoGCState%
Stereo correspondence structure
- useDisparityGuess
- Int32
If the parameter is not zero, the algorithm will start with pre-defined disparity maps. Both dispLeft and dispRight should be valid disparity maps. Otherwise, the function starts with blank disparity maps (all pixels are marked as occlusions)