CvFindStereoCorrespondenceGC Method (CvArr, CvArr, CvArr, CvArr, CvStereoGCState, Boolean) OpenCvSharp Class Library
Computes the disparity map using graph cut-based algorithm

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void FindStereoCorrespondenceGC(
	CvArr left,
	CvArr right,
	CvArr dispLeft,
	CvArr dispRight,
	CvStereoGCState state,
	bool useDisparityGuess
)

Parameters

left
Type: OpenCvSharpCvArr
The left single-channel, 8-bit image.
right
Type: OpenCvSharpCvArr
The right image of the same size and the same type.
dispLeft
Type: OpenCvSharpCvArr
The optional output single-channel 16-bit signed left disparity map of the same size as input images.
dispRight
Type: OpenCvSharpCvArr
The optional output single-channel 16-bit signed right disparity map of the same size as input images.
state
Type: OpenCvSharpCvStereoGCState
Stereo correspondence structure.
useDisparityGuess
Type: SystemBoolean
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

Reference