Home | History | Annotate | Download | only in src

Lines Matching refs:cvRect

136     inline MouthFaceTemplate(long lNumber,CvRect rect,double dEyeWidth,double dEyeHeight,double dDistanceBetweenEye,double dDistanceEyeAboveMouth);
141 inline MouthFaceTemplate::MouthFaceTemplate(long lNumber,CvRect rect,double dEyeWidth,double dEyeHeight,
145 CvRect MouthRect = rect;
148 CvRect LeftEyeRect = cvRect(cvRound(rect.x - (dEyeWidth + dDistanceBetweenEye/(double)2 - (double)rect.width/(double)2)),
153 CvRect RightEyeRect = cvRect(cvRound(rect.x + (double)rect.width/(double)2 + dDistanceBetweenEye/(double)2),
158 // CvRect NoseRect = cvRect(cvRound(rect.x + (double)rect.width/(double)4),
163 CvRect CheenRect = cvRect(rect.x,rect.y + 3*rect.height/2,rect.width,rect.height);
167 CvRect * lpMouthRect = new CvRect();
174 CvRect * lpLeftEyeRect = new CvRect();
180 CvRect * lpRightEyeRect = new CvRect();
187 // CvRect * lpNoseRect = new CvRect();
193 /* CvRect * lpCheenRect = new CvRect();
201 }//constructor MouthFaceTemplate(long lNumFeatures,CvRect rect,double dEyeWidth,double dEyeHeight,double dDistanceBetweenEye,double dDistanceEyeAboveMouth);
211 CvRect r;
275 CvRect LeftEyeRect;
276 CvRect RightEyeRect;
277 CvRect MouthRect;
292 bool isPointInRect(CvPoint p,CvRect rect);
294 void ResizeRect(CvRect Rect,CvRect * lpRect,long lDir,long lD);
378 inline BoostingFaceTemplate(long lNumber,CvRect rect);
383 inline BoostingFaceTemplate::BoostingFaceTemplate(long lNumber,CvRect rect):FaceTemplate(lNumber)
388 CvRect LeftEyeRect = cvRect(rect.x + EyeWidth,rect.y + rect.height/2 - EyeHeight,EyeWidth,EyeHeight);
389 CvRect RightEyeRect = cvRect(rect.x + 3*EyeWidth,rect.y + rect.height/2 - EyeHeight,EyeWidth,EyeHeight);
390 CvRect MouthRect = cvRect(rect.x + 3*EyeWidth/2,rect.y + 3*rect.height/4 - EyeHeight/2,2*EyeWidth,EyeHeight);
392 CvRect * lpMouthRect = new CvRect();
398 CvRect * lpLeftEyeRect = new CvRect();
404 CvRect * lpRightEyeRect = new CvRect();
410 }//inline BoostingFaceTemplate::BoostingFaceTemplate(long lNumber,CvRect rect):FaceTemplate(lNumber)