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


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