gray 2794 3rdparty/libpng/png.c sig_bit = png_ptr->sig_bit.gray; gray 574 3rdparty/libpng/png.h png_uint_16 gray; /* for use in grayscale files */ gray 585 3rdparty/libpng/png.h png_byte gray; /* for use in grayscale files */ gray 1201 3rdparty/libpng/pngrtran.c int gray = png_ptr->background.gray; gray 1202 3rdparty/libpng/pngrtran.c int trans_gray = png_ptr->trans_color.gray; gray 1207 3rdparty/libpng/pngrtran.c gray *= 0xff; gray 1212 3rdparty/libpng/pngrtran.c gray *= 0x55; gray 1217 3rdparty/libpng/pngrtran.c gray *= 0x11; gray 1232 3rdparty/libpng/pngrtran.c png_ptr->background.blue = (png_uint_16)gray; gray 1419 3rdparty/libpng/pngrtran.c png_ptr->background.gray = png_ptr->background.red; gray 1463 3rdparty/libpng/pngrtran.c CHOP(png_ptr->background.gray); gray 1486 3rdparty/libpng/pngrtran.c png_ptr->background.gray = (png_uint_16)(png_ptr->background.gray * 257); gray 1706 3rdparty/libpng/pngrtran.c png_ptr->background_1.gray = png_gamma_correct(png_ptr, gray 1707 3rdparty/libpng/pngrtran.c png_ptr->background.gray, g); gray 1710 3rdparty/libpng/pngrtran.c png_ptr->background.gray = png_gamma_correct(png_ptr, gray 1711 3rdparty/libpng/pngrtran.c png_ptr->background.gray, gs); gray 1715 3rdparty/libpng/pngrtran.c (png_ptr->background.red != png_ptr->background.gray)) gray 1747 3rdparty/libpng/pngrtran.c = png_ptr->background_1.blue = png_ptr->background_1.gray; gray 1750 3rdparty/libpng/pngrtran.c = png_ptr->background.blue = png_ptr->background.gray; gray 2502 3rdparty/libpng/pngrtran.c shift[channels++] = bit_depth - sig_bits->gray; gray 3521 3rdparty/libpng/pngrtran.c == png_ptr->trans_color.gray) gray 3524 3rdparty/libpng/pngrtran.c *sp |= (png_byte)(png_ptr->background.gray << shift); gray 3549 3rdparty/libpng/pngrtran.c == png_ptr->trans_color.gray) gray 3552 3rdparty/libpng/pngrtran.c *sp |= (png_byte)(png_ptr->background.gray << shift); gray 3583 3rdparty/libpng/pngrtran.c == png_ptr->trans_color.gray) gray 3586 3rdparty/libpng/pngrtran.c *sp |= (png_byte)(png_ptr->background.gray << shift); gray 3612 3rdparty/libpng/pngrtran.c == png_ptr->trans_color.gray) gray 3615 3rdparty/libpng/pngrtran.c *sp |= (png_byte)(png_ptr->background.gray << shift); gray 3646 3rdparty/libpng/pngrtran.c == png_ptr->trans_color.gray) gray 3649 3rdparty/libpng/pngrtran.c *sp |= (png_byte)(png_ptr->background.gray << shift); gray 3673 3rdparty/libpng/pngrtran.c if (*sp == png_ptr->trans_color.gray) gray 3674 3rdparty/libpng/pngrtran.c *sp = (png_byte)png_ptr->background.gray; gray 3686 3rdparty/libpng/pngrtran.c if (*sp == png_ptr->trans_color.gray) gray 3687 3rdparty/libpng/pngrtran.c *sp = (png_byte)png_ptr->background.gray; gray 3705 3rdparty/libpng/pngrtran.c if (v == png_ptr->trans_color.gray) gray 3708 3rdparty/libpng/pngrtran.c *sp = (png_byte)((png_ptr->background.gray >> 8) & 0xff); gray 3709 3rdparty/libpng/pngrtran.c *(sp + 1) = (png_byte)(png_ptr->background.gray & 0xff); gray 3730 3rdparty/libpng/pngrtran.c if (v == png_ptr->trans_color.gray) gray 3732 3rdparty/libpng/pngrtran.c *sp = (png_byte)((png_ptr->background.gray >> 8) & 0xff); gray 3733 3rdparty/libpng/pngrtran.c *(sp + 1) = (png_byte)(png_ptr->background.gray & 0xff); gray 3886 3rdparty/libpng/pngrtran.c *sp = (png_byte)png_ptr->background.gray; gray 3894 3rdparty/libpng/pngrtran.c png_composite(w, v, a, png_ptr->background_1.gray); gray 3910 3rdparty/libpng/pngrtran.c *sp = (png_byte)png_ptr->background.gray; gray 3913 3rdparty/libpng/pngrtran.c png_composite(*sp, *sp, a, png_ptr->background_1.gray); gray 3941 3rdparty/libpng/pngrtran.c *sp = (png_byte)((png_ptr->background.gray >> 8) & 0xff); gray 3942 3rdparty/libpng/pngrtran.c *(sp + 1) = (png_byte)(png_ptr->background.gray & 0xff); gray 3950 3rdparty/libpng/pngrtran.c png_composite_16(v, g, a, png_ptr->background_1.gray); gray 3971 3rdparty/libpng/pngrtran.c *sp = (png_byte)((png_ptr->background.gray >> 8) & 0xff); gray 3972 3rdparty/libpng/pngrtran.c *(sp + 1) = (png_byte)(png_ptr->background.gray & 0xff); gray 3980 3rdparty/libpng/pngrtran.c png_composite_16(v, g, a, png_ptr->background_1.gray); gray 4632 3rdparty/libpng/pngrtran.c png_uint_16 gray = (png_uint_16)(trans_color ? trans_color->gray : 0); gray 4640 3rdparty/libpng/pngrtran.c gray = (png_uint_16)((gray & 0x01) * 0xff); gray 4668 3rdparty/libpng/pngrtran.c gray = (png_uint_16)((gray & 0x03) * 0x55); gray 4693 3rdparty/libpng/pngrtran.c gray = (png_uint_16)((gray & 0x0f) * 0x11); gray 4728 3rdparty/libpng/pngrtran.c gray = gray & 0xff; gray 4734 3rdparty/libpng/pngrtran.c if (*sp == gray) gray 4746 3rdparty/libpng/pngrtran.c png_byte gray_high = (png_byte)((gray >> 8) & 0xff); gray 4747 3rdparty/libpng/pngrtran.c png_byte gray_low = (png_byte)(gray & 0xff); gray 907 3rdparty/libpng/pngrutil.c png_ptr->sig_bit.gray = buf[0]; gray 1594 3rdparty/libpng/pngrutil.c png_ptr->trans_color.gray = png_get_uint_16(buf); gray 1741 3rdparty/libpng/pngrutil.c background.gray = 0; gray 1750 3rdparty/libpng/pngrutil.c background.gray = png_get_uint_16(buf); gray 1759 3rdparty/libpng/pngrutil.c background.gray = 0; gray 922 3rdparty/libpng/pngset.c (int)trans_color->gray > sample_max) || gray 273 3rdparty/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->gray; gray 274 3rdparty/libpng/pngwtran.c shift_dec[channels] = bit_depth->gray; gray 293 3rdparty/libpng/pngwtran.c if (bit_depth->gray == 1 && row_info->bit_depth == 2) gray 296 3rdparty/libpng/pngwtran.c else if (row_info->bit_depth == 4 && bit_depth->gray == 3) gray 1294 3rdparty/libpng/pngwutil.c if (sbit->gray == 0 || sbit->gray > png_ptr->usr_bit_depth) gray 1300 3rdparty/libpng/pngwutil.c buf[0] = sbit->gray; gray 1379 3rdparty/libpng/pngwutil.c if (tran->gray >= (1 << png_ptr->bit_depth)) gray 1387 3rdparty/libpng/pngwutil.c png_save_uint_16(buf, tran->gray); gray 1466 3rdparty/libpng/pngwutil.c if (back->gray >= (1 << png_ptr->bit_depth)) gray 1474 3rdparty/libpng/pngwutil.c png_save_uint_16(buf, back->gray); gray 540 modules/calib3d/src/calibinit.cpp cv::Ptr<CvMat> gray; gray 543 modules/calib3d/src/calibinit.cpp gray.reset(cvCreateMat(img->rows, img->cols, CV_8UC1)); gray 544 modules/calib3d/src/calibinit.cpp cvCvtColor(img, gray, CV_BGR2GRAY); gray 548 modules/calib3d/src/calibinit.cpp gray.reset(cvCloneMat(img)); gray 551 modules/calib3d/src/calibinit.cpp cvFindCornerSubPix( gray, out_corners, pattern_size.width*pattern_size.height, gray 308 modules/calib3d/test/test_cameracalibration_artificial.cpp Mat gray; gray 309 modules/calib3d/test/test_cameracalibration_artificial.cpp cvtColor(boards[i], gray, COLOR_BGR2GRAY); gray 311 modules/calib3d/test/test_cameracalibration_artificial.cpp cornerSubPix(gray, tmp, Size(5, 5), Size(-1,-1), tc); gray 318 modules/calib3d/test/test_cameracalibration_artificial.cpp Mat gray; gray 319 modules/calib3d/test/test_cameracalibration_artificial.cpp cvtColor(boards[i], gray, COLOR_BGR2GRAY); gray 321 modules/calib3d/test/test_cameracalibration_artificial.cpp find4QuadCornerSubpix(gray, tmp, Size(5, 5)); gray 54 modules/calib3d/test/test_chesscorners.cpp void show_points( const Mat& gray, const Mat& u, const vector<Point2f>& v, Size pattern_size, bool was_found ) gray 56 modules/calib3d/test/test_chesscorners.cpp Mat rgb( gray.size(), CV_8U); gray 57 modules/calib3d/test/test_chesscorners.cpp merge(vector<Mat>(3, gray), rgb); gray 221 modules/calib3d/test/test_chesscorners.cpp Mat gray = imread( folder + img_file, 0); gray 223 modules/calib3d/test/test_chesscorners.cpp if( gray.empty() ) gray 247 modules/calib3d/test/test_chesscorners.cpp result = findChessboardCorners(gray, pattern_size, v, CALIB_CB_ADAPTIVE_THRESH | CALIB_CB_NORMALIZE_IMAGE); gray 250 modules/calib3d/test/test_chesscorners.cpp result = findCirclesGrid(gray, pattern_size, v); gray 253 modules/calib3d/test/test_chesscorners.cpp result = findCirclesGrid(gray, pattern_size, v, CALIB_CB_ASYMMETRIC_GRID | algorithmFlags); gray 256 modules/calib3d/test/test_chesscorners.cpp show_points( gray, Mat(), v, pattern_size, result ); gray 281 modules/calib3d/test/test_chesscorners.cpp cornerSubPix( gray, v, Size(5, 5), Size(-1,-1), TermCriteria(TermCriteria::EPS|TermCriteria::MAX_ITER, 30, 0.1)); gray 283 modules/calib3d/test/test_chesscorners.cpp show_points( gray, expected, v, pattern_size, result ); gray 72 modules/calib3d/test/test_chesscorners_timing.cpp IplImage* gray = 0; gray 126 modules/calib3d/test/test_chesscorners_timing.cpp gray = cvCreateImage( cvSize( img.width, img.height ), IPL_DEPTH_8U, 1 ); gray 128 modules/calib3d/test/test_chesscorners_timing.cpp cvCvtColor( &img, gray, CV_BGR2GRAY ); gray 140 modules/calib3d/test/test_chesscorners_timing.cpp result = cvCheckChessboard(gray, pattern_size); gray 144 modules/calib3d/test/test_chesscorners_timing.cpp gray, pattern_size, v, &count, 15 )); gray 160 modules/calib3d/test/test_chesscorners_timing.cpp int num_pixels = gray->width*gray->height; gray 170 modules/calib3d/test/test_chesscorners_timing.cpp cvReleaseImage( &gray ); gray 180 modules/calib3d/test/test_chesscorners_timing.cpp cvReleaseImage( &gray ); gray 519 modules/core/misc/java/test/MatTest.java Mat gray = new Mat(1, 1, CvType.CV_8UC1); gray 520 modules/core/misc/java/test/MatTest.java assertFalse(gray.empty()); gray 537 modules/core/misc/java/test/MatTest.java Mat gray = new Mat(1, 1, CvType.CV_8U); gray 538 modules/core/misc/java/test/MatTest.java assertFalse(gray.empty()); gray 7462 modules/features2d/src/agast.cpp _InputArray gray = _image; gray 7467 modules/features2d/src/agast.cpp gray = ogray; gray 7469 modules/features2d/src/agast.cpp AGAST( gray, keypoints, threshold, nonmaxSuppression, type ); gray 375 modules/features2d/src/fast.cpp _InputArray gray = _image; gray 380 modules/features2d/src/fast.cpp gray = ogray; gray 382 modules/features2d/src/fast.cpp FAST( gray, keypoints, threshold, nonmaxSuppression, type ); gray 256 modules/features2d/src/mser.cpp void init(int gray) gray 261 modules/features2d/src/mser.cpp gray_level = gray; gray 55 modules/features2d/test/test_mser.cpp static void renderMSERs(const Mat& gray, Mat& img, const vector<vector<Point> >& msers) gray 57 modules/features2d/test/test_mser.cpp cvtColor(gray, img, COLOR_GRAY2BGR); gray 51 modules/imgcodecs/src/utils.cpp uchar* gray, int gray_step, gray 56 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step ) gray 61 modules/imgcodecs/src/utils.cpp gray[i] = (uchar)t; gray 70 modules/imgcodecs/src/utils.cpp ushort* gray, int gray_step, gray 75 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step ) gray 80 modules/imgcodecs/src/utils.cpp gray[i] = (ushort)t; gray 89 modules/imgcodecs/src/utils.cpp uchar* gray, int gray_step, gray 94 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step ) gray 99 modules/imgcodecs/src/utils.cpp gray[i] = (uchar)t; gray 107 modules/imgcodecs/src/utils.cpp void icvCvt_Gray2BGR_8u_C1C3R( const uchar* gray, int gray_step, gray 111 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step ) gray 115 modules/imgcodecs/src/utils.cpp bgr[0] = bgr[1] = bgr[2] = gray[i]; gray 122 modules/imgcodecs/src/utils.cpp void icvCvt_Gray2BGR_16u_C1C3R( const ushort* gray, int gray_step, gray 126 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step/sizeof(gray[0]) ) gray 130 modules/imgcodecs/src/utils.cpp bgr[0] = bgr[1] = bgr[2] = gray[i]; gray 252 modules/imgcodecs/src/utils.cpp uchar* gray, int gray_step, CvSize size ) gray 255 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step, bgr555 += bgr555_step ) gray 262 modules/imgcodecs/src/utils.cpp gray[i] = (uchar)t; gray 269 modules/imgcodecs/src/utils.cpp uchar* gray, int gray_step, CvSize size ) gray 272 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step, bgr565 += bgr565_step ) gray 279 modules/imgcodecs/src/utils.cpp gray[i] = (uchar)t; gray 342 modules/imgcodecs/src/utils.cpp uchar* gray, int gray_step, CvSize size ) gray 354 modules/imgcodecs/src/utils.cpp gray[i] = (uchar)t; gray 356 modules/imgcodecs/src/utils.cpp gray += gray_step; gray 59 modules/imgcodecs/src/utils.hpp uchar* gray, int gray_step, gray 62 modules/imgcodecs/src/utils.hpp uchar* gray, int gray_step, gray 65 modules/imgcodecs/src/utils.hpp ushort* gray, int gray_step, gray 68 modules/imgcodecs/src/utils.hpp void icvCvt_Gray2BGR_8u_C1C3R( const uchar* gray, int gray_step, gray 70 modules/imgcodecs/src/utils.hpp void icvCvt_Gray2BGR_16u_C1C3R( const ushort* gray, int gray_step, gray 96 modules/imgcodecs/src/utils.hpp uchar* gray, int gray_step, CvSize size ); gray 98 modules/imgcodecs/src/utils.hpp uchar* gray, int gray_step, CvSize size ); gray 106 modules/imgcodecs/src/utils.hpp uchar* gray, int gray_step, CvSize size ); gray 1159 modules/imgproc/src/lsd.cpp Mat gray; gray 1162 modules/imgproc/src/lsd.cpp gray = _image.getMatRef(); gray 1166 modules/imgproc/src/lsd.cpp cvtColor(_image, gray, CV_BGR2GRAY); gray 1171 modules/imgproc/src/lsd.cpp planes.push_back(gray); gray 1172 modules/imgproc/src/lsd.cpp planes.push_back(gray); gray 1173 modules/imgproc/src/lsd.cpp planes.push_back(gray); gray 59 modules/imgproc/test/test_cvtyuv.cpp virtual void write(Mat& gray, int row, int col, const uchar& val) gray 61 modules/imgproc/test/test_cvtyuv.cpp gray.at<uchar>(row, col) = val; gray 58 modules/imgproc/test/test_imgproc_umat.cpp Mat img = imread(imgpath, 1), gray, smallimg, result; gray 61 modules/imgproc/test/test_imgproc_umat.cpp cvtColor(img, gray, COLOR_BGR2GRAY); gray 62 modules/imgproc/test/test_imgproc_umat.cpp resize(gray, smallimg, Size(), 0.75, 0.75, INTER_LINEAR); gray 160 modules/java/generator/src/java/android+CameraBridgeViewBase.java result = mOldStyleListener.onCameraFrame(inputFrame.gray()); gray 1222 modules/objdetect/src/cascadedetect.cpp _InputArray gray; gray 1259 modules/objdetect/src/cascadedetect.cpp gray = grayImage; gray 1278 modules/objdetect/src/cascadedetect.cpp if( scales.size() == 0 || !featureEvaluator->setImage(gray, scales) ) gray 1291 modules/objdetect/src/cascadedetect.cpp currentMask = maskGenerator->generateMask(gray.getMat()); gray 86 modules/photo/src/align.cpp Mat gray; gray 87 modules/photo/src/align.cpp cvtColor(src[i], gray, COLOR_RGB2GRAY); gray 88 modules/photo/src/align.cpp Point shift = calculateShift(gray_base, gray); gray 167 modules/photo/src/merge.cpp Mat img, gray, contrast, saturation, wellexp; gray 172 modules/photo/src/merge.cpp cvtColor(img, gray, COLOR_RGB2GRAY); gray 174 modules/photo/src/merge.cpp img.copyTo(gray); gray 178 modules/photo/src/merge.cpp Laplacian(gray, contrast, CV_32F); gray 62 modules/photo/src/seamless_cloning.cpp Mat gray = Mat(mask.size(),CV_8UC1); gray 68 modules/photo/src/seamless_cloning.cpp cvtColor(mask, gray, COLOR_BGR2GRAY ); gray 70 modules/photo/src/seamless_cloning.cpp gray = mask; gray 76 modules/photo/src/seamless_cloning.cpp if(gray.at<uchar>(i,j) == 255) gray 104 modules/photo/src/seamless_cloning.cpp gray(roi_s).copyTo(destinationROI); gray 105 modules/photo/src/seamless_cloning.cpp src(roi_s).copyTo(sourceROI,gray(roi_s)); gray 106 modules/photo/src/seamless_cloning.cpp src(roi_s).copyTo(patch, gray(roi_s)); gray 128 modules/photo/src/seamless_cloning.cpp Mat gray = Mat::zeros(mask.size(),CV_8UC1); gray 131 modules/photo/src/seamless_cloning.cpp cvtColor(mask, gray, COLOR_BGR2GRAY ); gray 133 modules/photo/src/seamless_cloning.cpp gray = mask; gray 137 modules/photo/src/seamless_cloning.cpp src.copyTo(cs_mask,gray); gray 140 modules/photo/src/seamless_cloning.cpp obj.localColorChange(src,cs_mask,gray,blend,red,green,blue); gray 153 modules/photo/src/seamless_cloning.cpp Mat gray = Mat::zeros(mask.size(),CV_8UC1); gray 156 modules/photo/src/seamless_cloning.cpp cvtColor(mask, gray, COLOR_BGR2GRAY ); gray 158 modules/photo/src/seamless_cloning.cpp gray = mask; gray 162 modules/photo/src/seamless_cloning.cpp src.copyTo(cs_mask,gray); gray 165 modules/photo/src/seamless_cloning.cpp obj.illuminationChange(src,cs_mask,gray,blend,alpha,beta); gray 178 modules/photo/src/seamless_cloning.cpp Mat gray = Mat::zeros(mask.size(),CV_8UC1); gray 181 modules/photo/src/seamless_cloning.cpp cvtColor(mask, gray, COLOR_BGR2GRAY ); gray 183 modules/photo/src/seamless_cloning.cpp gray = mask; gray 187 modules/photo/src/seamless_cloning.cpp src.copyTo(cs_mask,gray); gray 190 modules/photo/src/seamless_cloning.cpp obj.textureFlatten(src,cs_mask,gray,low_threshold,high_threshold,kernel_size,blend); gray 393 modules/photo/src/seamless_cloning_impl.cpp Mat gray = Mat(patch.size(),CV_8UC1); gray 394 modules/photo/src/seamless_cloning_impl.cpp cvtColor(patch, gray, COLOR_BGR2GRAY ); gray 396 modules/photo/src/seamless_cloning_impl.cpp computeGradientX(gray,patchGradientX); gray 397 modules/photo/src/seamless_cloning_impl.cpp computeGradientY(gray,patchGradientY); gray 66 modules/photo/test/test_denoising.cuda.cpp cv::Mat gray; gray 67 modules/photo/test/test_denoising.cuda.cpp cv::cvtColor(bgr, gray, cv::COLOR_BGR2GRAY); gray 71 modules/photo/test/test_denoising.cuda.cpp cv::cuda::nonLocalMeans(GpuMat(gray), dgray, 20); gray 98 modules/photo/test/test_denoising.cuda.cpp cv::Mat gray; gray 99 modules/photo/test/test_denoising.cuda.cpp cv::cvtColor(bgr, gray, cv::COLOR_BGR2GRAY); gray 103 modules/photo/test/test_denoising.cuda.cpp cv::cuda::fastNlMeansDenoising(GpuMat(gray), dgray, 20); gray 532 modules/stitching/src/seam_finders.cpp Mat gray; gray 535 modules/stitching/src/seam_finders.cpp cvtColor(image1, gray, COLOR_BGR2GRAY); gray 537 modules/stitching/src/seam_finders.cpp cvtColor(image1, gray, COLOR_BGRA2GRAY); gray 539 modules/stitching/src/seam_finders.cpp Sobel(gray, gradx1_, CV_32F, 1, 0); gray 540 modules/stitching/src/seam_finders.cpp Sobel(gray, grady1_, CV_32F, 0, 1); gray 543 modules/stitching/src/seam_finders.cpp cvtColor(image2, gray, COLOR_BGR2GRAY); gray 545 modules/stitching/src/seam_finders.cpp cvtColor(image2, gray, COLOR_BGRA2GRAY); gray 547 modules/stitching/src/seam_finders.cpp Sobel(gray, gradx2_, CV_32F, 1, 0); gray 548 modules/stitching/src/seam_finders.cpp Sobel(gray, grady2_, CV_32F, 0, 1); gray 1403 modules/video/src/lkpyramid.cpp Mat gray; gray 1404 modules/video/src/lkpyramid.cpp cvtColor(A, gray, COLOR_BGR2GRAY); gray 1405 modules/video/src/lkpyramid.cpp resize(gray, sA, sz1, 0., 0., INTER_AREA); gray 1406 modules/video/src/lkpyramid.cpp cvtColor(B, gray, COLOR_BGR2GRAY); gray 1407 modules/video/src/lkpyramid.cpp resize(gray, sB, sz1, 0., 0., INTER_AREA); gray 67 modules/viz/include/opencv2/viz/types.hpp Color(double gray); gray 84 modules/viz/include/opencv2/viz/types.hpp static Color gray(); gray 317 modules/viz/test/tests_simple.cpp Mat gray = make_gray(lena); gray 332 modules/viz/test/tests_simple.cpp viz.showWidget("pos4", WCameraPosition(K, gray, 3, Color::indigo()), poses[1]); gray 340 modules/viz/test/tests_simple.cpp Mat gray = make_gray(lena); gray 351 modules/viz/test/tests_simple.cpp viz.showWidget("img2", WImageOverlay(gray, Rect(Point(vsz.width-10-lena.cols/2, 10), half_lsize))); gray 352 modules/viz/test/tests_simple.cpp viz.showWidget("img3", WImageOverlay(gray, Rect(Point(10, vsz.height-10-lena.rows/2), half_lsize))); gray 386 modules/viz/test/tests_simple.cpp Mat gray = make_gray(lena); gray 395 modules/viz/test/tests_simple.cpp viz.showWidget("img1", WImage3D(gray, Size2d(1.0, 1.0), Vec3d(-0.5, -0.5, 0.0), Vec3d(1.0, 1.0, 0.0), Vec3d(0.0, 1.0, 0.0))); gray 433 modules/viz/test/tests_simple.cpp viz.showWidget("grid1", WGrid(Vec2i(7,7), Vec2d::all(0.75), Color::gray()), Affine3d().translate(Vec3d(0.0, 0.0, -1.0))); gray 38 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java Mat grayFrame = inputFrame.gray(); gray 170 samples/android/face-detection/src/org/opencv/samples/facedetect/FdActivity.java mGray = inputFrame.gray(); gray 269 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Mat gray = inputFrame.gray(); gray 270 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Mat grayInnerWindow = gray.submat(top, top + height, left, left + width); gray 132 samples/android/tutorial-2-mixedprocessing/src/org/opencv/samples/tutorial2/Tutorial2Activity.java Imgproc.cvtColor(inputFrame.gray(), mRgba, Imgproc.COLOR_GRAY2RGBA, 4); gray 141 samples/android/tutorial-2-mixedprocessing/src/org/opencv/samples/tutorial2/Tutorial2Activity.java Imgproc.Canny(inputFrame.gray(), mIntermediateMat, 80, 100); gray 147 samples/android/tutorial-2-mixedprocessing/src/org/opencv/samples/tutorial2/Tutorial2Activity.java mGray = inputFrame.gray(); gray 17 samples/cpp/distrans.cpp Mat gray; gray 38 samples/cpp/distrans.cpp Mat edge = gray >= edgeThresh, dist, labels, dist8u; gray 118 samples/cpp/distrans.cpp gray = imread(filename.c_str(), 0); gray 119 samples/cpp/distrans.cpp if(gray.empty()) gray 12 samples/cpp/edge.cpp Mat image, gray, edge, cedge; gray 17 samples/cpp/edge.cpp blur(gray, edge, Size(3,3)); gray 54 samples/cpp/edge.cpp cvtColor(image, gray, COLOR_BGR2GRAY); gray 213 samples/cpp/facedetect.cpp Mat gray, smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 ); gray 215 samples/cpp/facedetect.cpp cvtColor( img, gray, COLOR_BGR2GRAY ); gray 216 samples/cpp/facedetect.cpp resize( gray, smallImg, smallImg.size(), 0, 0, INTER_LINEAR ); gray 41 samples/cpp/fback.cpp UMat gray, prevgray, uflow; gray 47 samples/cpp/fback.cpp cvtColor(frame, gray, COLOR_BGR2GRAY); gray 51 samples/cpp/fback.cpp calcOpticalFlowFarneback(prevgray, gray, uflow, 0.5, 3, 15, 3, 5, 1.2, 0); gray 59 samples/cpp/fback.cpp std::swap(prevgray, gray); gray 29 samples/cpp/ffilldemo.cpp Mat image0, image, gray, mask; gray 53 samples/cpp/ffilldemo.cpp Mat dst = isColor ? image : gray; gray 86 samples/cpp/ffilldemo.cpp cvtColor(image0, gray, COLOR_BGR2GRAY); gray 97 samples/cpp/ffilldemo.cpp imshow("image", isColor ? image : gray); gray 111 samples/cpp/ffilldemo.cpp cvtColor(image0, gray, COLOR_BGR2GRAY); gray 140 samples/cpp/ffilldemo.cpp cvtColor(image, gray, COLOR_BGR2GRAY); gray 64 samples/cpp/lkdemo.cpp Mat gray, prevGray, image, frame; gray 74 samples/cpp/lkdemo.cpp cvtColor(image, gray, COLOR_BGR2GRAY); gray 82 samples/cpp/lkdemo.cpp goodFeaturesToTrack(gray, points[1], MAX_COUNT, 0.01, 10, Mat(), 3, 0, 0.04); gray 83 samples/cpp/lkdemo.cpp cornerSubPix(gray, points[1], subPixWinSize, Size(-1,-1), termcrit); gray 91 samples/cpp/lkdemo.cpp gray.copyTo(prevGray); gray 92 samples/cpp/lkdemo.cpp calcOpticalFlowPyrLK(prevGray, gray, points[0], points[1], status, err, winSize, gray 119 samples/cpp/lkdemo.cpp cornerSubPix( gray, tmp, winSize, Size(-1,-1), termcrit); gray 145 samples/cpp/lkdemo.cpp cv::swap(prevGray, gray); gray 27 samples/cpp/openni_capture.cpp static void colorizeDisparity( const Mat& gray, Mat& rgb, double maxDisp=-1.f, float S=1.f, float V=1.f ) gray 29 samples/cpp/openni_capture.cpp CV_Assert( !gray.empty() ); gray 30 samples/cpp/openni_capture.cpp CV_Assert( gray.type() == CV_8UC1 ); gray 35 samples/cpp/openni_capture.cpp minMaxLoc( gray, 0, &maxDisp ); gray 38 samples/cpp/openni_capture.cpp rgb.create( gray.size(), CV_8UC3 ); gray 43 samples/cpp/openni_capture.cpp for( int y = 0; y < gray.rows; y++ ) gray 45 samples/cpp/openni_capture.cpp for( int x = 0; x < gray.cols; x++ ) gray 47 samples/cpp/openni_capture.cpp uchar d = gray.at<uchar>(y,x); gray 171 samples/cpp/smiledetect.cpp Mat gray, smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 ); gray 173 samples/cpp/smiledetect.cpp cvtColor( img, gray, COLOR_BGR2GRAY ); gray 174 samples/cpp/smiledetect.cpp resize( gray, smallImg, smallImg.size(), 0, 0, INTER_LINEAR ); gray 52 samples/cpp/squares.cpp Mat pyr, timg, gray0(image.size(), CV_8U), gray; gray 74 samples/cpp/squares.cpp Canny(gray0, gray, 0, thresh, 5); gray 77 samples/cpp/squares.cpp dilate(gray, gray, Mat(), Point(-1,-1)); gray 83 samples/cpp/squares.cpp gray = gray0 >= (l+1)*255/N; gray 87 samples/cpp/squares.cpp findContours(gray, contours, RETR_LIST, CHAIN_APPROX_SIMPLE); gray 296 samples/cpp/train_HOG.cpp Mat gray; gray 304 samples/cpp/train_HOG.cpp cvtColor( *img, gray, COLOR_BGR2GRAY ); gray 305 samples/cpp/train_HOG.cpp hog.compute( gray, descriptors, Size( 8, 8 ), Size( 0, 0 ), location ); gray 29 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp Mat gray; gray 33 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp cvtColor(src, gray, CV_BGR2GRAY); gray 37 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp gray = src; gray 41 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp imshow("gray", gray); gray 47 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp adaptiveThreshold(~gray, bw, 255, CV_ADAPTIVE_THRESH_MEAN_C, THRESH_BINARY, 15, -2); gray 50 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp Mat image, gray, result; gray 107 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp cvtColor( image, gray, COLOR_BGR2GRAY ); gray 114 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp src = hpp::getHpp(gray,accel); gray 114 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp Mat gray; gray 115 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp cvtColor(src, gray, COLOR_BGR2GRAY); gray 119 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp threshold(gray, bw, 50, 255, CV_THRESH_BINARY | CV_THRESH_OTSU); gray 33 samples/cpp/tutorial_code/photo/decolorization/decolor.cpp Mat gray = Mat(I.size(),CV_8UC1); gray 36 samples/cpp/tutorial_code/photo/decolorization/decolor.cpp decolor(I,gray,color_boost); gray 37 samples/cpp/tutorial_code/photo/decolorization/decolor.cpp imshow("grayscale",gray); gray 202 samples/cpp/ufacedetect.cpp static UMat gray, smallImg; gray 207 samples/cpp/ufacedetect.cpp cvtColor( smallImg, gray, COLOR_BGR2GRAY ); gray 208 samples/cpp/ufacedetect.cpp equalizeHist( gray, gray ); gray 210 samples/cpp/ufacedetect.cpp cascade.detectMultiScale( gray, faces, gray 219 samples/cpp/ufacedetect.cpp flip(gray, gray, 1); gray 220 samples/cpp/ufacedetect.cpp cascade.detectMultiScale( gray, faces2, gray 266 samples/cpp/ufacedetect.cpp UMat smallImgROI = gray(*r); gray 30 samples/gpu/cascadeclassifier.cpp static void convertAndResize(const Mat& src, Mat& gray, Mat& resized, double scale) gray 34 samples/gpu/cascadeclassifier.cpp cv::cvtColor( src, gray, COLOR_BGR2GRAY ); gray 38 samples/gpu/cascadeclassifier.cpp gray = src; gray 41 samples/gpu/cascadeclassifier.cpp Size sz(cvRound(gray.cols * scale), cvRound(gray.rows * scale)); gray 45 samples/gpu/cascadeclassifier.cpp cv::resize(gray, resized, sz); gray 49 samples/gpu/cascadeclassifier.cpp resized = gray; gray 53 samples/gpu/cascadeclassifier.cpp static void convertAndResize(const GpuMat& src, GpuMat& gray, GpuMat& resized, double scale) gray 57 samples/gpu/cascadeclassifier.cpp cv::cuda::cvtColor( src, gray, COLOR_BGR2GRAY ); gray 61 samples/gpu/cascadeclassifier.cpp gray = src; gray 64 samples/gpu/cascadeclassifier.cpp Size sz(cvRound(gray.cols * scale), cvRound(gray.rows * scale)); gray 68 samples/gpu/cascadeclassifier.cpp cv::cuda::resize(gray, resized, sz); gray 72 samples/gpu/cascadeclassifier.cpp resized = gray; gray 297 samples/gpu/cascadeclassifier_nvidia_api.cpp Mat gray; gray 298 samples/gpu/cascadeclassifier_nvidia_api.cpp cvtColor((image.empty() ? frame : image), gray, cv::COLOR_BGR2GRAY); gray 320 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvStat = process(&gray, frameSize.width, frameSize.height, gray 332 samples/gpu/cascadeclassifier_nvidia_api.cpp gray, gray 341 samples/gpu/cascadeclassifier_nvidia_api.cpp rectangle(gray, rectsOpenCV[rt], Scalar(255)); gray 346 samples/gpu/cascadeclassifier_nvidia_api.cpp cvtColor(gray, frameDisp, cv::COLOR_GRAY2BGR); gray 38 samples/tapi/squares.cpp UMat pyr, timg, gray0(image.size(), CV_8U), gray; gray 60 samples/tapi/squares.cpp Canny(gray0, gray, 0, thresh, 5); gray 63 samples/tapi/squares.cpp dilate(gray, gray, UMat(), Point(-1,-1)); gray 69 samples/tapi/squares.cpp cv::threshold(gray0, gray, (l+1)*255/N, 255, THRESH_BINARY); gray 73 samples/tapi/squares.cpp findContours(gray, contours, RETR_LIST, CHAIN_APPROX_SIMPLE);