RadiusOutlierRemoval
https://pointclouds.org/documentation/classpcl_1_1_radius_outlier_removal.html
RadiusOutlierRemoval
根据他们拥有的邻居数量过滤云中的点。
构造函数
new PCL.RadiusOutlierRemoval(pointType, removed);
参数:
名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
pointType | PointType | PointXYZ | The point cloud type. |
extractRemovedIndices | boolean | false | Initializing with true will allow us to extract the removed indices. |
方法
setRadiusSearch
setRadiusSearch(radius);
设置将确定哪些点是邻居的球体的半径。
参数:
名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
radius | number | The radius of the sphere for nearest neighbor searching. |
getRadiusSearch
getRadiusSearch();
setMinNeighborsInRadius
setMinNeighborsInRadius(minPts);
设置需要存在的邻居数量才能被分类为内点。
参数:
名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
minPts | number | 1 | The minimum number of neighbors. |
getMinNeighborsInRadius
getMinNeighborsInRadius();
setNegative
getNegative
setKeepOrganized
See PassThrough.setKeepOrganized
getKeepOrganized
See PassThrough.getKeepOrganized
setUserFilterValue
See PassThrough.setUserFilterValue