OpenCV  2.4.13
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

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

Constructor & Destructor Documentation

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

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
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

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

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