CvStereoGCState Constructor (Int32, Int32) OpenCvSharp Class Library
Creates the state of graph cut-based stereo correspondence algorithm (cvCreateStereoGCState)

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

public CvStereoGCState(
	int numberOfDisparities,
	int maxIters
)

Parameters

numberOfDisparities
Type: SystemInt32
The number of disparities. The disparity search range will be state->minDisparity ≤ disparity < state->minDisparity + state->numberOfDisparities
maxIters
Type: SystemInt32
Maximum number of iterations. On each iteration all possible (or reasonable) alpha-expansions are tried. The algorithm may terminate earlier if it could not find an alpha-expansion that decreases the overall cost function value.
See Also

Reference