pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 > Class Template Reference
[Module filters]

StatisticalOutlierRemoval uses point neighborhood statistics to filter outlier data. More...

#include <pcl/filters/statistical_outlier_removal.h>

Inheritance diagram for pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >:
Inheritance graph
[legend]
Collaboration diagram for pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef PointIndices::Ptr PointIndicesPtr
typedef PointIndices::ConstPtr PointIndicesConstPtr

Public Member Functions

 StatisticalOutlierRemoval (bool extract_removed_indices=false)
 Empty constructor.
void setMeanK (int nr_k)
 Set the number of points (k) to use for mean distance estimation.
int getMeanK ()
 Get the number of points to use for mean distance estimation.
void setStddevMulThresh (double std_mul)
 Set the standard deviation multiplier threshold.
double getStddevMulThresh ()
 Get the standard deviation multiplier threshold as set by the user.
void setNegative (bool negative)
 Set whether the indices should be returned, or all points except the indices.
bool getNegative ()
 Get the value of the internal negative_ parameter.
IndicesConstPtr const getRemovedIndices ()
 Get the point indices being removed.
void filter (PointCloud2 &output)
 Calls the filtering method and returns the filtered dataset in output.
void setInputCloud (const PointCloud2ConstPtr &cloud)
 Provide a pointer to the input dataset.
PointCloud2ConstPtr const getInputCloud ()
 Get a pointer to the input point cloud dataset.
void setIndices (const IndicesPtr &indices)
 Provide a pointer to the vector of indices that represents the input data.
void setIndices (const PointIndicesConstPtr &indices)
 Provide a pointer to the vector of indices that represents the input data.
IndicesPtr const getIndices ()
 Get a pointer to the vector of indices used.

Detailed Description

template<>
class pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >

StatisticalOutlierRemoval uses point neighborhood statistics to filter outlier data.

For more information check:

Note:
setFilterFieldName (), setFilterLimits (), and setFilterLimitNegative () are ignored.
Author:
Radu Bogdan Rusu

Definition at line 197 of file statistical_outlier_removal.h.


Member Typedef Documentation

Definition at line 280 of file pcl_base.h.

Definition at line 279 of file pcl_base.h.


Constructor & Destructor Documentation

pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >::StatisticalOutlierRemoval ( bool  extract_removed_indices = false  )  [inline]

Empty constructor.

Definition at line 214 of file statistical_outlier_removal.h.


Member Function Documentation

void pcl::Filter< sensor_msgs::PointCloud2 >::filter ( PointCloud2 &  output  )  [inherited]

Calls the filtering method and returns the filtered dataset in output.

Parameters:
[out] output the resultant filtered point cloud dataset

Reimplemented in pcl::FilterIndices< sensor_msgs::PointCloud2 >.

IndicesPtr const pcl::PCLBase< sensor_msgs::PointCloud2 >::getIndices (  )  [inline, inherited]

Get a pointer to the vector of indices used.

Definition at line 329 of file pcl_base.h.

PointCloud2ConstPtr const pcl::PCLBase< sensor_msgs::PointCloud2 >::getInputCloud (  )  [inline, inherited]

Get a pointer to the input point cloud dataset.

Definition at line 303 of file pcl_base.h.

int pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >::getMeanK (  )  [inline]

Get the number of points to use for mean distance estimation.

Definition at line 232 of file statistical_outlier_removal.h.

bool pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >::getNegative (  )  [inline]

Get the value of the internal negative_ parameter.

If true, all points except the input indices will be returned.

Returns:
The value of the "negative" flag

Definition at line 270 of file statistical_outlier_removal.h.

IndicesConstPtr const pcl::Filter< sensor_msgs::PointCloud2 >::getRemovedIndices (  )  [inline, inherited]

Get the point indices being removed.

Reimplemented in pcl::FilterIndices< sensor_msgs::PointCloud2 >.

Definition at line 181 of file filter.h.

double pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >::getStddevMulThresh (  )  [inline]

Get the standard deviation multiplier threshold as set by the user.

Definition at line 251 of file statistical_outlier_removal.h.

void pcl::PCLBase< sensor_msgs::PointCloud2 >::setIndices ( const PointIndicesConstPtr &  indices  )  [inline, inherited]

Provide a pointer to the vector of indices that represents the input data.

Parameters:
indices a pointer to the vector of indices that represents the input data.

Definition at line 320 of file pcl_base.h.

void pcl::PCLBase< sensor_msgs::PointCloud2 >::setIndices ( const IndicesPtr &  indices  )  [inline, inherited]

Provide a pointer to the vector of indices that represents the input data.

Parameters:
indices a pointer to the vector of indices that represents the input data.

Definition at line 309 of file pcl_base.h.

void pcl::PCLBase< sensor_msgs::PointCloud2 >::setInputCloud ( const PointCloud2ConstPtr &  cloud  )  [inherited]

Provide a pointer to the input dataset.

Parameters:
cloud the const boost shared pointer to a PointCloud message
void pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >::setMeanK ( int  nr_k  )  [inline]

Set the number of points (k) to use for mean distance estimation.

Parameters:
nr_k the number of points to use for mean distance estimation

Definition at line 225 of file statistical_outlier_removal.h.

void pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >::setNegative ( bool  negative  )  [inline]

Set whether the indices should be returned, or all points except the indices.

Parameters:
negative true if all points except the input indices will be returned, false otherwise

Definition at line 260 of file statistical_outlier_removal.h.

void pcl::StatisticalOutlierRemoval< sensor_msgs::PointCloud2 >::setStddevMulThresh ( double  std_mul  )  [inline]

Set the standard deviation multiplier threshold.

All points outside the

\[ \mu \pm \sigma \cdot std\_mul \]

will be considered outliers, where $ \mu $ is the estimated mean, and $ \sigma $ is the standard deviation.

Parameters:
std_mul the standard deviation multiplier threshold

Definition at line 244 of file statistical_outlier_removal.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Oct 2012 for Point Cloud Library (PCL) by  doxygen 1.6.1