CvCreateStereoBMState Method (StereoBMPreset, Int32) OpenCvSharp Class Library
Creates block matching stereo correspondence structure

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

public static CvStereoBMState CreateStereoBMState(
	StereoBMPreset preset,
	int numberOfDisparities
)

Parameters

preset
Type: OpenCvSharpStereoBMPreset
ID of one of the pre-defined parameter sets. Any of the parameters can be overridden after creating the structure.
numberOfDisparities
Type: SystemInt32
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

Type: CvStereoBMState
stereo correspondence structure
See Also

Reference