Allocates memory for the object structure and computes the object inverse matrix.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- points3D
- array<Single,2>[,](,)[,][,]
A two dimensional array contains the points of the 3D object model, the second dimension must be 3.
- pointCount
- Int32
Number of object points
Return Value
A pointer to the CvPOSITObject
Remarks
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