Computes rectification transform for stereo camera
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void StereoRectify( CvMat cameraMatrix1, CvMat cameraMatrix2, CvMat distCoeffs1, CvMat distCoeffs2, CvSize imageSize, CvMat R, CvMat T, CvMat R1, CvMat R2, CvMat P1, CvMat P2, CvMat Q, StereoRectificationFlag flags, double alpha, CvSize newImageSize )
Parameters
- cameraMatrix1
- Type: OpenCvSharpCvMat
The camera matrix [fxk 0 cxk; 0 fyk cyk; 0 0 1]. - cameraMatrix2
- Type: OpenCvSharpCvMat
The camera matrix [fxk 0 cxk; 0 fyk cyk; 0 0 1]. - distCoeffs1
- Type: OpenCvSharpCvMat
The vector of distortion coefficients for camera1, 4x1, 1x4, 5x1 or 1x5. - distCoeffs2
- Type: OpenCvSharpCvMat
The vector of distortion coefficients for camera2, 4x1, 1x4, 5x1 or 1x5. - imageSize
- Type: OpenCvSharpCvSize
Size of the image used for stereo calibration. - R
- Type: OpenCvSharpCvMat
The rotation matrix between the 1st and the 2nd cameras' coordinate systems - T
- Type: OpenCvSharpCvMat
The translation vector between the cameras' coordinate systems. - R1
- Type: OpenCvSharpCvMat
3x3 Rectification transforms (rotation matrices) for the first and the second cameras, respectively - R2
- Type: OpenCvSharpCvMat
3x3 Rectification transforms (rotation matrices) for the first and the second cameras, respectively - P1
- Type: OpenCvSharpCvMat
3x4 Projection matrices in the new (rectified) coordinate systems - P2
- Type: OpenCvSharpCvMat
3x4 Projection matrices in the new (rectified) coordinate systems - Q
- Type: OpenCvSharpCvMat
The optional output disparity-to-depth mapping matrix, 4x4 - flags
- Type: OpenCvSharpStereoRectificationFlag
The operation flags - alpha
- Type: SystemDouble
[Missing <param name="alpha"/> documentation for "M:OpenCvSharp.Cv.StereoRectify(OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvSize,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.StereoRectificationFlag,System.Double,OpenCvSharp.CvSize)"]
- newImageSize
- Type: OpenCvSharpCvSize
[Missing <param name="newImageSize"/> documentation for "M:OpenCvSharp.Cv.StereoRectify(OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvSize,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.StereoRectificationFlag,System.Double,OpenCvSharp.CvSize)"]
See Also