Computes disparity maps for the input rectified stereo pair

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvFindStereoCorrespondenceGC(
	IntPtr left,
	IntPtr right,
	IntPtr dispLeft,
	IntPtr dispRight,
	IntPtr state,
	int useDisparityGuess
)
Public Shared Sub cvFindStereoCorrespondenceGC ( _
	left As IntPtr, _
	right As IntPtr, _
	dispLeft As IntPtr, _
	dispRight As IntPtr, _
	state As IntPtr, _
	useDisparityGuess As Integer _
)
public:
static void cvFindStereoCorrespondenceGC(
	IntPtr left, 
	IntPtr right, 
	IntPtr dispLeft, 
	IntPtr dispRight, 
	IntPtr state, 
	int useDisparityGuess
)

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
IntPtr
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)

See Also