Home | History | Annotate | Download | only in src

Lines Matching refs:imgGray

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