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 void UndistortPoints( CvMat dst, CvMat cameraMatrix, CvMat distCoeffs, CvMat r, CvMat p )
Parameters
- 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