computes the rectification transformation for an uncalibrated stereo camera (zero distortion is assumed)
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.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: OpenCvSharp.CPlusPlusInputArray
Array of feature points in the first image. - points2
- Type: OpenCvSharp.CPlusPlusInputArray
The corresponding points in the second image. The same formats as in findFundamentalMat() are supported. - F
- Type: OpenCvSharp.CPlusPlusInputArray
Input fundamental matrix. It can be computed from the same set of point pairs using findFundamentalMat() . - imgSize
- Type: OpenCvSharp.CPlusPlusSize
Size of the image. - H1
- Type: OpenCvSharp.CPlusPlusOutputArray
Output rectification homography matrix for the first image. - H2
- Type: OpenCvSharp.CPlusPlusOutputArray
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.CPlusPlus.Cv2.StereoRectifyUncalibrated(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.Size,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Double)"]
See Also