Lines Matching refs:imgGray
94 void FaceDetection::FindContours(IplImage* imgGray) in FindContours() argument
96 ReallocImage(&m_imgThresh, cvGetSize(imgGray), 1); in FindContours()
102 ThresholdingParam(imgGray, iNumLayers, iMinLevel, iMaxLevel, iStep); in FindContours()
120 cvThreshold(imgGray, m_imgThresh, (double)l, (double)255, CV_THRESH_BINARY); in FindContours()
132 void FaceDetection::ThresholdingParam(IplImage *imgGray, int iNumLayers, int &iMinLevel, int &iMaxL… in ThresholdingParam() argument
134 assert(imgGray != NULL); in ThresholdingParam()
135 assert(imgGray->nChannels == 1); in ThresholdingParam()
138 uchar* buffImg = (uchar*)imgGray->imageData; in ThresholdingParam()
141 for (j = 0; j < imgGray->height; j ++) in ThresholdingParam()
143 for (i = 0; i < imgGray->width; i ++) in ThresholdingParam()
148 buffImg += imgGray->widthStep; in ThresholdingParam()