PCL体素滤波
作者:互联网
头文件:
#include <pcl/filters/voxel_grid.h>
函数示例:
void pclDownsize(pcl::PointCloud<pcl::PointXYZ>::Ptr in, pcl::PointCloud<pcl::PointXYZ>::Ptr out)
{
pcl::VoxelGrid<pcl::PointXYZ> down_filter;
float leaf = 0.05;
down_filter.setLeafSize(leaf, leaf, leaf);
down_filter.setInputCloud(in);
down_filter.filter(*out);
}
标签:down,PointCloud,leaf,pcl,滤波,filter,PCL,体素,Ptr 来源: https://blog.csdn.net/zhengshunkai/article/details/95477287