RadiusOutlierRemoval
https://pointclouds.org/documentation/classpcl_1_1_radius_outlier_removal.html
RadiusOutlierRemoval
filters points in a cloud based on the number of neighbors they have.
Constructor
new PCL.RadiusOutlierRemoval(pointType, removed);
Parameters:
Name | Type | Default | Description |
---|---|---|---|
pointType | PointType | PointXYZ | The point cloud type. |
extractRemovedIndices | boolean | false | Initializing with true will allow us to extract the removed indices. |
Methods
setRadiusSearch
setRadiusSearch(radius);
Set the radius of the sphere that will determine which points are neighbors.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
radius | number | The radius of the sphere for nearest neighbor searching. |
getRadiusSearch
getRadiusSearch();
setMinNeighborsInRadius
setMinNeighborsInRadius(minPts);
Set the number of neighbors that need to be present in order to be classified as an inlier.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
minPts | number | 1 | The minimum number of neighbors. |
getMinNeighborsInRadius
getMinNeighborsInRadius();
setNegative
getNegative
setKeepOrganized
See PassThrough.setKeepOrganized
getKeepOrganized
See PassThrough.getKeepOrganized
setUserFilterValue
See PassThrough.setUserFilterValue