Creates the stereo correspondence structure and initializes it. It is possible to override any of the parameters at any time between the calls to cvFindStereoCorrespondenceBM

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

Parameters

type
STEREO_BM_TYPE
ID of one of the pre-defined parameter sets. Any of the parameters can be overridden after creating the structure.
numberOfDisparities
Int32
The number of disparities. If the parameter is 0, it is taken from the preset, otherwise the supplied value overrides the one from preset.

Return Value

Pointer to the stereo correspondece structure

See Also