Home
last modified time | relevance | path

Searched refs:imgGray (Results 1 – 7 of 7) sorted by relevance

/external/opencv/cvaux/src/
Dcvfacedetection.cpp94 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()
[all …]
Dcvvecfacetracking.cpp67 void ThresholdingParam(IplImage *imgGray, int iNumLayers, int &iMinLevel, int &iMaxLevel, float &st…
118 IplImage* imgGray; member
129 imgGray = NULL; in CvFaceTracker()
134 if (NULL != imgGray) in ~CvFaceTracker()
135 delete imgGray; in ~CvFaceTracker()
141 int Init(CvRect* pRects, IplImage* imgGray) in Init()
150 imgGray = cvCreateImage(cvSize(imgGray->width, imgGray->height), 8, 1); in Init()
151 imgThresh = cvCreateImage(cvSize(imgGray->width, imgGray->height), 8, 1); in Init()
153 if ((NULL == imgGray) || in Init()
162 ReallocImage(&imgGray, sz, 1); in InitNextImage()
[all …]
D_cvfacedetection.h348 void FindContours(IplImage* imgGray);
350 …void ThresholdingParam(IplImage* imgGray, int iNumLayers, int& iMinLevel, int& iMaxLevel, int& iSt…
/external/opencv3/modules/java/android_test/src/org/opencv/test/android/
DUtilsTest.java111 Mat imgGray = new Mat(); in testMatToBitmap() local
112 Imgproc.cvtColor(imgBGR, imgGray, Imgproc.COLOR_BGR2GRAY); in testMatToBitmap()
113 assertTrue(!imgGray.empty() && imgGray.channels() == 1); in testMatToBitmap()
117 Utils.matToBitmap(imgGray, bmp16); Utils.bitmapToMat(bmp16, m16); in testMatToBitmap()
119 maxDiff = Core.norm(imgGray, tmp, Core.NORM_INF); in testMatToBitmap()
124 Utils.matToBitmap(imgGray, bmp32); Utils.bitmapToMat(bmp32, m32); in testMatToBitmap()
127 maxDiff = Core.norm(imgGray, tmp, Core.NORM_INF); in testMatToBitmap()
/external/opencv3/samples/cpp/
Dwatershed.cpp52 Mat img0 = imread(filename, 1), imgGray; in main() local
64 cvtColor(markerMask, imgGray, COLOR_GRAY2BGR); in main()
132 wshed = wshed*0.5 + imgGray*0.5; in main()
Ddetect_mser.cpp218 Mat imgGray; in DrawOpenGLMSER() local
220 cvtColor(img, imgGray, COLOR_BGR2GRAY); in DrawOpenGLMSER()
222 imgGray = img; in DrawOpenGLMSER()
234 …3f >(0, nbPix) = Vec3f(float(2 * (x - 0.5)), float(2 * (0.5 - y)), float(imgGray.at<uchar>(i, j) /… in DrawOpenGLMSER()
/external/opencv/cvaux/include/
Dcvaux.h829 CVAPI(CvFaceTracker*) cvInitFaceTracker(CvFaceTracker* pFaceTracking, const IplImage* imgGray,
831 CVAPI(int) cvTrackFace( CvFaceTracker* pFaceTracker, IplImage* imgGray,