Create a stereoBMState

C# | Visual Basic | Visual C++ |
public StereoBM( STEREO_BM_TYPE type, int numberOfDisparities )
Public Sub New ( _ type As STEREO_BM_TYPE, _ numberOfDisparities As Integer _ )
public: StereoBM( STEREO_BM_TYPE type, int numberOfDisparities )

- 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.