Computes projections of 3D points to the image plane given intrinsic and extrinsic camera parameters.
Optionally, the function computes jacobians - matrices of partial derivatives of image points as functions of all the input parameters w.r.t. the particular parameters, intrinsic and/or extrinsic.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void ProjectPoints2( CvMat objectPoints, CvMat rotationVector, CvMat translationVector, CvMat intrinsicMatrix, CvMat distortionCoeffs, CvMat imagePoints )
Parameters
- objectPoints
- Type: OpenCvSharpCvMat
The array of object points, 3xN or Nx3, where N is the number of points in the view. - rotationVector
- Type: OpenCvSharpCvMat
The rotation vector, 1x3 or 3x1. - translationVector
- Type: OpenCvSharpCvMat
The translation vector, 1x3 or 3x1. - intrinsicMatrix
- Type: OpenCvSharpCvMat
The camera matrix (A) [fx 0 cx; 0 fy cy; 0 0 1]. - distortionCoeffs
- Type: OpenCvSharpCvMat
The vector of distortion coefficients, 4x1 or 1x4 [k1, k2, p1, p2]. If it is null, all distortion coefficients are considered 0's. - imagePoints
- Type: OpenCvSharpCvMat
The output array of image points, 2xN or Nx2, where N is the total number of points in the view.
Remarks
See Also