40 #include <pcl/cuda/point_cloud.h>
41 #include <pcl/io/openni_camera/openni_image.h>
51 : width (width), height (height), stride (stride)
62 return ((xIdx % stride == 0) & (yIdx % stride == 0));
66 template <
template <
typename>
class Storage>
75 DebayerBilinear (
unsigned char *bayer_image,
unsigned width,
unsigned height);
94 template<
template <
typename>
class Storage>
103 template <
template <
typename>
class Storage>
109 YUV2RGBKernel (
unsigned char *yuv_image,
unsigned width,
unsigned height);
114 template<
template <
typename>
class Storage>
123 template<
template <
typename>
class Storage>
YUV2RGBKernel(unsigned char *yuv_image, unsigned width, unsigned height)
typename Storage< OpenNIRGB >::type RGBImageType
__host__ __device__ bool operator()(int i)
void compute(const openni_wrapper::Image::Ptr &bayer_image, RGBImageType &rgb_image) const
DebayerBilinear(unsigned char *bayer_image, unsigned width, unsigned height)
void computeBilinear(const openni_wrapper::Image::Ptr &bayer_image, RGBImageType &rgb_image) const
typename Storage< OpenNIRGB >::type RGBImageType
downsampleIndices(int width, int height, int stride)
typename Storage< OpenNIRGB >::type RGBImageType
pcl::shared_ptr< Image > Ptr
__inline__ __host__ __device__ OpenNIRGB operator()(int index) const
__inline__ __host__ __device__ OpenNIRGB operator()(int index) const
void compute(const openni_wrapper::Image::Ptr &yuv_image, RGBImageType &rgb_image) const
Simple structure holding RGB data.