Demo entry 6683775

1

   

Submitted by anonymous on Dec 13, 2017 at 15:23
Language: C++. Code size: 457 Bytes.

pcl::PointCloud<pcl::PointXYZI>outcloud;    //创建点云对象指针,用于存储输入
pcl::KdTreeFLANN<pcl::PointXYZI>::Ptrtree(newpcl::KdTreeFLANN<pcl::PointXYZI>); //为无序点云建立kdtree搜索方法
pcl::FastBilateralFilter<pcl::PointXYZI>fbf;      //设置滤波器对象
fbf.setInputCloud(cloud);                    //调用处理点云
fbf.setSigmaS(5.0);                        //定义算法支持的滤波范围的大小
fbf.setSigmaR(0.003);                      //设置标准差参数
pcl::io::savePCDFile(outcloud, "outcloud");     //保存滤波输出点云文件

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).