CvStereoBMState Constructor (StereoBMPreset, Int32) OpenCvSharp Class Library
Creates block matching stereo correspondence structure (CreateStereoBMState)

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

public CvStereoBMState(
	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.
See Also

Reference