Click or drag to resize

Cv2GetValidDisparityROI Method

computes valid disparity ROI from the valid ROIs of the rectified images (that are returned by cv::stereoRectify())

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Rect GetValidDisparityROI(
	Rect roi1,
	Rect roi2,
	int minDisparity,
	int numberOfDisparities,
	int SADWindowSize
)

Parameters

roi1
Type: OpenCvSharpRect

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

roi2
Type: OpenCvSharpRect

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

minDisparity
Type: SystemInt32

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

numberOfDisparities
Type: SystemInt32

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

SADWindowSize
Type: SystemInt32

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

Return Value

Type: Rect

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

See Also