Cv2GetValidDisparityROI Method OpenCvSharp Class Library
computes valid disparity ROI from the valid ROIs of the rectified images (that are returned by cv::stereoRectify())

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Rect GetValidDisparityROI(
	Rect roi1,
	Rect roi2,
	int minDisparity,
	int numberOfDisparities,
	int SADWindowSize
)

Parameters

roi1
Type: OpenCvSharp.CPlusPlusRect

[Missing <param name="roi1"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetValidDisparityROI(OpenCvSharp.CPlusPlus.Rect,OpenCvSharp.CPlusPlus.Rect,System.Int32,System.Int32,System.Int32)"]

roi2
Type: OpenCvSharp.CPlusPlusRect

[Missing <param name="roi2"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetValidDisparityROI(OpenCvSharp.CPlusPlus.Rect,OpenCvSharp.CPlusPlus.Rect,System.Int32,System.Int32,System.Int32)"]

minDisparity
Type: SystemInt32

[Missing <param name="minDisparity"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetValidDisparityROI(OpenCvSharp.CPlusPlus.Rect,OpenCvSharp.CPlusPlus.Rect,System.Int32,System.Int32,System.Int32)"]

numberOfDisparities
Type: SystemInt32

[Missing <param name="numberOfDisparities"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetValidDisparityROI(OpenCvSharp.CPlusPlus.Rect,OpenCvSharp.CPlusPlus.Rect,System.Int32,System.Int32,System.Int32)"]

SADWindowSize
Type: SystemInt32

[Missing <param name="SADWindowSize"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetValidDisparityROI(OpenCvSharp.CPlusPlus.Rect,OpenCvSharp.CPlusPlus.Rect,System.Int32,System.Int32,System.Int32)"]

Return Value

Type: Rect

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetValidDisparityROI(OpenCvSharp.CPlusPlus.Rect,OpenCvSharp.CPlusPlus.Rect,System.Int32,System.Int32,System.Int32)"]

See Also

Reference