Loading...
Searching...
No Matches
cv::cudev::InRangeCopier< T, cn, i > Struct Template Reference
Functor that copies a cv::Scalar into a CUDA vector, e.g. a uchar3. More...
#include <opencv2/cudev/functional/functional.hpp>
Public Member Functions | |
void | operator() (const Scalar &in, typename MakeVec< T, cn >::type &out) const |
Detailed Description
template<typename T, int cn, int i>
struct cv::cudev::InRangeCopier< T, cn, i >
struct cv::cudev::InRangeCopier< T, cn, i >
Functor that copies a cv::Scalar into a CUDA vector, e.g. a uchar3.
Implemented as a recursive template
- Template Parameters
-
T underlying floating point/integral type cn total number of channels in the input arguments i number of the channel to check (will check this channel and lower)
- Parameters
-
in cv::Scalar to copy from out CUDA vector to copy into, e.g. a uchar3
Member Function Documentation
◆ operator()()
template<typename T , int cn, int i>
void cv::cudev::InRangeCopier< T, cn, i >::operator() | ( | const Scalar & | in, |
typename MakeVec< T, cn >::type & | out | ||
) | const |
The documentation for this struct was generated from the following file:
- opencv2/cudev/functional/functional.hpp