Struct cv::cudev::InRangeFunc#
unary_function implementation of inRange View details
#include <opencv2/cudev/functional/functional.hpp>Collaboration diagram for cv::cudev::InRangeFunc:
Public Types#
Public Types inherited from cv::cudev::unary_function
Return |
Name |
Description |
|---|---|---|
|
||
|
Detailed Description#
-
template<typename T, int cn>
struct InRangeFunc : public cv::cudev::unary_function<MakeVec<T, cn>::type, uchar> 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()#
cv::cudev::InRangeFunc::InRangeFunc(
const Scalar & lowerb_scalar,
const Scalar & upperb_scalar )
Builds an InRangeFunc with the given lower and upper bound scalars.
Parameters
lowerb_scalar— inclusive lower boundupperb_scalar— inclusive upper bound
Member Function Documentation#
operator()()#
uchar cv::cudev::InRangeFunc::operator()(const typename MakeVec< T, cn >::type & src)
Member Data Documentation#
lowerb#
MakeVec< T, cn >::type cv::cudev::InRangeFunc::lowerb
upperb#
MakeVec< T, cn >::type cv::cudev::InRangeFunc::upperb
Source file#
The documentation for this struct was generated from the following file:
opencv2/cudev/functional/functional.hpp