Loading...
Searching...
No Matches
cv::cudev::InRangeFunc< T, cn > Struct Template Reference
unary_function implementation of inRange More...
#include <opencv2/cudev/functional/functional.hpp>
Inheritance diagram for cv::cudev::InRangeFunc< T, cn >:
Public Member Functions | |
__host__ | InRangeFunc (const Scalar &lowerb_scalar, const Scalar &upperb_scalar) |
Builds an InRangeFunc with the given lower and upper bound scalars. | |
__device__ uchar | operator() (const typename MakeVec< T, cn >::type &src) const |
Public Attributes | |
MakeVec< T, cn >::type | lowerb |
MakeVec< T, cn >::type | upperb |
Detailed Description
template<typename T, int cn>
struct cv::cudev::InRangeFunc< T, cn >
struct cv::cudev::InRangeFunc< T, cn >
unary_function implementation of inRange
Intended to be used to create an Op for gridTransformUnary
- Template Parameters
-
T underlying floating point/integral type cn total number of channels in the source image
Constructor & Destructor Documentation
◆ InRangeFunc()
template<typename T , int cn>
|
inline |
Builds an InRangeFunc with the given lower and upper bound scalars.
- Parameters
-
lowerb_scalar inclusive lower bound upperb_scalar inclusive upper bound
Member Function Documentation
◆ operator()()
template<typename T , int cn>
|
inline |
Member Data Documentation
◆ lowerb
template<typename T , int cn>
MakeVec<T,cn>::type cv::cudev::InRangeFunc< T, cn >::lowerb |
◆ upperb
template<typename T , int cn>
MakeVec<T,cn>::type cv::cudev::InRangeFunc< T, cn >::upperb |
The documentation for this struct was generated from the following file:
- opencv2/cudev/functional/functional.hpp