Lines Matching refs:sourceImage
375 void initFaceDetectionImages(IplImage *sourceImage, double scale = 1.0) { in initFaceDetectionImages() argument
377 m_grayImage = cvCreateImage(cvGetSize(sourceImage), IPL_DEPTH_8U, 1); in initFaceDetectionImages()
381 m_smallImage = cvCreateImage(cvSize(cvRound(sourceImage->width / scale), in initFaceDetectionImages()
382 cvRound(sourceImage->height / scale)), IPL_DEPTH_8U, 1); in initFaceDetectionImages()
390 cvSetImageROI(sourceImage, tPrev); in initFaceDetectionImages()
397 cvCvtColor(sourceImage, m_grayImage, CV_BGR2GRAY); in initFaceDetectionImages()
402 cvResetImageROI(sourceImage); in initFaceDetectionImages()
613 void highlightFace(IplImage *sourceImage, CvRect *face, double scale = 1.0) { in highlightFace() argument
623 cvRectangle(sourceImage, pt1, pt2, CV_RGB(255, 0, 0), 3, 8, 0); in highlightFace()
629 bool highlightFaces(IplImage *sourceImage, CvSeq *faces, double scale = 1.0) { in highlightFaces() argument
639 highlightFace(sourceImage, face, scale); in highlightFaces()