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

#include "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
 
- Public Types inherited from cv::cudev::binary_function< T, T, T >
typedef T first_argument_type
 
typedef T result_type
 
typedef T second_argument_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 ( T  r,
float  sz 
)
inlinestatic

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