http://www.emgu.com
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. The jacobians are used during the global optimization in cvCalibrateCamera2 and cvFindExtrinsicCameraParams2. The function itself is also used to compute back-projection error for with current intrinsic and extrinsic parameters. 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).

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvProjectPoints2(
	IntPtr objectPoints,
	IntPtr rotationVector,
	IntPtr translationVector,
	IntPtr intrinsicMatrix,
	IntPtr distortionCoeffs,
	IntPtr imagePoints,
	IntPtr dpdrot,
	IntPtr dpdt,
	IntPtr dpdf,
	IntPtr dpdc,
	IntPtr dpddist,
	double aspectRatio
)
Visual Basic
Public Shared Sub cvProjectPoints2 ( 
	objectPoints As IntPtr,
	rotationVector As IntPtr,
	translationVector As IntPtr,
	intrinsicMatrix As IntPtr,
	distortionCoeffs As IntPtr,
	imagePoints As IntPtr,
	dpdrot As IntPtr,
	dpdt As IntPtr,
	dpdf As IntPtr,
	dpdc As IntPtr,
	dpddist As IntPtr,
	aspectRatio As Double
)
Visual C++
public:
static void cvProjectPoints2(
	IntPtr objectPoints, 
	IntPtr rotationVector, 
	IntPtr translationVector, 
	IntPtr intrinsicMatrix, 
	IntPtr distortionCoeffs, 
	IntPtr imagePoints, 
	IntPtr dpdrot, 
	IntPtr dpdt, 
	IntPtr dpdf, 
	IntPtr dpdc, 
	IntPtr dpddist, 
	double aspectRatio
)
F#
static member cvProjectPoints2 : 
        objectPoints : IntPtr * 
        rotationVector : IntPtr * 
        translationVector : IntPtr * 
        intrinsicMatrix : IntPtr * 
        distortionCoeffs : IntPtr * 
        imagePoints : IntPtr * 
        dpdrot : IntPtr * 
        dpdt : IntPtr * 
        dpdf : IntPtr * 
        dpdc : IntPtr * 
        dpddist : IntPtr * 
        aspectRatio : float -> unit 

Parameters

objectPoints
Type: System..::..IntPtr
The array of object points, 3xN or Nx3, where N is the number of points in the view
rotationVector
Type: System..::..IntPtr
The rotation vector, 1x3 or 3x1
translationVector
Type: System..::..IntPtr
The translation vector, 1x3 or 3x1
intrinsicMatrix
Type: System..::..IntPtr
The camera matrix (A) [fx 0 cx; 0 fy cy; 0 0 1].
distortionCoeffs
Type: System..::..IntPtr
The vector of distortion coefficients, 4x1 or 1x4 [k1, k2, p1, p2]. If it is IntPtr.Zero, all distortion coefficients are considered 0's
imagePoints
Type: System..::..IntPtr
The output array of image points, 2xN or Nx2, where N is the total number of points in the view
dpdrot
Type: System..::..IntPtr
Optional Nx3 matrix of derivatives of image points with respect to components of the rotation vector
dpdt
Type: System..::..IntPtr
Optional Nx3 matrix of derivatives of image points w.r.t. components of the translation vector
dpdf
Type: System..::..IntPtr
Optional Nx2 matrix of derivatives of image points w.r.t. fx and fy
dpdc
Type: System..::..IntPtr
Optional Nx2 matrix of derivatives of image points w.r.t. cx and cy
dpddist
Type: System..::..IntPtr
Optional Nx4 matrix of derivatives of image points w.r.t. distortion coefficients
aspectRatio
Type: System..::..Double
Aspect ratio

See Also