Implements POSIT algorithm. Image coordinates are given in a camera-related coordinate system. The focal length may be retrieved using camera calibration functions. At every iteration of the algorithm new perspective projection of estimated pose is computed.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvPOSIT(
	IntPtr positObject,
	IntPtr imagePoints,
	double focalLength,
	MCvTermCriteria criteria,
	IntPtr rotationMatrix,
	IntPtr translationVector
)
Public Shared Sub cvPOSIT ( _
	positObject As IntPtr, _
	imagePoints As IntPtr, _
	focalLength As Double, _
	criteria As MCvTermCriteria, _
	rotationMatrix As IntPtr, _
	translationVector As IntPtr _
)
public:
static void cvPOSIT(
	IntPtr positObject, 
	IntPtr imagePoints, 
	double focalLength, 
	MCvTermCriteria criteria, 
	IntPtr rotationMatrix, 
	IntPtr translationVector
)

Parameters

positObject
IntPtr
Pointer to the object structure
imagePoints
IntPtr
2D array to the object points projections on the 2D image plane, the second dimension must be 2.
focalLength
Double
Focal length of the camera used
criteria
MCvTermCriteria
Termination criteria of the iterative POSIT algorithm. The parameter criteria.epsilon serves to stop the algorithm if the difference is small.
rotationMatrix
IntPtr
A vector which contains the 9 elements of the 3x3 rotation matrix
translationVector
IntPtr
Translation vector (3x1)

Remarks

Difference norm between two projections is the maximal distance between corresponding points.

See Also