博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
libpointmatcher的filter
阅读量:4979 次
发布时间:2019-06-12

本文共 1741 字,大约阅读时间需要 5 分钟。

Maximum Density Filter

Points are only considered for rejection if they exceed a density threshold, otherwise they are preserved. The single parameter of this filter sets the maximum density that should be obtained in the output point cloud. Points are randomly rejected such that this maximum density is obtained as closely as possible.

1 PM::DataPointsFilter* maxDensitySubsample(2     PM::get().DataPointsFilterRegistrar.create(3         "MaxDensityDataPointsFilter",4         map_list_of5             ("maxDensity", toParam(30))6     )7 );

 

Surface Normal Filter

The surface normal to each point is estimated by finding a number of neighboring points and taking the eigen-vector corresponding to the smallest eigen-value of all neighboring points. Remark that that given a surface, the normal vector can point in two possible directions.

This filter has no impact on cloudpoints, but has output.

PM::DataPointsFilter* densityFilter(    PM::get().DataPointsFilterRegistrar.create(        "SurfaceNormalDataPointsFilter",        map_list_of            ("knn", "10")  //Number of neighboring points (including the point itself) to consider when extracting surface normal            ("epsilon", "5") //Approximation used in nearest neighbor search            ("keepNormals", "0")  //Add the normal vector to descriptors            ("keepDensities", "1")  //Add point cloud density to descriptors    ));

Random Sampling Filter

它只保留输入点云固定比例的点

PM::DataPointsFilter* randSubsample(    PM::get().DataPointsFilterRegistrar.create(        "RandomSamplingDataPointsFilter",        map_list_of            ("prob", toParam(probToKeep))  //Probability that a point is kept (1/decimation factor)    ));

 

转载于:https://www.cnblogs.com/A123456A/p/4892426.html

你可能感兴趣的文章
struts2.x + Tiles2.x读取多个xml 配置文件
查看>>
表单校验之datatype
查看>>
python第六篇文件处理类型
查看>>
ubuntu16系统磁盘空间/dev/vda1占用满的问题
查看>>
grid网格布局
查看>>
JSP常用标签
查看>>
九涯的第一次
查看>>
处理器管理与进程调度
查看>>
向量非零元素个数_向量范数详解+代码实现
查看>>
java if 用法详解_Java编程中的条件判断之if语句的用法详解
查看>>
matlab sin函数 fft,matlab的fft函数的使用教程
查看>>
mysql sin() 函数
查看>>
单片机复位电路
查看>>
php json_decode失败,返回null
查看>>
3-day3-list-truple-map.py
查看>>
Edit控件显示多行文字
查看>>
JS第二周
查看>>
dataTable.NET的search box每輸入一個字母進行一次檢索的問題
查看>>
Python 文件处理
查看>>
邻接表详解
查看>>