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

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

public void FindStereoCorrespondence(
	CvArr left,
	CvArr right,
	CvArr dispLeft,
	CvArr dispRight,
	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.
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