Struct cv::cudev::InRangeCopier#
Functor that copies a cv::Scalar into a CUDA vector, e.g. a uchar3. View details
#include <opencv2/cudev/functional/functional.hpp>Collaboration diagram for cv::cudev::InRangeCopier:
Detailed Description#
-
template<typename T, int cn, int i>
struct InRangeCopier 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)
- Param in:
cv::Scalar to copy from
- Param out:
CUDA vector to copy into, e.g. a uchar3
Member Function Documentation#
operator()()#
void cv::cudev::InRangeCopier::operator()(
const Scalar & in,
typename MakeVec< T, cn >::type & out )
Source file#
The documentation for this struct was generated from the following file:
opencv2/cudev/functional/functional.hpp