Table of Contents

Class StereoBM

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Semi-Global Stereo Matching

public class StereoBM : StereoMatcher, IDisposable
Inheritance
StereoBM
Implements
Inherited Members

Properties

PreFilterCap

Truncation value for the prefiltered image pixels. The algorithm first computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval. The result values are passed to the Birchfield-Tomasi pixel cost function.

PreFilterSize
PreFilterType
ROI1
ROI2
SmallerBlockSize
TextureThreshold
UniquenessRatio

Margin in percentage by which the best (minimum) computed cost function value should "win" the second best value to consider the found match correct. Normally, a value within the 5-15 range is good enough.

Methods

Create(int, int)

Creates StereoBM object. You can then call Compute() to compute disparity for a specific stereo pair.