scn 110 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2RGB scn 111 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 113 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const scn 148 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2RGB_TRAITS(name, scn, dcn, bidx) \ scn 196 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template<int scn, int bidx, int green_bits> struct RGB2RGB5x5; scn 221 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2RGB5x5_TRAITS(name, scn, bidx, green_bits) \ scn 462 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int bidx> struct RGB2Gray : unary_function<typename TypeVec<T, scn>::vec_type, T> scn 464 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ T operator()(const typename TypeVec<T, scn>::vec_type& src) const scn 483 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2GRAY_TRAITS(name, scn, bidx) \ scn 520 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2YUV scn 521 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 523 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const scn 534 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2YUV_TRAITS(name, scn, dcn, bidx) \ scn 595 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct YUV2RGB scn 596 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 598 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const scn 622 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_YUV2RGB_TRAITS(name, scn, dcn, bidx) \ scn 676 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2YCrCb scn 677 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 679 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const scn 701 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2YCrCb_TRAITS(name, scn, dcn, bidx) \ scn 753 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct YCrCb2RGB scn 754 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 756 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const scn 780 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_YCrCb2RGB_TRAITS(name, scn, dcn, bidx) \ scn 830 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2XYZ scn 831 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 833 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const scn 856 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2XYZ_TRAITS(name, scn, dcn, bidx) \ scn 904 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct XYZ2RGB scn 905 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 907 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const scn 931 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_XYZ2RGB_TRAITS(name, scn, dcn, bidx) \ scn 1043 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct RGB2HSV scn 1044 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 1046 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const scn 1069 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2HSV_TRAITS(name, scn, dcn, bidx) \ scn 1182 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct HSV2RGB scn 1183 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 1185 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const scn 1209 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_HSV2RGB_TRAITS(name, scn, dcn, bidx) \ scn 1316 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct RGB2HLS scn 1317 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 1319 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const scn 1342 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2HLS_TRAITS(name, scn, dcn, bidx) \ scn 1455 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct HLS2RGB scn 1456 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> scn 1458 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const scn 1482 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_HLS2RGB_TRAITS(name, scn, dcn, bidx) \ scn 1618 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab; scn 1619 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> scn 1620 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Lab<uchar, scn, dcn, srgb, blueIdx> scn 1621 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<uchar, scn>::vec_type, typename TypeVec<uchar, dcn>::vec_type> scn 1623 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const scn 1634 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> scn 1635 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Lab<float, scn, dcn, srgb, blueIdx> scn 1636 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<float, scn>::vec_type, typename TypeVec<float, dcn>::vec_type> scn 1638 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const scn 1651 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2Lab_TRAITS(name, scn, dcn, srgb, blueIdx) \ scn 1731 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB; scn 1732 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> scn 1733 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Lab2RGB<uchar, scn, dcn, srgb, blueIdx> scn 1734 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<uchar, scn>::vec_type, typename TypeVec<uchar, dcn>::vec_type> scn 1736 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const scn 1747 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> scn 1748 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Lab2RGB<float, scn, dcn, srgb, blueIdx> scn 1749 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<float, scn>::vec_type, typename TypeVec<float, dcn>::vec_type> scn 1751 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const scn 1764 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_Lab2RGB_TRAITS(name, scn, dcn, srgb, blueIdx) \ scn 1830 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv; scn 1831 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> scn 1832 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Luv<uchar, scn, dcn, srgb, blueIdx> scn 1833 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<uchar, scn>::vec_type, typename TypeVec<uchar, dcn>::vec_type> scn 1835 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const scn 1846 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> scn 1847 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Luv<float, scn, dcn, srgb, blueIdx> scn 1848 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<float, scn>::vec_type, typename TypeVec<float, dcn>::vec_type> scn 1850 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const scn 1863 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2Luv_TRAITS(name, scn, dcn, srgb, blueIdx) \ scn 1931 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB; scn 1932 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> scn 1933 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Luv2RGB<uchar, scn, dcn, srgb, blueIdx> scn 1934 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<uchar, scn>::vec_type, typename TypeVec<uchar, dcn>::vec_type> scn 1936 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const scn 1947 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> scn 1948 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Luv2RGB<float, scn, dcn, srgb, blueIdx> scn 1949 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<float, scn>::vec_type, typename TypeVec<float, dcn>::vec_type> scn 1951 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const scn 1964 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_Luv2RGB_TRAITS(name, scn, dcn, srgb, blueIdx) \ scn 1410 modules/core/src/arithm.cpp int scn = (int)sc.total(), cn = CV_MAT_CN(buftype); scn 1412 modules/core/src/arithm.cpp getConvertFunc(sc.depth(), buftype)(sc.ptr(), 1, 0, 1, scbuf, 1, Size(std::min(cn, scn), 1), 0); scn 1414 modules/core/src/arithm.cpp if( scn < cn ) scn 1416 modules/core/src/arithm.cpp CV_Assert( scn == 1 ); scn 1303 modules/core/src/convert.cpp int scn = fromTo[i<<1], dcn = fromTo[(i<<1) + 1]; scn 1306 modules/core/src/convert.cpp getUMatIndex(src, scn, src_idx, src_cnidx); scn 1430 modules/core/src/convert.cpp int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), scn = CV_MAT_CN(stype); scn 1433 modules/core/src/convert.cpp CV_Assert( 0 <= coi && coi < dcn && scn == 1 ); scn 1472 modules/core/src/matmul.cpp transform_( const T* src, T* dst, const WT* m, int len, int scn, int dcn ) scn 1476 modules/core/src/matmul.cpp if( scn == 2 && dcn == 2 ) scn 1486 modules/core/src/matmul.cpp else if( scn == 3 && dcn == 3 ) scn 1497 modules/core/src/matmul.cpp else if( scn == 3 && dcn == 1 ) scn 1502 modules/core/src/matmul.cpp else if( scn == 4 && dcn == 4 ) scn 1517 modules/core/src/matmul.cpp for( x = 0; x < len; x++, src += scn, dst += dcn ) scn 1521 modules/core/src/matmul.cpp for( j = 0; j < dcn; j++, _m += scn + 1 ) scn 1523 modules/core/src/matmul.cpp WT s = _m[scn]; scn 1524 modules/core/src/matmul.cpp for( k = 0; k < scn; k++ ) scn 1556 modules/core/src/matmul.cpp transform_8u( const uchar* src, uchar* dst, const float* m, int len, int scn, int dcn ) scn 1562 modules/core/src/matmul.cpp if( USE_SSE2 && scn == 3 && dcn == 3 && scn 1673 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); scn 1677 modules/core/src/matmul.cpp transform_16u( const ushort* src, ushort* dst, const float* m, int len, int scn, int dcn ) scn 1680 modules/core/src/matmul.cpp if( USE_SSE2 && scn == 3 && dcn == 3 ) scn 1739 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); scn 1744 modules/core/src/matmul.cpp transform_32f( const float* src, float* dst, const float* m, int len, int scn, int dcn ) scn 1750 modules/core/src/matmul.cpp if( scn == 3 && dcn == 3 ) scn 1777 modules/core/src/matmul.cpp if( scn == 4 && dcn == 4 ) scn 1797 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); scn 1802 modules/core/src/matmul.cpp transform_8s(const schar* src, schar* dst, const float* m, int len, int scn, int dcn) scn 1804 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); scn 1808 modules/core/src/matmul.cpp transform_16s(const short* src, short* dst, const float* m, int len, int scn, int dcn) scn 1810 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); scn 1814 modules/core/src/matmul.cpp transform_32s(const int* src, int* dst, const double* m, int len, int scn, int dcn) scn 1816 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); scn 1820 modules/core/src/matmul.cpp transform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) scn 1822 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); scn 1873 modules/core/src/matmul.cpp diagtransform_8u(const uchar* src, uchar* dst, const float* m, int len, int scn, int dcn) scn 1875 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); scn 1879 modules/core/src/matmul.cpp diagtransform_8s(const schar* src, schar* dst, const float* m, int len, int scn, int dcn) scn 1881 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); scn 1885 modules/core/src/matmul.cpp diagtransform_16u(const ushort* src, ushort* dst, const float* m, int len, int scn, int dcn) scn 1887 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); scn 1891 modules/core/src/matmul.cpp diagtransform_16s(const short* src, short* dst, const float* m, int len, int scn, int dcn) scn 1893 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); scn 1897 modules/core/src/matmul.cpp diagtransform_32s(const int* src, int* dst, const double* m, int len, int scn, int dcn) scn 1899 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); scn 1903 modules/core/src/matmul.cpp diagtransform_32f(const float* src, float* dst, const float* m, int len, int scn, int dcn) scn 1905 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); scn 1909 modules/core/src/matmul.cpp diagtransform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) scn 1911 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); scn 1946 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows; scn 1947 modules/core/src/matmul.cpp CV_Assert( scn == m.cols || scn + 1 == m.cols ); scn 1957 modules/core/src/matmul.cpp if( !m.isContinuous() || m.type() != mtype || m.cols != scn + 1 ) scn 1959 modules/core/src/matmul.cpp _mbuf.allocate(dcn*(scn+1)); scn 1961 modules/core/src/matmul.cpp Mat tmp(dcn, scn+1, mtype, mbuf); scn 1963 modules/core/src/matmul.cpp if( m.cols == scn+1 ) scn 1975 modules/core/src/matmul.cpp if( scn == dcn ) scn 1980 modules/core/src/matmul.cpp if( scn == 1 ) scn 1991 modules/core/src/matmul.cpp for( i = 0, isDiag = true; isDiag && i < scn; i++ ) scn 1993 modules/core/src/matmul.cpp for( j = 0; isDiag && j < scn; j++ ) scn 2011 modules/core/src/matmul.cpp func( ptrs[0], ptrs[1], (uchar*)mbuf, (int)total, scn, dcn ); scn 2022 modules/core/src/matmul.cpp perspectiveTransform_( const T* src, T* dst, const double* m, int len, int scn, int dcn ) scn 2027 modules/core/src/matmul.cpp if( scn == 2 && dcn == 2 ) scn 2044 modules/core/src/matmul.cpp else if( scn == 3 && dcn == 3 ) scn 2062 modules/core/src/matmul.cpp else if( scn == 3 && dcn == 2 ) scn 2081 modules/core/src/matmul.cpp for( i = 0; i < len; i++, src += scn, dst += dcn ) scn 2083 modules/core/src/matmul.cpp const double* _m = m + dcn*(scn + 1); scn 2084 modules/core/src/matmul.cpp double w = _m[scn]; scn 2086 modules/core/src/matmul.cpp for( k = 0; k < scn; k++ ) scn 2091 modules/core/src/matmul.cpp for( j = 0; j < dcn; j++, _m += scn + 1 ) scn 2093 modules/core/src/matmul.cpp double s = _m[scn]; scn 2094 modules/core/src/matmul.cpp for( k = 0; k < scn; k++ ) scn 2108 modules/core/src/matmul.cpp perspectiveTransform_32f(const float* src, float* dst, const double* m, int len, int scn, int dcn) scn 2110 modules/core/src/matmul.cpp perspectiveTransform_(src, dst, m, len, scn, dcn); scn 2114 modules/core/src/matmul.cpp perspectiveTransform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) scn 2116 modules/core/src/matmul.cpp perspectiveTransform_(src, dst, m, len, scn, dcn); scn 2124 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows-1; scn 2125 modules/core/src/matmul.cpp CV_Assert( scn + 1 == m.cols ); scn 2137 modules/core/src/matmul.cpp _mbuf.allocate((dcn+1)*(scn+1)); scn 2138 modules/core/src/matmul.cpp Mat tmp(dcn+1, scn+1, mtype, (double*)_mbuf); scn 2156 modules/core/src/matmul.cpp func( ptrs[0], ptrs[1], (uchar*)mbuf, (int)total, scn, dcn ); scn 212 modules/cudafilters/src/filtering.cpp const int scn = CV_MAT_CN(srcType); scn 217 modules/cudafilters/src/filtering.cpp CV_Assert( scn == 1 || scn == 4 ); scn 83 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); scn 122 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); scn 59 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2RGB_INST(name, scn, dcn, bidx) \ scn 60 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2RGB<SrcDepth, scn, dcn, bidx> \ scn 75 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2GRAY_INST(name, scn, bidx) \ scn 76 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Gray<SrcDepth, scn, bidx> \ scn 101 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2YUV_INST(name, scn, dcn, bidx) \ scn 102 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2YUV<SrcDepth, scn, dcn, bidx> \ scn 119 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_YUV2RGB_INST(name, scn, dcn, bidx) \ scn 120 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::YUV2RGB<SrcDepth, scn, dcn, bidx> \ scn 137 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2YCrCb_INST(name, scn, dcn, bidx) \ scn 138 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2YCrCb<SrcDepth, scn, dcn, bidx> \ scn 155 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_YCrCb2RGB_INST(name, scn, dcn, bidx) \ scn 156 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::YCrCb2RGB<SrcDepth, scn, dcn, bidx> \ scn 173 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2XYZ_INST(name, scn, dcn, bidx) \ scn 174 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2XYZ<SrcDepth, scn, dcn, bidx> \ scn 191 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_XYZ2RGB_INST(name, scn, dcn, bidx) \ scn 192 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::XYZ2RGB<SrcDepth, scn, dcn, bidx> \ scn 209 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2HSV_INST(name, scn, dcn, bidx) \ scn 210 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2HSV<SrcDepth, scn, dcn, bidx, 180> \ scn 213 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::RGB2HSV<SrcDepth, scn, dcn, bidx, 256> \ scn 216 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::RGB2HSV<float, scn, dcn, bidx, 360> \ scn 219 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::RGB2HSV<float, scn, dcn, bidx, 360> \ scn 236 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_HSV2RGB_INST(name, scn, dcn, bidx) \ scn 237 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::HSV2RGB<SrcDepth, scn, dcn, bidx, 180> \ scn 240 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::HSV2RGB<SrcDepth, scn, dcn, bidx, 255> \ scn 243 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::HSV2RGB<float, scn, dcn, bidx, 360> \ scn 246 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::HSV2RGB<float, scn, dcn, bidx, 360> \ scn 263 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2HLS_INST(name, scn, dcn, bidx) \ scn 264 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2HLS<SrcDepth, scn, dcn, bidx, 180> \ scn 267 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::RGB2HLS<SrcDepth, scn, dcn, bidx, 256> \ scn 270 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::RGB2HLS<float, scn, dcn, bidx, 360> \ scn 273 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::RGB2HLS<float, scn, dcn, bidx, 360> \ scn 290 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_HLS2RGB_INST(name, scn, dcn, bidx) \ scn 291 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::HLS2RGB<SrcDepth, scn, dcn, bidx, 180> \ scn 294 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::HLS2RGB<SrcDepth, scn, dcn, bidx, 255> \ scn 297 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::HLS2RGB<float, scn, dcn, bidx, 360> \ scn 300 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::HLS2RGB<float, scn, dcn, bidx, 360> \ scn 317 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2Lab_INST(name, scn, dcn, sRGB, blueIdx) \ scn 318 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Lab<SrcDepth, scn, dcn, sRGB, blueIdx> \ scn 344 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_Lab2RGB_INST(name, scn, dcn, sRGB, blueIdx) \ scn 345 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::Lab2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \ scn 371 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2Luv_INST(name, scn, dcn, sRGB, blueIdx) \ scn 372 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Luv<SrcDepth, scn, dcn, sRGB, blueIdx> \ scn 398 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_Luv2RGB_INST(name, scn, dcn, sRGB, blueIdx) \ scn 399 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::Luv2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \ scn 425 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2RGB5x5_INST(name, scn, bidx, green_bits) \ scn 426 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp typedef cv::cudev::color_cvt_detail::RGB2RGB5x5<scn, bidx, green_bits> name ## _func; scn 106 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2RGB scn 107 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> scn 109 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const scn 124 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int bidx, int green_bits> struct RGB2RGB5x5; scn 126 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int bidx> struct RGB2RGB5x5<scn, bidx, 6> scn 127 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, ushort> scn 129 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ ushort operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 305 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int bidx> struct RGB2Gray scn 306 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, T> scn 308 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ T operator ()(const typename MakeVec<T, scn>::type& src) const scn 317 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int bidx> struct RGB2Gray<float, scn, bidx> scn 318 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, float> scn 320 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ float operator ()(const typename MakeVec<float, scn>::type& src) const scn 334 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2YUV scn 335 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> scn 337 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const scn 359 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct RGB2YUV<float, scn, dcn, bidx> scn 360 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 362 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 383 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct YUV2RGB scn 384 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> scn 386 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const scn 403 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct YUV2RGB<float, scn, dcn, bidx> scn 404 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 406 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 428 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2YCrCb scn 429 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> scn 431 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const scn 453 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct RGB2YCrCb<float, scn, dcn, bidx> scn 454 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 456 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 477 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct YCrCb2RGB scn 478 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> scn 480 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const scn 497 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct YCrCb2RGB<float, scn, dcn, bidx> scn 498 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 500 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 522 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2XYZ scn 523 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> scn 525 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const scn 541 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct RGB2XYZ<float, scn, dcn, bidx> scn 542 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 544 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 565 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct XYZ2RGB scn 566 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> scn 568 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const scn 585 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct XYZ2RGB<float, scn, dcn, bidx> scn 586 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 588 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 611 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct RGB2HSV; scn 613 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct RGB2HSV<uchar, scn, dcn, bidx, hr> scn 614 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> scn 616 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 653 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct RGB2HSV<float, scn, dcn, bidx, hr> scn 654 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 656 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 696 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct HSV2RGB; scn 698 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct HSV2RGB<float, scn, dcn, bidx, hr> scn 699 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 701 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 748 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct HSV2RGB<uchar, scn, dcn, bidx, hr> scn 749 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> scn 751 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 775 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct RGB2HLS; scn 777 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct RGB2HLS<float, scn, dcn, bidx, hr> scn 778 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 780 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 822 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct RGB2HLS<uchar, scn, dcn, bidx, hr> scn 823 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> scn 825 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 850 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct HLS2RGB; scn 852 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct HLS2RGB<float, scn, dcn, bidx, hr> scn 853 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 855 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 902 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct HLS2RGB<uchar, scn, dcn, bidx, hr> scn 903 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> scn 905 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 956 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab; scn 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> scn 959 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> scn 961 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 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> scn 1002 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 1004 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 1046 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB; scn 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> scn 1049 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 1051 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 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> scn 1105 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> scn 1107 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 1133 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv; scn 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> scn 1136 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 1138 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 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> scn 1177 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> scn 1179 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 1202 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB; scn 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> scn 1205 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> scn 1207 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const scn 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> scn 1255 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> scn 1257 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const scn 102 modules/imgproc/perf/opencl/perf_color.cpp const int code = get<0>(conversionParams), scn = get<1>(conversionParams), scn 105 modules/imgproc/perf/opencl/perf_color.cpp UMat src(srcSize, CV_8UC(scn)), dst(srcSize, CV_8UC(scn)); scn 123 modules/imgproc/perf/perf_cvt_color.cpp ChPair(int _scn, int _dcn): scn(_scn), dcn(_dcn) {} scn 124 modules/imgproc/perf/perf_cvt_color.cpp int scn, dcn; scn 255 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz, CV_8UC(ch.scn)); scn 286 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz, CV_8UC(ch.scn)); scn 311 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz.height + sz.height / 2, sz.width, CV_8UC(ch.scn)); scn 336 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz, CV_8UC(ch.scn)); scn 848 modules/imgproc/src/accum.cpp int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), scn = CV_MAT_CN(stype); scn 851 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); scn 878 modules/imgproc/src/accum.cpp else if (scn == 1) scn 899 modules/imgproc/src/accum.cpp size.width *= scn; scn 928 modules/imgproc/src/accum.cpp func(ptrs[0], ptrs[1], ptrs[2], len, scn); scn 933 modules/imgproc/src/accum.cpp int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), scn = CV_MAT_CN(stype); scn 936 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); scn 961 modules/imgproc/src/accum.cpp else if (scn == 1) scn 982 modules/imgproc/src/accum.cpp size.width *= scn; scn 1011 modules/imgproc/src/accum.cpp func(ptrs[0], ptrs[1], ptrs[2], len, scn); scn 1017 modules/imgproc/src/accum.cpp int stype = _src1.type(), sdepth = CV_MAT_DEPTH(stype), scn = CV_MAT_CN(stype); scn 1021 modules/imgproc/src/accum.cpp CV_Assert( _src1.sameSize(_dst) && dcn == scn ); scn 1047 modules/imgproc/src/accum.cpp else if (scn == 1) scn 1069 modules/imgproc/src/accum.cpp size.width *= scn; scn 1099 modules/imgproc/src/accum.cpp func(ptrs[0], ptrs[1], ptrs[2], ptrs[3], len, scn); scn 1105 modules/imgproc/src/accum.cpp int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), scn = CV_MAT_CN(stype); scn 1108 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); scn 1135 modules/imgproc/src/accum.cpp else if (scn == 1) scn 1156 modules/imgproc/src/accum.cpp size.width *= scn; scn 1185 modules/imgproc/src/accum.cpp func(ptrs[0], ptrs[1], ptrs[2], len, scn, alpha); scn 554 modules/imgproc/src/color.cpp int scn = srccn, dcn = dstcn, bidx = blueIdx; scn 558 modules/imgproc/src/color.cpp for( int i = 0; i < n; i += 3, src += scn ) scn 564 modules/imgproc/src/color.cpp else if( scn == 3 ) scn 603 modules/imgproc/src/color.cpp int scn = srccn, dcn = dstcn, bidx = blueIdx, i = 0; scn 607 modules/imgproc/src/color.cpp if (scn == 3) scn 658 modules/imgproc/src/color.cpp else if (scn == 3) scn 855 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx, i = 0; scn 858 modules/imgproc/src/color.cpp if (scn == 3) scn 889 modules/imgproc/src/color.cpp else if (scn == 3) scn 1266 modules/imgproc/src/color.cpp int scn = srccn; scn 1268 modules/imgproc/src/color.cpp for(int i = 0; i < n; i++, src += scn) scn 1296 modules/imgproc/src/color.cpp int scn = srccn; scn 1298 modules/imgproc/src/color.cpp for(int i = 0; i < n; i++, src += scn) scn 1328 modules/imgproc/src/color.cpp int scn = srccn, cb = coeffs[0], cg = coeffs[1], cr = coeffs[2], i = 0; scn 1330 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) scn 1333 modules/imgproc/src/color.cpp if (scn == 3) scn 1363 modules/imgproc/src/color.cpp for ( ; i <= n - 4; i += 4, src += scn * 4) scn 1366 modules/imgproc/src/color.cpp if (scn == 3) scn 1389 modules/imgproc/src/color.cpp for( ; i < n; i++, src += scn) scn 1417 modules/imgproc/src/color.cpp int scn = srccn, i = 0; scn 1420 modules/imgproc/src/color.cpp if (scn == 3) scn 1422 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) scn 1427 modules/imgproc/src/color.cpp v_src = vld3q_f32(src + scn * 4); scn 1431 modules/imgproc/src/color.cpp for ( ; i <= n - 4; i += 4, src += scn * 4) scn 1439 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) scn 1444 modules/imgproc/src/color.cpp v_src = vld4q_f32(src + scn * 4); scn 1448 modules/imgproc/src/color.cpp for ( ; i <= n - 4; i += 4, src += scn * 4) scn 1455 modules/imgproc/src/color.cpp for ( ; i < n; i++, src += scn) scn 1515 modules/imgproc/src/color.cpp int scn = srccn, cb = coeffs[0], cg = coeffs[1], cr = coeffs[2], i = 0; scn 1517 modules/imgproc/src/color.cpp if (scn == 3 && haveSIMD) scn 1519 modules/imgproc/src/color.cpp for ( ; i <= n - 16; i += 16, src += scn * 16) scn 1542 modules/imgproc/src/color.cpp else if (scn == 4 && haveSIMD) scn 1544 modules/imgproc/src/color.cpp for ( ; i <= n - 16; i += 16, src += scn * 16) scn 1570 modules/imgproc/src/color.cpp for( ; i < n; i++, src += scn) scn 1611 modules/imgproc/src/color.cpp int scn = srccn, i = 0; scn 1614 modules/imgproc/src/color.cpp if (scn == 3 && haveSIMD) scn 1616 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) scn 1639 modules/imgproc/src/color.cpp else if (scn == 4 && haveSIMD) scn 1641 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) scn 1667 modules/imgproc/src/color.cpp for ( ; i < n; i++, src += scn) scn 1693 modules/imgproc/src/color.cpp int scn = srccn, cb = coeffs[0], cg = coeffs[1], cr = coeffs[2]; scn 1694 modules/imgproc/src/color.cpp for(int i = 0; i < n; i++, src += scn) scn 1718 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx; scn 1722 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, src += scn) scn 1759 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx, i = 0; scn 1764 modules/imgproc/src/color.cpp if (scn == 3) scn 1786 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 1837 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx, i = 0; scn 1844 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += 8 * scn) scn 1853 modules/imgproc/src/color.cpp if (scn == 4) scn 1882 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 1911 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx; scn 1915 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, src += scn) scn 1955 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx, i = 0; scn 1960 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += scn * 8) scn 1965 modules/imgproc/src/color.cpp if (scn == 3) scn 2010 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 2049 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx, i = 0; scn 2054 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += scn * 8) scn 2059 modules/imgproc/src/color.cpp if (scn == 3) scn 2098 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, src += scn * 4) scn 2103 modules/imgproc/src/color.cpp if (scn == 3) scn 2132 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 2213 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx, i = 0; scn 2220 modules/imgproc/src/color.cpp for ( ; i <= n - 96; i += 96, src += scn * 32) scn 2229 modules/imgproc/src/color.cpp if (scn == 4) scn 2280 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 2363 modules/imgproc/src/color.cpp int scn = srccn, bidx = blueIdx, i = 0; scn 2370 modules/imgproc/src/color.cpp for ( ; i <= n - 48; i += 48, src += scn * 16) scn 2379 modules/imgproc/src/color.cpp if (scn == 4) scn 2409 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 3148 modules/imgproc/src/color.cpp int scn = srccn; scn 3154 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, src += scn) scn 3196 modules/imgproc/src/color.cpp int scn = srccn, i = 0; scn 3203 modules/imgproc/src/color.cpp if (scn == 3) scn 3223 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 3285 modules/imgproc/src/color.cpp int scn = srccn, i = 0; scn 3294 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += 8 * scn) scn 3303 modules/imgproc/src/color.cpp if (scn == 4) scn 3333 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 3374 modules/imgproc/src/color.cpp int scn = srccn; scn 3380 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, src += scn) scn 3430 modules/imgproc/src/color.cpp int scn = srccn, i = 0; scn 3436 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += scn * 8) scn 3441 modules/imgproc/src/color.cpp if (scn == 3) scn 3485 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 3537 modules/imgproc/src/color.cpp int scn = srccn, i = 0; scn 3543 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += scn * 8) scn 3547 modules/imgproc/src/color.cpp if (scn == 3) scn 3586 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, src += scn * 4) scn 3591 modules/imgproc/src/color.cpp if (scn == 3) scn 3617 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) scn 4132 modules/imgproc/src/color.cpp int i, bidx = blueIdx, scn = srccn; scn 4156 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) scn 4197 modules/imgproc/src/color.cpp int i, bidx = blueIdx, scn = srccn; scn 4201 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) scn 4513 modules/imgproc/src/color.cpp int i, bidx = blueIdx, scn = srccn; scn 4517 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) scn 4603 modules/imgproc/src/color.cpp int i, j, scn = srccn; scn 4612 modules/imgproc/src/color.cpp for ( ; j <= (dn - 8) * 3; j += 24, src += 8 * scn) scn 4616 modules/imgproc/src/color.cpp if (scn == 3) scn 4643 modules/imgproc/src/color.cpp if (scn == 3 && haveSIMD) scn 4663 modules/imgproc/src/color.cpp for( ; j < dn*3; j += 3, src += scn ) scn 5109 modules/imgproc/src/color.cpp int i, scn = srccn; scn 5115 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) scn 5173 modules/imgproc/src/color.cpp int i, scn = srccn; scn 5183 modules/imgproc/src/color.cpp for (i = 0; i < n; i += 3, src += scn ) scn 5553 modules/imgproc/src/color.cpp int i, scn = srccn; scn 5562 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) scn 5727 modules/imgproc/src/color.cpp int i, j, scn = srccn; scn 5736 modules/imgproc/src/color.cpp for ( ; j <= (dn - 8) * 3; j += 24, src += 8 * scn) scn 5740 modules/imgproc/src/color.cpp if (scn == 3) scn 5767 modules/imgproc/src/color.cpp if (scn == 3 && haveSIMD) scn 5787 modules/imgproc/src/color.cpp for( ; j < dn*3; j += 3, src += scn ) scn 6683 modules/imgproc/src/color.cpp int scn = src.channels(), depth = src.depth(), bidx, uidx, yidx; scn 6696 modules/imgproc/src/color.cpp depth, scn, pxPerWIy); scn 6703 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); scn 6715 modules/imgproc/src/color.cpp CV_Assert((dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U); scn 6727 modules/imgproc/src/color.cpp CV_Assert((scn == 3 || scn == 4) && depth == CV_8U ); scn 6739 modules/imgproc/src/color.cpp CV_Assert(scn == 2 && depth == CV_8U); scn 6748 modules/imgproc/src/color.cpp CV_Assert(scn == 1 && depth == CV_8U); scn 6758 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); scn 6770 modules/imgproc/src/color.cpp CV_Assert(scn == 1); scn 6779 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); scn 6799 modules/imgproc/src/color.cpp CV_Assert( scn == 1 ); scn 6817 modules/imgproc/src/color.cpp CV_Assert( scn == 1 ); scn 6856 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); scn 6892 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); scn 6902 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); scn 6914 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4)); scn 6922 modules/imgproc/src/color.cpp CV_Assert(scn == 3 || scn == 4); scn 6973 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4)); scn 7023 modules/imgproc/src/color.cpp CV_Assert((scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F)); scn 7092 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F)); scn 7108 modules/imgproc/src/color.cpp CV_Assert(scn == 4 && depth == CV_8U); scn 7118 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); scn 7243 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); scn 7335 modules/imgproc/src/color.cpp int scn = CV_MAT_CN(stype), depth = CV_MAT_DEPTH(stype), bidx; scn 7349 modules/imgproc/src/color.cpp CV_Assert( scn == 3 || scn == 4 ); scn 7424 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<uchar>(scn, dcn, bidx)); scn 7427 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<ushort>(scn, dcn, bidx)); scn 7429 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<float>(scn, dcn, bidx)); scn 7434 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); scn 7443 modules/imgproc/src/color.cpp if (code == CV_BGR2BGR565 && scn == 3) scn 7452 modules/imgproc/src/color.cpp else if (code == CV_BGRA2BGR565 && scn == 4) scn 7463 modules/imgproc/src/color.cpp else if (code == CV_RGB2BGR565 && scn == 3) scn 7473 modules/imgproc/src/color.cpp else if (code == CV_RGBA2BGR565 && scn == 4) scn 7493 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB5x5(scn, scn 7504 modules/imgproc/src/color.cpp CV_Assert( (dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U ); scn 7564 modules/imgproc/src/color.cpp CV_Assert( scn == 3 || scn == 4 ); scn 7618 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Gray<uchar>(scn, bidx, 0)); scn 7621 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Gray<ushort>(scn, bidx, 0)); scn 7623 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Gray<float>(scn, bidx, 0)); scn 7627 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); scn 7636 modules/imgproc/src/color.cpp CV_Assert( scn == 1 && (dcn == 3 || dcn == 4)); scn 7680 modules/imgproc/src/color.cpp CV_Assert( scn == 1 && depth == CV_8U ); scn 7690 modules/imgproc/src/color.cpp CV_Assert( scn == 3 || scn == 4 ); scn 7703 modules/imgproc/src/color.cpp if (code == CV_RGB2YUV && scn == 3 && depth == CV_8U) scn 7712 modules/imgproc/src/color.cpp else if (code == CV_BGR2YUV && scn == 3 && depth == CV_8U) scn 7722 modules/imgproc/src/color.cpp else if (code == CV_RGB2YUV && scn == 4 && depth == CV_8U) scn 7732 modules/imgproc/src/color.cpp else if (code == CV_BGR2YUV && scn == 4 && depth == CV_8U) scn 7751 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2YCrCb_i<uchar>(scn, bidx, coeffs_i)); scn 7754 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2YCrCb_i<ushort>(scn, bidx, coeffs_i)); scn 7756 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2YCrCb_f<float>(scn, bidx, coeffs_f)); scn 7764 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) ); scn 7829 modules/imgproc/src/color.cpp CV_Assert( scn == 3 || scn == 4 ); scn 7838 modules/imgproc/src/color.cpp if( code == CV_BGR2XYZ && scn == 3 && depth != CV_32F ) scn 7847 modules/imgproc/src/color.cpp else if( code == CV_BGR2XYZ && scn == 4 && depth != CV_32F ) scn 7856 modules/imgproc/src/color.cpp else if( code == CV_RGB2XYZ && scn == 3 && depth != CV_32F ) scn 7865 modules/imgproc/src/color.cpp else if( code == CV_RGB2XYZ && scn == 4 && depth != CV_32F ) scn 7878 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2XYZ_i<uchar>(scn, bidx, 0)); scn 7880 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2XYZ_i<ushort>(scn, bidx, 0)); scn 7882 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2XYZ_f<float>(scn, bidx, 0)); scn 7887 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) ); scn 7946 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); scn 7961 modules/imgproc/src/color.cpp if( code == CV_BGR2HSV_FULL && scn == 3 ) scn 7970 modules/imgproc/src/color.cpp else if( code == CV_BGR2HSV_FULL && scn == 4 ) scn 7979 modules/imgproc/src/color.cpp else if( code == CV_RGB2HSV_FULL && scn == 4 ) scn 7989 modules/imgproc/src/color.cpp if( code == CV_RGB2HSV_FULL && scn == 3 && depth == CV_16U ) scn 7998 modules/imgproc/src/color.cpp else if( code == CV_BGR2HLS_FULL && scn == 3 ) scn 8007 modules/imgproc/src/color.cpp else if( code == CV_BGR2HLS_FULL && scn == 4 ) scn 8016 modules/imgproc/src/color.cpp else if( code == CV_RGB2HLS_FULL && scn == 3 ) scn 8025 modules/imgproc/src/color.cpp else if( code == CV_RGB2HLS_FULL && scn == 4 ) scn 8046 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2HSV_b(scn, bidx, hrange)); scn 8048 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2HSV_f(scn, bidx, (float)hrange)); scn 8053 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2HLS_b(scn, bidx, hrange)); scn 8055 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2HLS_f(scn, bidx, (float)hrange)); scn 8064 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); scn 8175 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) ); scn 8187 modules/imgproc/src/color.cpp if (code == CV_LBGR2Lab && scn == 3 && depth == CV_8U) scn 8196 modules/imgproc/src/color.cpp else if (code == CV_LBGR2Lab && scn == 4 && depth == CV_8U) scn 8207 modules/imgproc/src/color.cpp if (code == CV_LRGB2Lab && scn == 3 && depth == CV_8U) // slower than OpenCV scn 8217 modules/imgproc/src/color.cpp else if (code == CV_LRGB2Lab && scn == 4 && depth == CV_8U) // slower than OpenCV scn 8227 modules/imgproc/src/color.cpp else if (code == CV_LRGB2Luv && scn == 3) scn 8236 modules/imgproc/src/color.cpp else if (code == CV_LRGB2Luv && scn == 4) scn 8246 modules/imgproc/src/color.cpp else if (code == CV_LBGR2Luv && scn == 3) scn 8256 modules/imgproc/src/color.cpp else if (code == CV_LBGR2Luv && scn == 4) scn 8273 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Lab_b(scn, bidx, 0, 0, srgb)); scn 8275 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Lab_f(scn, bidx, 0, 0, srgb)); scn 8280 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Luv_b(scn, bidx, 0, 0, srgb)); scn 8282 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Luv_f(scn, bidx, 0, 0, srgb)); scn 8291 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); scn 8506 modules/imgproc/src/color.cpp CV_Assert( (scn == 3 || scn == 4) && depth == CV_8U ); scn 8538 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); scn 8570 modules/imgproc/src/color.cpp CV_Assert( scn == 2 && depth == CV_8U ); scn 8578 modules/imgproc/src/color.cpp CV_Assert( scn == 4 && dcn == 4 ); scn 8607 modules/imgproc/src/color.cpp CV_Assert( scn == 4 && dcn == 4 ); scn 1620 modules/imgproc/src/demosaicing.cpp int scn = src.channels(), depth = src.depth(); scn 1630 modules/imgproc/src/demosaicing.cpp CV_Assert( scn == 1 && dcn == 1 ); scn 1648 modules/imgproc/src/demosaicing.cpp CV_Assert( scn == 1 && (dcn == 3 || dcn == 4) ); scn 1675 modules/imgproc/src/demosaicing.cpp CV_Assert(scn == 1 && dcn == 3); scn 1743 modules/imgproc/test/test_color.cpp const int scn = 1; scn 1744 modules/imgproc/test/test_color.cpp bayer.create(ssize, CV_MAKETYPE(depth, scn)); scn 617 modules/imgproc/test/test_cvtyuv.cpp const int scn = cvt.getScn(); scn 627 modules/imgproc/test/test_cvtyuv.cpp Mat src = Mat(srcSize.height, srcSize.width * scn, CV_8UC1).reshape(scn); scn 655 modules/imgproc/test/test_cvtyuv.cpp const int scn = cvt.getScn(); scn 670 modules/imgproc/test/test_cvtyuv.cpp Mat src_full(srcSize.height + roi_offset_top + roi_offset_bottom, srcSize.width + roi_offset_left + roi_offset_right, CV_8UC(scn)); scn 169 modules/superres/src/input_array_utility.cpp int scn = src.channels(); scn 170 modules/superres/src/input_array_utility.cpp CV_Assert( scn == 1 || scn == 3 || scn == 4 ); scn 182 modules/superres/src/input_array_utility.cpp const int code = codes[scn][cn]; scn 98 modules/ts/include/opencv2/ts/cuda_perf.hpp int scn; scn 103 modules/ts/include/opencv2/ts/cuda_perf.hpp explicit CvtColorInfo(int scn_, int dcn_, int code_) : scn(scn_), dcn(dcn_), code(code_) {} scn 2273 modules/ts/src/ts_func.cpp transform_(const _Tp* sptr, _Tp* dptr, size_t total, int scn, int dcn, const double* mat) scn 2275 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++, sptr += scn, dptr += dcn ) scn 2279 modules/ts/src/ts_func.cpp double s = mat[j*(scn + 1) + scn]; scn 2280 modules/ts/src/ts_func.cpp for( int k = 0; k < scn; k++ ) scn 2281 modules/ts/src/ts_func.cpp s += mat[j*(scn + 1) + k]*sptr[k]; scn 2292 modules/ts/src/ts_func.cpp int scn = src.channels(); scn 2299 modules/ts/src/ts_func.cpp CV_Assert( scn <= 4 && dcn <= 4 && scn 2308 modules/ts/src/ts_func.cpp mat[i*(scn+1)+scn] = 0.; scn 2310 modules/ts/src/ts_func.cpp mat[i*(scn+1)+j] = transmat.at<float>(i,j); scn 2312 modules/ts/src/ts_func.cpp mat[i*(scn+1)+scn] = shift.at<float>(i); scn 2319 modules/ts/src/ts_func.cpp mat[i*(scn+1)+scn] = 0.; scn 2321 modules/ts/src/ts_func.cpp mat[i*(scn+1)+j] = transmat.at<double>(i,j); scn 2323 modules/ts/src/ts_func.cpp mat[i*(scn+1)+scn] = shift.at<double>(i); scn 2341 modules/ts/src/ts_func.cpp transform_((const uchar*)sptr, (uchar*)dptr, total, scn, dcn, mat); scn 2344 modules/ts/src/ts_func.cpp transform_((const schar*)sptr, (schar*)dptr, total, scn, dcn, mat); scn 2347 modules/ts/src/ts_func.cpp transform_((const ushort*)sptr, (ushort*)dptr, total, scn, dcn, mat); scn 2350 modules/ts/src/ts_func.cpp transform_((const short*)sptr, (short*)dptr, total, scn, dcn, mat); scn 2353 modules/ts/src/ts_func.cpp transform_((const int*)sptr, (int*)dptr, total, scn, dcn, mat); scn 2356 modules/ts/src/ts_func.cpp transform_((const float*)sptr, (float*)dptr, total, scn, dcn, mat); scn 2359 modules/ts/src/ts_func.cpp transform_((const double*)sptr, (double*)dptr, total, scn, dcn, mat);