Home | History | Annotate | Download | only in src

Lines Matching refs:pObject

70     CvPOSITObject *pObject;
81 pObject = (CvPOSITObject *) cvAlloc( sizeof( CvPOSITObject ) +
84 if( !pObject )
88 pObject->N = N;
89 pObject->inv_matr = (float *) ((char *) pObject + sizeof( CvPOSITObject ));
90 pObject->obj_vecs = (float *) ((char *) (pObject->inv_matr) + inv_matr_size);
91 pObject->img_vecs = (float *) ((char *) (pObject->obj_vecs) + obj_vec_size);
98 pObject->obj_vecs[i] = points[i + 1].x - points[0].x;
99 pObject->obj_vecs[N + i] = points[i + 1].y - points[0].y;
100 pObject->obj_vecs[2 * N + i] = points[i + 1].z - points[0].z;
105 icvPseudoInverse3D( pObject->obj_vecs, pObject->inv_matr, N, 0 );
107 *ppObject = pObject;
112 static CvStatus icvPOSIT( CvPOSITObject *pObject, CvPoint2D32f *imagePoints,
123 int N = pObject->N;
124 float *objectVectors = pObject->obj_vecs;
125 float *invMatrix = pObject->inv_matr;
126 float *imgVectors = pObject->img_vecs;
131 if( pObject == NULL )
337 CvPOSITObject *pObject = 0;
343 IPPI_CALL( icvCreatePOSITObject( points, numPoints, &pObject ));
347 return pObject;
352 cvPOSIT( CvPOSITObject * pObject, CvPoint2D32f * imagePoints,
360 IPPI_CALL( icvPOSIT( pObject, imagePoints,(float) focalLength, criteria,