Creates the stereo correspondence structure and initializes it.

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 IntPtr cvCreateStereoGCState(
	int numberOfDisparities,
	int maxIters
)
Public Shared Function cvCreateStereoGCState ( _
	numberOfDisparities As Integer, _
	maxIters As Integer _
) As IntPtr
public:
static IntPtr cvCreateStereoGCState(
	int numberOfDisparities, 
	int maxIters
)

Parameters

numberOfDisparities
Int32
The number of disparities. The disparity search range will be state.minDisparity <= disparity < state.minDisparity + state.numberOfDisparities
maxIters
Int32
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

Return Value

The initialized stereo correspondence structure

See Also