Creates the stereo correspondence state 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 StereoGC(
	int numberOfDisparities,
	int maxIters
)
Public Sub New ( _
	numberOfDisparities As Integer, _
	maxIters As Integer _
)
public:
StereoGC(
	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

See Also