OpenCV 5.0.0-pre
Open Source Computer Vision
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>

Collaboration diagram for cv::cudev::InRangeCopier< T, cn, i >:

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 >

Functor that copies a cv::Scalar into a CUDA vector, e.g. a uchar3.

Implemented as a recursive template

Template Parameters
Tunderlying floating point/integral type
cntotal number of channels in the input arguments
inumber of the channel to check (will check this channel and lower)
Parameters
incv::Scalar to copy from
outCUDA 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: