Computes the ideal point coordinates from the observed point coordinates
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void UndistortPoints( CvMat src, CvMat dst, CvMat cameraMatrix, CvMat distCoeffs, CvMat R, CvMat P )
Parameters
- src
- Type: OpenCvSharpCvMat
The observed point coordinates. - dst
- Type: OpenCvSharpCvMat
The ideal point coordinates, after undistortion and reverse perspective transformation. - cameraMatrix
- Type: OpenCvSharpCvMat
The camera matrix A=[fx 0 cx; 0 fy cy; 0 0 1]. - distCoeffs
- Type: OpenCvSharpCvMat
The vector of distortion coefficients, 4x1, 1x4, 5x1 or 1x5. - R
- Type: OpenCvSharpCvMat
The rectification transformation in object space (3x3 matrix). R1 or R2, computed by cvStereoRectify can be passed here. If the parameter is null, the identity matrix is used. - P
- Type: OpenCvSharpCvMat
The new camera matrix (3x3) or the new projection matrix (3x4). P1 or P2, computed by cvStereoRectify can be passed here. If the parameter is null, the identity matrix is used.
See Also