Searched refs:gray_img (Results 1 – 1 of 1) sorted by relevance
84 IplImage *gray_img = NULL; // temporary image for color conversion in cv3dTrackerCalibrateCameras() local144 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()