OpenCV  3.4.17
Open Source Computer Vision
Classes | Public Types | Static Public Member Functions | List of all members
cv::cudev::Avg< T > Struct Template Reference

#include <opencv2/cudev/grid/reduce_to_vec.hpp>

Inheritance diagram for cv::cudev::Avg< T >:
cv::cudev::plus< T > cv::cudev::binary_function< T, T, T >

Classes

struct  rebind
 

Public Types

typedef T work_type
 

Static Public Member Functions

__device__ static __forceinline__ T initialValue ()
 
__device__ static __forceinline__ T result (T r, float sz)
 

Additional Inherited Members

- Public Member Functions inherited from cv::cudev::plus< T >
__device__ __forceinline__ T operator() (typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
 

Member Typedef Documentation

◆ work_type

template<typename T >
typedef T cv::cudev::Avg< T >::work_type

Member Function Documentation

◆ initialValue()

template<typename T >
__device__ static __forceinline__ T cv::cudev::Avg< T >::initialValue ( )
inlinestatic

◆ result()

template<typename T >
__device__ static __forceinline__ T cv::cudev::Avg< T >::result ( r,
float  sz 
)
inlinestatic

The documentation for this struct was generated from the following file: