Click or drag to resize
StereoMatcherExtensionsCompute Method
Computes disparity map for the specified stereo pair

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static void Compute(
	this IStereoMatcher matcher,
	IInputArray left,
	IInputArray right,
	IOutputArray disparity


Type: Emgu.CVIStereoMatcher
The stereo matcher
Type: Emgu.CVIInputArray
Left 8-bit single-channel image.
Type: Emgu.CVIInputArray
Right image of the same size and the same type as the left one.
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