std::string incloudfile = argv[1];
std::string outcloudfile = argv[2];
float sigma_s = atof(argv[3]);
float sigma_r = atof(argv[4]);
// 从pcd文件加载点云数据
pcl::PointCloud<PointT>::Ptr cloud(new pcl::PointCloud<PointT>);
pcl::io::loadPCDFile(incloudfile.c_str(), *cloud);
int pnumber = (int)cloud->size();
pcl::io::savePCDFile(outcloudfile.c_str(), outcloud);
PCL读取保存文件
最新推荐文章于 2024-09-04 09:55:04 发布