Click or drag to resize

Cv2ValidateDisparity Method

validates disparity using the left-right check. The matrix "cost" should be computed by the stereo correspondence algorithm

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static void ValidateDisparity(
	InputOutputArray disparity,
	InputArray cost,
	int minDisparity,
	int numberOfDisparities,
	int disp12MaxDisp = 1
)

Parameters

disparity
Type: OpenCvSharpInputOutputArray
cost
Type: OpenCvSharpInputArray
minDisparity
Type: SystemInt32
numberOfDisparities
Type: SystemInt32
disp12MaxDisp (Optional)
Type: SystemInt32
See Also