#include <pcl/range_image/range_image.h> //关于深度图像的头文件
I'm trying to implement some code from the pcl NARF tutorial
But this code:
boost::shared_ptr<pcl::RangeImage> range_image_ptr (new pcl::RangeImage);
pcl::RangeImage& range_image = *range_image_ptr;
range_image.createFromPointCloud (point_cloud, angular_resolution, pcl::deg2rad (360.0f), pcl::deg2rad (180.0f), scene_sensor_pose, coordinate_frame,oise_level, min_range, border_size);
always results in the following errors:
error C2039: 'PointType' : is not a member of 'boost::shared_ptr' C:\CLibraries\PCL 1.5.1\include\pcl-1.5\pcl\range_image\impl\range_image.hpp 193
error C2039: 'points' : is not a member of 'boost::shared_ptr' C:\CLibraries\PCL 1.5.1\include\pcl-1.5\pcl\range_image\impl\range_image.hpp 194
Does anyone has an idea how to fix it?