4

3d激光雷达开发(基于统计滤波)

 2 years ago
source link: https://blog.csdn.net/feixiaoxing/article/details/123341589
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

3d激光雷达开发(基于统计滤波)

费晓行 已于 2022-03-07 22:31:00 修改 45

【 声明:版权所有,欢迎转载,请勿用于商业用途。 联系信箱:feixiaoxing @163.com】

        基于统计方法的滤波其实是比较好理解的。也就是说,在一个局部范围内,选择距离最近的几十个点,要求他们的平均值必须小于一个数值。这样,无形之中就把那些离散点给去除了。从原理上说,这个算法比较直观。但是它最大的问题就是计算时间太长。我一开始运行后,都以为程序不对了,结果是pc运行时间太长导致的。原来的代码地址在这,https://pcl.readthedocs.io/projects/tutorials/en/master/statistical_outlier.html#statistical-outlier-removal

1、准备statistical_removal.cpp文件

newCodeMoreWhite.png

2、准备CMakeLists.txt文件

3、编译生成sln文件,准备编译

        用cmake生成sln工程,直接编译即可

4、补充完缺失的dll,直接运行statistical_removal.exe文件


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK