OpenCV  2.4.13.7
Open Source Computer Vision
cv::gpu::device::BrdConstant< D > Struct Template Reference

#include <border_interpolate.hpp>

Public Types

typedef D result_type
 

Public Member Functions

__host__ __device__ __forceinline__ BrdConstant (int height_, int width_, const D &val_=VecTraits< D >::all(0))
 
template<typename T >
__device__ __forceinline__ D at (int y, int x, const T *data, size_t step) const
 
template<typename Ptr2D >
__device__ __forceinline__ D at (typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D &src) const
 

Public Attributes

const int height
 
const int width
 
const D val
 

Member Typedef Documentation

§ result_type

template<typename D>
typedef D cv::gpu::device::BrdConstant< D >::result_type

Constructor & Destructor Documentation

§ BrdConstant()

template<typename D>
__host__ __device__ __forceinline__ cv::gpu::device::BrdConstant< D >::BrdConstant ( int  height_,
int  width_,
const D &  val_ = VecTraits<D>::all(0) 
)
inline

Member Function Documentation

§ at() [1/2]

template<typename D>
template<typename T >
__device__ __forceinline__ D cv::gpu::device::BrdConstant< D >::at ( int  y,
int  x,
const T *  data,
size_t  step 
) const
inline

§ at() [2/2]

template<typename D>
template<typename Ptr2D >
__device__ __forceinline__ D cv::gpu::device::BrdConstant< D >::at ( typename Ptr2D::index_type  y,
typename Ptr2D::index_type  x,
const Ptr2D &  src 
) const
inline

Member Data Documentation

§ height

template<typename D>
const int cv::gpu::device::BrdConstant< D >::height

§ val

template<typename D>
const D cv::gpu::device::BrdConstant< D >::val

§ width

template<typename D>
const int cv::gpu::device::BrdConstant< D >::width

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