CvProjectPoints2 Method (CvMat, CvMat, CvMat, CvMat, CvMat, CvMat, CvMat, CvMat, CvMat, CvMat, CvMat) OpenCvSharp Class Library
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,
	CvMat dpdrot,
	CvMat dpdt,
	CvMat dpdf,
	CvMat dpdc,
	CvMat dpddist
)

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.
dpdrot
Type: OpenCvSharpCvMat
Optional Nx3 matrix of derivatives of image points with respect to components of the rotation vector.
dpdt
Type: OpenCvSharpCvMat
Optional Nx3 matrix of derivatives of image points w.r.t. components of the translation vector.
dpdf
Type: OpenCvSharpCvMat
Optional Nx2 matrix of derivatives of image points w.r.t. fx and fy.
dpdc
Type: OpenCvSharpCvMat
Optional Nx2 matrix of derivatives of image points w.r.t. cx and cy.
dpddist
Type: OpenCvSharpCvMat
Optional Nx4 matrix of derivatives of image points w.r.t. distortion coefficients.
Remarks

Note, that with intrinsic and/or extrinsic parameters set to special values, the function can be used to compute just extrinsic transformation or just intrinsic transformation (i.e. distortion of a sparse set of points).
See Also

Reference