![]() |
OpenCV
4.5.3
Open Source Computer Vision
|
unary_function implementation of inRange More...
#include <opencv2/cudev/functional/functional.hpp>
Public Member Functions | |
| __host__ | InRangeFunc (const Scalar &lowerb_scalar, const Scalar &upperb_scalar) |
| Builds an InRangeFunc with the given lower and upper bound scalars. More... | |
| __device__ uchar | operator() (const typename MakeVec< T, cn >::type &src) const |
Public Attributes | |
| MakeVec< T, cn >::type | lowerb |
| MakeVec< T, cn >::type | upperb |
unary_function implementation of inRange
Intended to be used to create an Op for gridTransformUnary
| T | underlying floating point/integral type |
| cn | total number of channels in the source image |
|
inline |
Builds an InRangeFunc with the given lower and upper bound scalars.
| lowerb_scalar | inclusive lower bound |
| upperb_scalar | inclusive upper bound |
|
inline |
| MakeVec<T, cn>::type cv::cudev::InRangeFunc< T, cn >::lowerb |
| MakeVec<T, cn>::type cv::cudev::InRangeFunc< T, cn >::upperb |
1.8.13