OpenCV
4.7.0-dev
Open Source Computer Vision
|
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 |
Functor that copies a cv::Scalar into a CUDA vector, e.g. a uchar3.
Implemented as a recursive template
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) |
in | cv::Scalar to copy from |
out | CUDA vector to copy into, e.g. a uchar3 |
void cv::cudev::InRangeCopier< T, cn, i >::operator() | ( | const Scalar & | in, |
typename MakeVec< T, cn >::type & | out | ||
) | const |