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.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function cvCreateStereoBMState ( _
type As STEREO_BM_TYPE, _
numberOfDisparities As Integer _
) As IntPtr |
Parameters
- type
- Type: Emgu.CV.CvEnum..::.STEREO_BM_TYPE
ID of one of the pre-defined parameter sets. Any of the parameters can be overridden after creating the structure.
- numberOfDisparities
- Type: System..::.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