Click or drag to resize

StereoMatcherCompute Method

Computes disparity map for the specified stereo pair

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public virtual void Compute(
	InputArray left,
	InputArray right,
	OutputArray disparity
)

Parameters

left
Type: OpenCvSharpInputArray
Left 8-bit single-channel image.
right
Type: OpenCvSharpInputArray
Right image of the same size and the same type as the left one.
disparity
Type: OpenCvSharpOutputArray
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.
See Also