40 #include <pcl/cuda/point_cloud.h>
41 #include <pcl/cuda/io/cloud_to_pcl.h>
42 #include <pcl/io/openni_camera/openni_image.h>
43 #include <pcl/io/openni_camera/openni_depth_image.h>
64 bad_point = std::numeric_limits<float>::quiet_NaN ();
67 template <
typename Tuple> __inline__ __host__ __device__
PointXYZRGB
82 bad_point = std::numeric_limits<float>::quiet_NaN ();
85 template <
typename Tuple> __inline__ __host__ __device__
PointXYZRGB
109 template <
template <
typename>
class Storage>
void
114 bool downsample =
false,
int stride = 2,
int smoothing_nr_iterations = 0,
int smoothing_filter_size = 2);
116 template <
template <
typename>
class Storage>
void
119 int width,
int height,
122 int smoothing_nr_iterations = 0,
int smoothing_filter_size = 2);
pcl::shared_ptr< DepthImage > Ptr
pcl::shared_ptr< Image > Ptr
Disparity to PointCloudAOS generator.
void compute(const std::uint16_t *depth_image, const OpenNIRGB *rgb_image, int width, int height, float constant, typename PointCloudAOS< Storage >::Ptr &output, int smoothing_nr_iterations=0, int smoothing_filter_size=2)
void compute(const openni_wrapper::DepthImage::Ptr &depth_image, float constant, PointCloudAOS< Device >::Ptr &output)
void compute(const openni_wrapper::DepthImage::Ptr &depth_image, float constant, PointCloudAOS< Host >::Ptr &output)
void compute(const openni_wrapper::DepthImage::Ptr &depth_image, const openni_wrapper::Image::Ptr &image, float constant, typename PointCloudAOS< Storage >::Ptr &output, bool downsample=false, int stride=2, int smoothing_nr_iterations=0, int smoothing_filter_size=2)
shared_ptr< PointCloudAOS< Storage > > Ptr
Compute the XYZ values for a point based on disparity information.
__inline__ __host__ __device__ PointXYZRGB operator()(const Tuple &t)
ComputeXYZ(int w, int h, int cx, int cy, float con)
Compute the XYZ and RGB values for a point based on disparity information.
__inline__ __host__ __device__ PointXYZRGB operator()(const Tuple &t)
ComputeXYZRGB(int w, int h, int cx, int cy, float con)
Simple structure holding RGB data.
Default point xyz-rgb structure.