OpenCV
5.0.0-pre
Open Source Computer Vision
|
Functor that checks if a CUDA vector v is in the range between lowerb and upperb. More...
#include <opencv2/cudev/functional/functional.hpp>
Public Member Functions | |
__device__ bool | operator() (const typename MakeVec< T, cn >::type &lowerb, const typename MakeVec< T, cn >::type &upperb, const typename MakeVec< T, cn >::type &v) const |
Functor that checks if a CUDA vector v is in the range between lowerb and upperb.
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) |
lowerb | inclusive scalar lower bound, as a CUDA vector, e.g. a uchar3 |
upperb | inclusive scalar upper bound, as a CUDA vector, e.g. a uchar3 |
v | scalar to check, as a CUDA vector, e.g. a uchar3 |
__device__ bool cv::cudev::InRangeComparator< T, cn, i >::operator() | ( | const typename MakeVec< T, cn >::type & | lowerb, |
const typename MakeVec< T, cn >::type & | upperb, | ||
const typename MakeVec< T, cn >::type & | v | ||
) | const |