RadiusOutlierRemoval is a simple filter that removes outliers if the number of neighbors in a certain search radius is smaller than a given K. More...
#include <radius_outlier_removal.h>

Public Member Functions | |
| double | getMinNeighborsInRadius () |
| Get the minimum number of neighbors that a point needs to have in the given search radius to be considered an inlier and avoid being filtered. | |
| double | getRadiusSearch () |
| Get the sphere radius used for determining the k-nearest neighbors. | |
| RadiusOutlierRemoval () | |
| Empty constructor. | |
| void | setMinNeighborsInRadius (int min_pts) |
| Set the minimum number of neighbors that a point needs to have in the given search radius in order to be considered an inlier (i.e., valid). | |
| void | setRadiusSearch (double radius) |
| Set the sphere radius that is to be used for determining the k-nearest neighbors for filtering. | |
Protected Member Functions | |
| void | applyFilter (PointCloud &output) |
| Apply the filter. | |
Protected Attributes | |
| int | min_pts_radius_ |
| The minimum number of neighbors that a point needs to have in the given search radius to be considered an inlier. | |
| double | search_radius_ |
| The nearest neighbors search radius for each point. | |
| KdTreePtr | tree_ |
| A pointer to the spatial search object. | |
Private Types | |
| typedef pcl::KdTree< PointT > | KdTree |
| typedef pcl::KdTree< PointT >::Ptr | KdTreePtr |
| typedef Filter< PointT > ::PointCloud | PointCloud |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef PointCloud::Ptr | PointCloudPtr |
RadiusOutlierRemoval is a simple filter that removes outliers if the number of neighbors in a certain search radius is smaller than a given K.
Definition at line 56 of file radius_outlier_removal.h.
typedef pcl::KdTree<PointT> pcl::RadiusOutlierRemoval< PointT >::KdTree [private] |
Definition at line 63 of file radius_outlier_removal.h.
typedef pcl::KdTree<PointT>::Ptr pcl::RadiusOutlierRemoval< PointT >::KdTreePtr [private] |
Definition at line 64 of file radius_outlier_removal.h.
typedef Filter<PointT>::PointCloud pcl::RadiusOutlierRemoval< PointT >::PointCloud [private] |
Reimplemented from pcl::Filter< PointT >.
Definition at line 66 of file radius_outlier_removal.h.
typedef PointCloud::ConstPtr pcl::RadiusOutlierRemoval< PointT >::PointCloudConstPtr [private] |
Reimplemented from pcl::Filter< PointT >.
Definition at line 68 of file radius_outlier_removal.h.
typedef PointCloud::Ptr pcl::RadiusOutlierRemoval< PointT >::PointCloudPtr [private] |
Reimplemented from pcl::Filter< PointT >.
Definition at line 67 of file radius_outlier_removal.h.
| pcl::RadiusOutlierRemoval< PointT >::RadiusOutlierRemoval | ( | ) | [inline] |
Empty constructor.
Definition at line 73 of file radius_outlier_removal.h.
| void pcl::RadiusOutlierRemoval< PointT >::applyFilter | ( | PointCloud & | output | ) | [inline, protected, virtual] |
Apply the filter.
| output | the resultant point cloud message |
Implements pcl::Filter< PointT >.
Definition at line 45 of file radius_outlier_removal.hpp.
| double pcl::RadiusOutlierRemoval< PointT >::getMinNeighborsInRadius | ( | ) | [inline] |
Get the minimum number of neighbors that a point needs to have in the given search radius to be considered an inlier and avoid being filtered.
Definition at line 98 of file radius_outlier_removal.h.
| double pcl::RadiusOutlierRemoval< PointT >::getRadiusSearch | ( | ) | [inline] |
Get the sphere radius used for determining the k-nearest neighbors.
Definition at line 86 of file radius_outlier_removal.h.
| void pcl::RadiusOutlierRemoval< PointT >::setMinNeighborsInRadius | ( | int | min_pts | ) | [inline] |
Set the minimum number of neighbors that a point needs to have in the given search radius in order to be considered an inlier (i.e., valid).
| min_pts | the minimum number of neighbors |
Definition at line 93 of file radius_outlier_removal.h.
| void pcl::RadiusOutlierRemoval< PointT >::setRadiusSearch | ( | double | radius | ) | [inline] |
Set the sphere radius that is to be used for determining the k-nearest neighbors for filtering.
| radius | the sphere radius that is to contain all k-nearest neighbors |
Definition at line 82 of file radius_outlier_removal.h.
int pcl::RadiusOutlierRemoval< PointT >::min_pts_radius_ [protected] |
The minimum number of neighbors that a point needs to have in the given search radius to be considered an inlier.
Definition at line 106 of file radius_outlier_removal.h.
double pcl::RadiusOutlierRemoval< PointT >::search_radius_ [protected] |
The nearest neighbors search radius for each point.
Definition at line 102 of file radius_outlier_removal.h.
KdTreePtr pcl::RadiusOutlierRemoval< PointT >::tree_ [protected] |
A pointer to the spatial search object.
Definition at line 109 of file radius_outlier_removal.h.