Lines Matching full:ptcenter
83 CvPoint ptCenter;
146 face[i].ptCenter = Center(face[i].r);
147 ptTempl[i] = face[i].ptCenter;
164 ptRotate = face[MOUTH].ptCenter;
320 cr.ptCenter = Center(cr.r);
330 cr.ptCenter = Center(cr.r);
357 if (abs(pRect1->ptCenter.y - pRect2->ptCenter.y) < d &&
368 rNew.ptCenter = Center(rNew.r);
474 double dx = pFaceTracker->face[LEYE].ptCenter.x - pFaceTracker->face[REYE].ptCenter.x;
475 double dy = pFaceTracker->face[LEYE].ptCenter.y - pFaceTracker->face[REYE].ptCenter.y;
577 double vx_prev = double(pFaceTracker->face[LEYE].ptCenter.x + pFaceTracker->face[REYE].ptCenter.x) / 2.0 - pFaceTracker->face[MOUTH].ptCenter.x;
578 double vy_prev = double(pFaceTracker->face[LEYE].ptCenter.y + pFaceTracker->face[REYE].ptCenter.y) / 2.0 - pFaceTracker->face[MOUTH].ptCenter.y;
585 double vx = double(pFaceTracker->face[LEYE].ptCenter.x + pFaceTracker->face[REYE].ptCenter.x) / 2.0 - pFaceTracker->face[MOUTH].ptCenter.x;
586 double vy = double(pFaceTracker->face[LEYE].ptCenter.y + pFaceTracker->face[REYE].ptCenter.y) / 2.0 - pFaceTracker->face[MOUTH].ptCenter.y;
755 CvPoint prev_v01 = {pTF->face[element[1]].ptCenter.x - pTF->face[element[0]].ptCenter.x, pTF->face[element[1]].ptCenter.y - pTF->face[element[0]].ptCenter.y};
756 CvPoint prev_v02 = {pTF->face[element[2]].ptCenter.x - pTF->face[element[0]].ptCenter.x, pTF->face[element[2]].ptCenter.y - pTF->face[element[0]].ptCenter.y};
757 CvPoint new_v01 = {new_face[element[1]]->ptCenter.x - new_face[element[0]]->ptCenter.x, new_face[element[1]]->ptCenter.y - new_face[element[0]]->ptCenter.y};
779 face[element[2]].ptCenter.x = new_v02.x + new_face[element[0]]->ptCenter.x;
780 face[element[2]].ptCenter.y = new_v02.y + new_face[element[0]]->ptCenter.y;
783 face[element[2]].r.x = face[element[2]].ptCenter.x - (face[element[2]].r.width + 1) / 2;
784 face[element[2]].r.y = face[element[2]].ptCenter.y - (face[element[2]].r.height + 1) / 2;
797 ptNew[i] = ppNew[i]->ptCenter;
798 ptPrev[i] = pPrev[i].ptCenter;
822 CvPoint new_v = {ppNew[element[0]]->ptCenter.x - ppNew[element[1]]->ptCenter.x,
823 ppNew[element[0]]->ptCenter.y - ppNew[element[1]]->ptCenter.y};
824 CvPoint prev_v = {pPrev[element[0]].ptCenter.x - pPrev[element[1]].ptCenter.x,
825 pPrev[element[0]].ptCenter.y - pPrev[element[1]].ptCenter.y};