Lines Matching refs:nLayers
222 void FindRects(IplImage* img, IplImage* thresh, int nLayers, int dMinSize);
224 void FindContours(IplImage* img, IplImage* thresh, int nLayers, int dMinSize);
234 void CvFaceElement::FindRects(IplImage* img, IplImage* thresh, int nLayers, int dMinSize)
236 FindContours(img, thresh, nLayers, dMinSize / 4);
263 }// void CvFaceElement::FindRects(IplImage* img, IplImage* thresh, int nLayers, int dMinSize)
265 void CvFaceElement::FindContours(IplImage* img, IplImage* thresh, int nLayers, int dMinSize)
276 ThresholdingParam(img, nLayers / 2, iMinLevel, iMaxLevel, step, power, 4);
281 iMinLevelPrev = m_trPrev.iColor - nLayers / 2;
282 iMaxLevelPrev = m_trPrev.iColor + nLayers / 2;
296 int n = nLayers;
301 for (level = (float)iMinLevel; level < iMinLevelPrev && j < nLayers; level += step, j++)
303 for (level = (float)iMinLevelPrev; level < iMaxLevelPrev && j < nLayers; level += 2.0, j++)
305 for (level = (float)iMaxLevelPrev; level < iMaxLevel && j < nLayers; level += step, j++)
308 for (int i = 0; i < nLayers; i++)
341 }//void CvFaceElement::FindContours(IplImage* img, IplImage* thresh, int nLayers)