Click or drag to resize

CvInvokeCompute Method

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)
Syntax
public static void Compute(
	this IStereoMatcher matcher,
	IInputArray left,
	IInputArray right,
	IOutputArray disparity
)

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