Computes rectification transform for uncalibrated stereo camera
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static int StereoRectifyUncalibrated( CvMat points1, CvMat points2, CvMat F, CvSize imgSize, CvMat H1, CvMat H2, double threshold )
Parameters
- points1
- Type: OpenCvSharpCvMat
The 2 arrays of corresponding 2D points. - points2
- Type: OpenCvSharpCvMat
The 2 arrays of corresponding 2D points. - F
- Type: OpenCvSharpCvMat
Fundamental matrix. It can be computed using the same set of point pairs points1 and points2 using cvFindFundamentalMat - imgSize
- Type: OpenCvSharpCvSize
Size of the image. - H1
- Type: OpenCvSharpCvMat
The rectification homography matrices for the first and for the second images. - H2
- Type: OpenCvSharpCvMat
The rectification homography matrices for the first and for the second images. - threshold
- Type: SystemDouble
Optional threshold used to filter out the outliers. If the parameter is greater than zero, then all the point pairs that do not comply the epipolar geometry well enough (that is, the points for which fabs(points2[i]T*F*points1[i])>threshold) are rejected prior to computing the homographies.
Return Value
Type: Int32[Missing <returns> documentation for "M:OpenCvSharp.Cv.StereoRectifyUncalibrated(OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvSize,OpenCvSharp.CvMat,OpenCvSharp.CvMat,System.Double)"]
See Also