srgb 1538 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <bool srgb, int blueIdx, typename T, typename D> srgb 1548 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp if (srgb) srgb 1584 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <bool srgb, int blueIdx, typename T, typename D> srgb 1594 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp if (srgb) srgb 1618 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab; srgb 1619 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> srgb 1620 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Lab<uchar, scn, dcn, srgb, blueIdx> srgb 1627 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LabConvert_b<srgb, blueIdx>(src, dst); srgb 1634 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> srgb 1635 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Lab<float, scn, dcn, srgb, blueIdx> srgb 1642 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LabConvert_f<srgb, blueIdx>(src, dst); srgb 1651 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2Lab_TRAITS(name, scn, dcn, srgb, blueIdx) \ srgb 1665 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <bool srgb, int blueIdx, typename T, typename D> srgb 1701 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp if (srgb) srgb 1714 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <bool srgb, int blueIdx, typename T, typename D> srgb 1723 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Lab2RGBConvert_f<srgb, blueIdx>(srcf, dstf); srgb 1731 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB; srgb 1732 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> srgb 1733 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Lab2RGB<uchar, scn, dcn, srgb, blueIdx> srgb 1740 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Lab2RGBConvert_b<srgb, blueIdx>(src, dst); srgb 1747 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> srgb 1748 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Lab2RGB<float, scn, dcn, srgb, blueIdx> srgb 1755 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Lab2RGBConvert_f<srgb, blueIdx>(src, dst); srgb 1764 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_Lab2RGB_TRAITS(name, scn, dcn, srgb, blueIdx) \ srgb 1780 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <bool srgb, int blueIdx, typename T, typename D> srgb 1791 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp if (srgb) srgb 1814 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <bool srgb, int blueIdx, typename T, typename D> srgb 1823 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LuvConvert_f<srgb, blueIdx>(srcf, dstf); srgb 1830 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv; srgb 1831 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> srgb 1832 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Luv<uchar, scn, dcn, srgb, blueIdx> srgb 1839 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LuvConvert_b<srgb, blueIdx>(src, dst); srgb 1846 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> srgb 1847 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Luv<float, scn, dcn, srgb, blueIdx> srgb 1854 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LuvConvert_f<srgb, blueIdx>(src, dst); srgb 1863 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2Luv_TRAITS(name, scn, dcn, srgb, blueIdx) \ srgb 1875 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <bool srgb, int blueIdx, typename T, typename D> srgb 1901 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp if (srgb) srgb 1914 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <bool srgb, int blueIdx, typename T, typename D> srgb 1923 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Luv2RGBConvert_f<srgb, blueIdx>(srcf, dstf); srgb 1931 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB; srgb 1932 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> srgb 1933 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Luv2RGB<uchar, scn, dcn, srgb, blueIdx> srgb 1940 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Luv2RGBConvert_b<srgb, blueIdx>(src, dst); srgb 1947 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> srgb 1948 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Luv2RGB<float, scn, dcn, srgb, blueIdx> srgb 1955 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Luv2RGBConvert_f<srgb, blueIdx>(src, dst); srgb 1964 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_Luv2RGB_TRAITS(name, scn, dcn, srgb, blueIdx) \ srgb 956 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab; srgb 958 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab<uchar, scn, dcn, srgb, blueIdx> srgb 970 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp if (srgb) srgb 1001 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab<float, scn, dcn, srgb, blueIdx> srgb 1013 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp if (srgb) srgb 1046 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB; srgb 1048 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB<float, scn, dcn, srgb, blueIdx> srgb 1086 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp if (srgb) srgb 1104 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB<uchar, scn, dcn, srgb, blueIdx> srgb 1115 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp Lab2RGB<float, 3, 3, srgb, blueIdx> cvtf; srgb 1133 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv; srgb 1135 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv<float, scn, dcn, srgb, blueIdx> srgb 1148 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp if (srgb) srgb 1176 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv<uchar, scn, dcn, srgb, blueIdx> srgb 1187 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp RGB2Luv<float, 3, 3, srgb, blueIdx> cvtf; srgb 1202 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB; srgb 1204 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB<float, scn, dcn, srgb, blueIdx> srgb 1236 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp if (srgb) srgb 1254 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB<uchar, scn, dcn, srgb, blueIdx> srgb 1265 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp Luv2RGB<float, 3, 3, srgb, blueIdx> cvtf; srgb 5108 modules/imgproc/src/color.cpp const ushort* tab = srgb ? sRGBGammaTab_b : linearGammaTab_b; srgb 5134 modules/imgproc/src/color.cpp bool srgb; srgb 5175 modules/imgproc/src/color.cpp const float* gammaTab = srgb ? sRGBGammaTab : 0; srgb 5215 modules/imgproc/src/color.cpp bool srgb; srgb 5244 modules/imgproc/src/color.cpp const float* gammaTab = srgb ? sRGBInvGammaTab : 0; srgb 5304 modules/imgproc/src/color.cpp bool srgb; srgb 5555 modules/imgproc/src/color.cpp const float* gammaTab = srgb ? sRGBGammaTab : 0; srgb 5589 modules/imgproc/src/color.cpp bool srgb; srgb 5623 modules/imgproc/src/color.cpp const float* gammaTab = srgb ? sRGBInvGammaTab : 0; srgb 5667 modules/imgproc/src/color.cpp bool srgb; srgb 7121 modules/imgproc/src/color.cpp bool srgb = code == CV_BGR2Lab || code == CV_RGB2Lab || code == CV_RGB2Luv || code == CV_BGR2Luv; srgb 7129 modules/imgproc/src/color.cpp dcn, bidx, srgb ? " -D SRGB" : "")); srgb 7145 modules/imgproc/src/color.cpp if (srgb && usRGBGammaTab.empty()) srgb 7178 modules/imgproc/src/color.cpp ocl::KernelArg::PtrReadOnly(srgb ? usRGBGammaTab : ulinearGammaTab), srgb 7186 modules/imgproc/src/color.cpp if (srgb && usRGBGammaTab.empty()) srgb 7219 modules/imgproc/src/color.cpp if (srgb) srgb 7228 modules/imgproc/src/color.cpp if (srgb) srgb 7246 modules/imgproc/src/color.cpp bool srgb = code == CV_Lab2BGR || code == CV_Lab2RGB || code == CV_Luv2BGR || code == CV_Luv2RGB; srgb 7253 modules/imgproc/src/color.cpp dcn, bidx, srgb ? " -D SRGB" : "")); srgb 7260 modules/imgproc/src/color.cpp if (srgb && usRGBInvGammaTab.empty()) srgb 7293 modules/imgproc/src/color.cpp if (srgb) srgb 7301 modules/imgproc/src/color.cpp if (srgb) srgb 8178 modules/imgproc/src/color.cpp bool srgb = code == CV_BGR2Lab || code == CV_RGB2Lab || srgb 8273 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Lab_b(scn, bidx, 0, 0, srgb)); srgb 8275 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Lab_f(scn, bidx, 0, 0, srgb)); srgb 8280 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Luv_b(scn, bidx, 0, 0, srgb)); srgb 8282 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Luv_f(scn, bidx, 0, 0, srgb)); srgb 8294 modules/imgproc/src/color.cpp bool srgb = code == CV_Lab2BGR || code == CV_Lab2RGB || srgb 8381 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Lab2RGB_b(dcn, bidx, 0, 0, srgb)); srgb 8383 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Lab2RGB_f(dcn, bidx, 0, 0, srgb)); srgb 8388 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Luv2RGB_b(dcn, bidx, 0, 0, srgb)); srgb 8390 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Luv2RGB_f(dcn, bidx, 0, 0, srgb)); srgb 1940 modules/imgproc/test/test_color.cpp bool srgb = rng.uniform(0., 1.) > 0.5; srgb 1944 modules/imgproc/test/test_color.cpp int forward_code = blueInd ? srgb ? CV_BGR2Lab : CV_LBGR2Lab : srgb ? CV_RGB2Lab : CV_LRGB2Lab; srgb 1945 modules/imgproc/test/test_color.cpp int inverse_code = blueInd ? srgb ? CV_Lab2BGR : CV_Lab2LBGR : srgb ? CV_Lab2RGB : CV_Lab2LRGB;