8.4.2.33. posit
(packages/opencv/posit.lsh)


dummy function that adds OpenCV C header files in C file

8.4.2.33.0. (cvCreatePOSITObject points npoints)
(packages/opencv/posit.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:       cvCreatePOSITObject
 //    Purpose:    Allocate and Initialize CvPOSITObject structure
 //                before process cvPOSIT
 //    Context:
 //    Parameters:
 //                  points - pointer to source object points given in
 //                           object related coordinate system
 //                  numPoints - number of object points
 //                  ppObject - address of pointer to CvPOSITObject(returned)
 //    Returns:
 //    Notes:
 //F*/
 typedef struct CvPOSITObject CvPOSITObject;
 OPENCVAPI  CvPOSITObject*  cvCreatePOSITObject( CvPoint3D32f* points, int numPoints );


8.4.2.33.1. (cvPOSIT pobject imagepoints focallength criteria rotation translation)
(packages/opencv/posit.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:       cvPOSIT
 //    Purpose:    performs POSIT algorithm
 //
 //    Context:
 //    Parameters:
 //                  pObject - pointer to CvPOSITObject filled with prev. function
 //                  imagePoints - pointer to source object image points given in
 //                                camera related coordinate system
 //                  focalLength - focal length of camera
 //                  criteria - stop criteria.
 //                  rotation - rotation matrix
 //                  translation - translation vector(from camera to
 //                                first point of object )
 //    Returns:
 //    Notes:
 //F*/
 OPENCVAPI  void  cvPOSIT(  CvPOSITObject* pObject, CvPoint2D32f* imagePoints,
                            double focalLength, CvTermCriteria criteria,
                            CvMatr32f rotation, CvVect32f translation);


8.4.2.33.2. (cvReleasePOSITObject ppobject)
(packages/opencv/posit.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:       cvReleasePOSITObject
 //    Purpose:    free CvPOSITObject structure
 //    Context:
 //    Parameters:
 //      ppObject - address of pointer to CvPOSITObject
 //    Returns:
 //    Notes:
 //F*/
 OPENCVAPI  void  cvReleasePOSITObject( CvPOSITObject**  ppObject );