Home
last modified time | relevance | path

Searched defs:RGB2Gray (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/modules/imgproc/src/
Dcolor.cpp1252 template<typename _Tp> struct RGB2Gray struct
1254 typedef _Tp channel_type;
1256 RGB2Gray(int _srccn, int blueIdx, const float* _coeffs) : srccn(_srccn) in RGB2Gray() function
1264 void operator()(const _Tp* src, _Tp* dst, int n) const in operator ()()
1271 int srccn;
1272 float coeffs[3];
1275 template<> struct RGB2Gray<uchar> struct
1277 typedef uchar channel_type;
1279 RGB2Gray(int _srccn, int blueIdx, const int* coeffs) : srccn(_srccn) in RGB2Gray() function
1294 void operator()(const uchar* src, uchar* dst, int n) const in operator ()()
[all …]
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dcolor_detail.hpp462 …template <typename T, int scn, int bidx> struct RGB2Gray : unary_function<typename TypeVec<T, scn>… struct
468 __host__ __device__ __forceinline__ RGB2Gray() {} in RGB2Gray() function
469 __host__ __device__ __forceinline__ RGB2Gray(const RGB2Gray&) {} in RGB2Gray() function
472 template <int bidx> struct RGB2Gray<uchar, 4, bidx> : unary_function<uint, uchar> struct
478 __host__ __device__ __forceinline__ RGB2Gray() {} in RGB2Gray() function
479 __host__ __device__ __forceinline__ RGB2Gray(const RGB2Gray&) {} in RGB2Gray() function
486 typedef ::cv::cuda::device::color_detail::RGB2Gray<T, scn, bidx> functor_type; \
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp305 template <typename T, int scn, int bidx> struct RGB2Gray struct
308 __device__ T operator ()(const typename MakeVec<T, scn>::type& src) const in operator ()()
317 template <int scn, int bidx> struct RGB2Gray<float, scn, bidx> struct
320 __device__ float operator ()(const typename MakeVec<float, scn>::type& src) const in operator ()()