Skip to main content

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:

NameTypeDefaultDescription
pointTypePointTypePointXYZThe point cloud type.
extractRemovedIndicesbooleanfalseInitializing 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:

NameTypeDefaultDescription
radiusnumberThe 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:

NameTypeDefaultDescription
minPtsnumber1The minimum number of neighbors.

getMinNeighborsInRadius​

getMinNeighborsInRadius();

setNegative​

See PassThrough.setNegative

getNegative​

See PassThrough.getNegative

setKeepOrganized​

See PassThrough.setKeepOrganized

getKeepOrganized​

See PassThrough.getKeepOrganized

setUserFilterValue​

See PassThrough.setUserFilterValue

setInputCloud​

See PassThrough.setInputCloud

getInputCloud​

See PassThrough.getInputCloud

filter​

See PassThrough.filter