http://www.emgu.com
Computes disparity map for the specified stereo pair
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void Compute(
this IStereoMatcher matcher,
IInputArray left,
IInputArray right,
IOutputArray disparity
)
<ExtensionAttribute>
Public Shared Sub Compute (
matcher As IStereoMatcher,
left As IInputArray,
right As IInputArray,
disparity As IOutputArray
)
public:
[ExtensionAttribute]
static void Compute(
IStereoMatcher^ matcher,
IInputArray^ left,
IInputArray^ right,
IOutputArray^ disparity
)
[<ExtensionAttribute>]
static member Compute :
matcher : IStereoMatcher *
left : IInputArray *
right : IInputArray *
disparity : IOutputArray -> unit
Parameters
- matcher
- Type: Emgu.CVIStereoMatcher
The stereo matcher - left
- Type: Emgu.CVIInputArray
Left 8-bit single-channel image. - right
- Type: Emgu.CVIInputArray
Right image of the same size and the same type as the left one. - disparity
- Type: Emgu.CVIOutputArray
Output disparity map. It has the same size as the input images. Some algorithms, like StereoBM or StereoSGBM compute 16-bit fixed-point disparity map (where each disparity value has 4 fractional bits), whereas other algorithms output 32-bit floating-point disparity map
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IStereoMatcher. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also