Skip to main content

LocalMaximum

https://pointclouds.org/documentation/classpcl_1_1_local_maximum.html

LocalMaximum downsamples the cloud, by eliminating points that are locally maximal.

Constructor

new PCL.LocalMaximum(pointType, extractRemovedIndices);

Parameters:

NameTypeDefaultDescription
pointTypePointTypePointXYZThe point cloud type.
extractRemovedIndicesbooleanfalseInitializing with true will allow us to extract the removed indices.

Methods

setRadius

setRadius(radius);

Set the radius to use to determine if a point is the local max.

Parameters:

NameTypeDefaultDescription
radiusnumberThe radius to use to determine if a point is the local max.

getRadius

getRadius();

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