Allocates memory for the object structure and computes the object inverse matrix.

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


public static IntPtr cvCreatePOSITObject(
	float[,] points3D,
	int pointCount
Visual Basic
Public Shared Function cvCreatePOSITObject ( 
	points3D As Single(,),
	pointCount As Integer
) As IntPtr
Visual C++
static IntPtr cvCreatePOSITObject(
	array<float,2>^ points3D, 
	int pointCount
static member cvCreatePOSITObject : 
        points3D : float32[,] * 
        pointCount : int -> IntPtr 


Type: array<System..::..Single,2>[,](,)[,][,]
A two dimensional array contains the points of the 3D object model, the second dimension must be 3.
Type: System..::..Int32
Number of object points

Return Value

Type: IntPtr
A pointer to the CvPOSITObject


The preprocessed object data is stored in the structure CvPOSITObject, internal for OpenCV, which means that the user cannot directly access the structure data. The user may only create this structure and pass its pointer to the function. Object is defined as a set of points given in a coordinate system. The function cvPOSIT computes a vector that begins at a camera-related coordinate system center and ends at the points[0] of the object. Once the work with a given object is finished, the function cvReleasePOSITObject must be called to free memory

See Also