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: 3.4.1.20180605-33-CaRLSharp
Syntax
public static Rect GetValidDisparityROI(
	Rect roi1,
	Rect roi2,
	int minDisparity,
	int numberOfDisparities,
	int SADWindowSize
)

Parameters

roi1
Type: OpenCvSharpRect
roi2
Type: OpenCvSharpRect
minDisparity
Type: SystemInt32
numberOfDisparities
Type: SystemInt32
SADWindowSize
Type: SystemInt32

Return Value

Type: Rect
See Also