Click or drag to resize

Cv2StereoRectifyUncalibrated Method (InputArray, InputArray, InputArray, Size, OutputArray, OutputArray, Double)

computes the rectification transformation for an uncalibrated stereo camera (zero distortion is assumed)

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static bool StereoRectifyUncalibrated(
	InputArray points1,
	InputArray points2,
	InputArray F,
	Size imgSize,
	OutputArray H1,
	OutputArray H2,
	double threshold = 5
)

Parameters

points1
Type: OpenCvSharpInputArray
Array of feature points in the first image.
points2
Type: OpenCvSharpInputArray
The corresponding points in the second image. The same formats as in findFundamentalMat() are supported.
F
Type: OpenCvSharpInputArray
Input fundamental matrix. It can be computed from the same set of point pairs using findFundamentalMat() .
imgSize
Type: OpenCvSharpSize
Size of the image.
H1
Type: OpenCvSharpOutputArray
Output rectification homography matrix for the first image.
H2
Type: OpenCvSharpOutputArray
Output rectification homography matrix for the second image.
threshold (Optional)
Type: SystemDouble
Optional threshold used to filter out the outliers. If the parameter is greater than zero, all the point pairs that do not comply with the epipolar geometry (that is, the points for which |points2[i]^T * F * points1[i]| > threshold ) are rejected prior to computing the homographies. Otherwise, all the points are considered inliers.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.StereoRectifyUncalibrated(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Size,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray,System.Double)"]

See Also