Home
last modified time | relevance | path

Searched refs:gray_img (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/photo/src/
Dtonemap.cpp128 Mat gray_img; in process() local
129 cvtColor(img, gray_img, COLOR_RGB2GRAY); in process()
131 log_(gray_img, log_img); in process()
133 gray_img /= mean; in process()
137 minMaxLoc(gray_img, NULL, &max); in process()
140 log(gray_img + 1.0f, map); in process()
142 pow(gray_img / static_cast<float>(max), logf(bias) / logf(0.5f), div); in process()
147 mapLuminance(img, img, gray_img, map, saturation); in process()
211 Mat gray_img; in process() local
212 cvtColor(img, gray_img, COLOR_RGB2GRAY); in process()
[all …]
/external/opencv/cvaux/src/
Dcv3dtracker.cpp84 IplImage *gray_img = NULL; // temporary image for color conversion in cv3dTrackerCalibrateCameras() local
144 if (gray_img == NULL || gray_img->width != samples[c]->width || in cv3dTrackerCalibrateCameras()
145 gray_img->height != samples[c]->height ) in cv3dTrackerCalibrateCameras()
147 if (gray_img != NULL) in cv3dTrackerCalibrateCameras()
148 cvReleaseImage(&gray_img); in cv3dTrackerCalibrateCameras()
149 CV_CALL(gray_img = cvCreateImage(image_size, IPL_DEPTH_8U, 1)); in cv3dTrackerCalibrateCameras()
152 CV_CALL(cvCvtColor(samples[c], gray_img, CV_BGR2GRAY)); in cv3dTrackerCalibrateCameras()
154 img = gray_img; in cv3dTrackerCalibrateCameras()
300 cvReleaseImage(&gray_img); in cv3dTrackerCalibrateCameras()