/external/opencv3/modules/cudaimgproc/test/ |
test_color.cpp | 50 // cvtColor 52 PARAM_TEST_CASE(CvtColor, cv::cuda::DeviceInfo, cv::Size, MatDepth, UseRoi) 74 CUDA_TEST_P(CvtColor, BGR2RGB) 79 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGB); 82 cv::cvtColor(src, dst_gold, cv::COLOR_BGR2RGB); 87 CUDA_TEST_P(CvtColor, BGR2RGBA) 92 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGBA); 95 cv::cvtColor(src, dst_gold, cv::COLOR_BGR2RGBA); 100 CUDA_TEST_P(CvtColor, BGR2BGRA) 105 cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGRA) [all...] |
/external/opencv3/modules/imgproc/test/ocl/ |
test_color.cpp | 55 // cvtColor 57 PARAM_TEST_CASE(CvtColor, MatDepth, bool) 98 OCL_OFF(cv::cvtColor(src_roi, dst_roi, code, channelsOut)); 99 OCL_ON(cv::cvtColor(usrc_roi, udst_roi, code, channelsOut)); 110 OCL_TEST_P(CvtColor, BGR2BGRA) { performTest(3, 4, CVTCODE(BGR2BGRA)); } 111 OCL_TEST_P(CvtColor, RGB2RGBA) { performTest(3, 4, CVTCODE(RGB2RGBA)); } 112 OCL_TEST_P(CvtColor, BGRA2BGR) { performTest(4, 3, CVTCODE(BGRA2BGR)); } 113 OCL_TEST_P(CvtColor, RGBA2RGB) { performTest(4, 3, CVTCODE(RGBA2RGB)); } 114 OCL_TEST_P(CvtColor, BGR2RGBA) { performTest(3, 4, CVTCODE(BGR2RGBA)); } 115 OCL_TEST_P(CvtColor, RGB2BGRA) { performTest(3, 4, CVTCODE(RGB2BGRA)); [all...] |
/external/opencv3/modules/cudabgsegm/perf/ |
perf_bgsegm.cpp | 92 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); 94 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); 119 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); 121 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); 146 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); 148 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); 195 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); 197 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); 223 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); 225 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA) [all...] |
/external/opencv3/modules/java/generator/src/cpp/ |
utils.cpp | 41 if(needUnPremultiplyAlpha) cvtColor(tmp, dst, COLOR_mRGBA2RGBA); 47 cvtColor(tmp, dst, COLOR_BGR5652RGBA); 107 cvtColor(src, tmp, COLOR_GRAY2RGBA); 110 cvtColor(src, tmp, COLOR_RGB2RGBA); 113 if(needPremultiplyAlpha) cvtColor(src, tmp, COLOR_RGBA2mRGBA); 122 cvtColor(src, tmp, COLOR_GRAY2BGR565); 125 cvtColor(src, tmp, COLOR_RGB2BGR565); 128 cvtColor(src, tmp, COLOR_RGBA2BGR565);
|
/external/opencv3/modules/video/perf/ |
perf_optflowpyrlk.cpp | 61 cvtColor(img1, frame1, COLOR_BGR2GRAY, cn); 62 cvtColor(img2, frame2, COLOR_BGR2GRAY, cn); 69 cvtColor(img1, frame1, COLOR_BGR2BGRA, cn); 70 cvtColor(img2, frame2, COLOR_BGR2BGRA, cn); 135 cvtColor(img1, frame1, COLOR_BGR2GRAY, cn); 136 cvtColor(img2, frame2, COLOR_BGR2GRAY, cn); 143 cvtColor(img1, frame1, COLOR_BGR2BGRA, cn); 144 cvtColor(img2, frame2, COLOR_BGR2BGRA, cn);
|
/external/opencv3/samples/cpp/ |
fback.cpp | 47 cvtColor(frame, gray, COLOR_BGR2GRAY); 52 cvtColor(prevgray, cflow, COLOR_GRAY2BGR);
|
ffilldemo.cpp | 86 cvtColor(image0, gray, COLOR_BGR2GRAY); 111 cvtColor(image0, gray, COLOR_BGR2GRAY); 140 cvtColor(image, gray, COLOR_BGR2GRAY);
|
/external/opencv3/samples/python2/ |
color_histogram.py | 20 hsv_map = cv2.cvtColor(hsv_map, cv2.COLOR_HSV2BGR) 42 hsv = cv2.cvtColor(small, cv2.COLOR_BGR2HSV)
|
opt_flow.py | 22 vis = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR) 37 bgr = cv2.cvtColor(hsv, cv2.COLOR_HSV2BGR) 58 prevgray = cv2.cvtColor(prev, cv2.COLOR_BGR2GRAY) 65 gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
|
/external/opencv3/samples/gpu/performance/ |
tests.cpp | 604 TEST(cvtColor) 614 cvtColor(src, dst, COLOR_GRAY2BGRA, 4); 617 cvtColor(src, dst, COLOR_GRAY2BGRA, 4); 620 cuda::cvtColor(d_src, d_dst, COLOR_GRAY2BGRA, 4); 623 cuda::cvtColor(d_src, d_dst, COLOR_GRAY2BGRA, 4); 631 cvtColor(src, dst, COLOR_BGR2YCrCb); 634 cvtColor(src, dst, COLOR_BGR2YCrCb); 637 cuda::cvtColor(d_src, d_dst, COLOR_BGR2YCrCb, 4); 640 cuda::cvtColor(d_src, d_dst, COLOR_BGR2YCrCb, 4); 648 cvtColor(src, dst, COLOR_YCrCb2BGR, 4) [all...] |
/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/ |
compareHist_Demo.cpp | 38 cvtColor( src_base, hsv_base, COLOR_BGR2HSV ); 39 cvtColor( src_test1, hsv_test1, COLOR_BGR2HSV ); 40 cvtColor( src_test2, hsv_test2, COLOR_BGR2HSV );
|
EqualizeHist_Demo.cpp | 35 cvtColor( src, src, COLOR_BGR2GRAY );
|
/external/opencv3/samples/cpp/tutorial_code/ImgTrans/ |
HoughLines_Demo.cpp | 50 cvtColor( src, src_gray, COLOR_RGB2GRAY ); 89 cvtColor( edges, standard_hough, COLOR_GRAY2BGR ); 116 cvtColor( edges, probabilistic_hough, COLOR_GRAY2BGR );
|
Laplace_Demo.cpp | 38 cvtColor( src, src_gray, COLOR_RGB2GRAY );
|
/external/opencv3/doc/tutorials/introduction/load_save_image/ |
load_save_image.markdown | 14 - Transform an image from BGR to Grayscale format by using @ref cv::cvtColor 40 cvtColor( image, gray_image, COLOR_BGR2GRAY ); 63 cvtColor( image, gray_image, COLOR_BGR2GRAY ); 65 As you can see, @ref cv::cvtColor takes as arguments:
|
/external/opencv3/modules/imgproc/perf/opencl/ |
perf_3vs4.cpp | 72 cvtColor(src, src4, COLOR_RGB2RGBA); 74 cvtColor(dst4, dst, COLOR_RGBA2RGB); 126 cvtColor(src, src4, COLOR_RGB2RGBA); 128 cvtColor(dst4, dst, COLOR_RGBA2RGB);
|
perf_color.cpp | 57 ///////////// cvtColor//////////////////////// 68 OCL_PERF_TEST_P(CvtColorFixture, CvtColor, testing::Combine( 108 OCL_TEST_CYCLE() cv::cvtColor(src, dst, code, dcn);
|
/external/opencv3/samples/wp8/OpenCVXaml/OpenCVComponent/ |
OpenCVComponent.cpp | 34 cv::cvtColor(mat, intermediateMat, CV_RGB2GRAY); 37 cv::cvtColor(intermediateMat, mat, CV_GRAY2BGRA);
|
/external/opencv3/modules/cudalegacy/perf/ |
perf_bgsegm.cpp | 165 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); 167 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); 198 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); 200 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA); 230 cv::cvtColor(frame, temp, cv::COLOR_BGR2GRAY); 232 cv::cvtColor(frame, temp, cv::COLOR_BGR2BGRA);
|
/external/opencv3/modules/cudaimgproc/perf/ |
perf_color.cpp | 50 // CvtColor 54 PERF_TEST_P(Sz_Depth_Code, CvtColor, 91 TEST_CYCLE() cv::cuda::cvtColor(d_src, dst, info.code, info.dcn); 99 TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); 130 TEST_CYCLE() cv::cuda::cvtColor(d_src, dst, info.code, info.dcn); 138 TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); 184 TEST_CYCLE() cv::cvtColor(src, dst, code);
|
perf_mean_shift.cpp | 63 cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA); 99 cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA); 133 cv::cvtColor(img, rgba, cv::COLOR_BGR2BGRA);
|
/external/opencv3/doc/py_tutorials/py_imgproc/py_colorspaces/ |
py_colorspaces.markdown | 10 - You will learn following functions : **cv2.cvtColor()**, **cv2.inRange()** etc. 18 For color conversion, we use the function cv2.cvtColor(input_image, flag) where flag determines the 58 hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) 93 you can use the same function, cv2.cvtColor(). Instead of passing an image, you just pass the BGR 98 >>> hsv_green = cv2.cvtColor(green,cv2.COLOR_BGR2HSV)
|
/external/opencv3/modules/cudev/test/ |
test_color_cvt.cu | 62 TEST(CvtColor, src_space ## _to_ ## dst_space) \ 67 cv::cvtColor(bgrb, srcb, COLOR_BGR ## 2 ## src_space, src_cn); \ 71 cv::cvtColor(srcb, dstb_gold, COLOR_ ## src_space ## 2 ## dst_space); \ 75 cv::cvtColor(bgrf, srcf, COLOR_BGR ## 2 ## src_space, src_cn); \ 79 cv::cvtColor(srcf, dstf_gold, COLOR_ ## src_space ## 2 ## dst_space); \
|
/external/opencv3/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/ |
main.cpp | 120 cvtColor(frame, edges, COLOR_RGB2GRAY); 123 cvtColor(edges, frame, COLOR_GRAY2RGB); 132 cvtColor(frame, faces, COLOR_RGB2GRAY);
|
/external/opencv3/modules/imgproc/test/ |
test_imgproc_umat.cpp | 61 cvtColor(img, gray, COLOR_BGR2GRAY); 65 cvtColor(uimg, ugray, COLOR_BGR2GRAY);
|