pcl中点和法线和合并和拆解

合并:

PointCloud::Ptr cloud(new PointCloud);
PointCloud::Ptr normals(new PointCloud);

PointCloud::Ptr cloud_with_normals(new PointCloud);
concatenateFields(*cloud, *normals,*cloud_with_normals);

拆解:

pcl::PointCloud::Ptr mls_cloud (new pcl::PointCloud);
copyPointCloud(cloud_xyz, cloud_xyzrgb);

你可能感兴趣的:(计算机视觉)