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: 1.0.0
Syntax
public static void ValidateDisparity(
	InputOutputArray disparity,
	InputArray cost,
	int minDisparity,
	int numberOfDisparities,
	int disp12MaxDisp = 1
)

Parameters

disparity
Type: OpenCvSharpInputOutputArray

[Missing <param name="disparity"/> documentation for "M:OpenCvSharp.Cv2.ValidateDisparity(OpenCvSharp.InputOutputArray,OpenCvSharp.InputArray,System.Int32,System.Int32,System.Int32)"]

cost
Type: OpenCvSharpInputArray

[Missing <param name="cost"/> documentation for "M:OpenCvSharp.Cv2.ValidateDisparity(OpenCvSharp.InputOutputArray,OpenCvSharp.InputArray,System.Int32,System.Int32,System.Int32)"]

minDisparity
Type: SystemInt32

[Missing <param name="minDisparity"/> documentation for "M:OpenCvSharp.Cv2.ValidateDisparity(OpenCvSharp.InputOutputArray,OpenCvSharp.InputArray,System.Int32,System.Int32,System.Int32)"]

numberOfDisparities
Type: SystemInt32

[Missing <param name="numberOfDisparities"/> documentation for "M:OpenCvSharp.Cv2.ValidateDisparity(OpenCvSharp.InputOutputArray,OpenCvSharp.InputArray,System.Int32,System.Int32,System.Int32)"]

disp12MaxDisp (Optional)
Type: SystemInt32

[Missing <param name="disp12MaxDisp"/> documentation for "M:OpenCvSharp.Cv2.ValidateDisparity(OpenCvSharp.InputOutputArray,OpenCvSharp.InputArray,System.Int32,System.Int32,System.Int32)"]

See Also