|
Point Cloud Library (PCL)
1.6.0
|
A bilateral filter implementation for point cloud data. More...
#include <pcl/filters/bilateral.h>


Public Types | |
| typedef boost::shared_ptr < Filter< PointT > > | Ptr |
| typedef boost::shared_ptr < const Filter< PointT > > | ConstPtr |
| typedef PointCloud::Ptr | PointCloudPtr |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef PointIndices::Ptr | PointIndicesPtr |
| typedef PointIndices::ConstPtr | PointIndicesConstPtr |
Public Member Functions | |
| BilateralFilter () | |
| Constructor. | |
| void | applyFilter (PointCloud &output) |
| Filter the input data and store the results into output. | |
| double | computePointWeight (const int pid, const std::vector< int > &indices, const std::vector< float > &distances) |
| Compute the intensity average for a single point. | |
| void | setHalfSize (const double sigma_s) |
| Set the half size of the Gaussian bilateral filter window. | |
| double | getHalfSize () |
| Get the half size of the Gaussian bilateral filter window as set by the user. | |
| void | setStdDev (const double sigma_r) |
| Set the standard deviation parameter. | |
| double | getStdDev () |
| Get the value of the current standard deviation parameter of the bilateral filter. | |
| void | setSearchMethod (const KdTreePtr &tree) |
| Provide a pointer to the search object. | |
| IndicesConstPtr const | getRemovedIndices () |
| Get the point indices being removed. | |
| void | filter (PointCloud &output) |
| Calls the filtering method and returns the filtered dataset in output. | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. | |
| PointCloudConstPtr 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 IndicesConstPtr &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. | |
| void | setIndices (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols) |
| Set the indices for the points laying within an interest region of the point cloud. | |
| IndicesPtr const | getIndices () |
| Get a pointer to the vector of indices used. | |
| const PointT & | operator[] (size_t pos) |
| Override PointCloud operator[] to shorten code. | |
A bilateral filter implementation for point cloud data.
Uses the intensity data channel.
Definition at line 55 of file bilateral.h.
typedef boost::shared_ptr< const Filter<PointT> > pcl::Filter< PointT >::ConstPtr [inherited] |
typedef PointCloud::ConstPtr pcl::Filter< PointT >::PointCloudConstPtr [inherited] |
Reimplemented from pcl::PCLBase< PointT >.
typedef PointCloud::Ptr pcl::Filter< PointT >::PointCloudPtr [inherited] |
Reimplemented from pcl::PCLBase< PointT >.
typedef PointIndices::ConstPtr pcl::PCLBase< PointT >::PointIndicesConstPtr [inherited] |
Reimplemented in pcl::EuclideanClusterExtraction< PointT >, pcl::ExtractPolygonalPrismData< PointT >, pcl::SegmentDifferences< PointT >, pcl::LabeledEuclideanClusterExtraction< PointT >, pcl::SampleConsensusInitialAlignment< PointSource, PointTarget, FeatureT >, and pcl::PCA< PointT >.
Definition at line 79 of file pcl_base.h.
typedef PointIndices::Ptr pcl::PCLBase< PointT >::PointIndicesPtr [inherited] |
Reimplemented in pcl::EuclideanClusterExtraction< PointT >, pcl::ExtractPolygonalPrismData< PointT >, pcl::SegmentDifferences< PointT >, pcl::LabeledEuclideanClusterExtraction< PointT >, pcl::SampleConsensusInitialAlignment< PointSource, PointTarget, FeatureT >, and pcl::PCA< PointT >.
Definition at line 78 of file pcl_base.h.
typedef boost::shared_ptr< Filter<PointT> > pcl::Filter< PointT >::Ptr [inherited] |
| pcl::BilateralFilter< PointT >::BilateralFilter | ( | ) | [inline] |
| void pcl::BilateralFilter< PointT >::applyFilter | ( | PointCloud & | output | ) | [virtual] |
Filter the input data and store the results into output.
| [out] | output | the resultant point cloud message |
Implements pcl::Filter< PointT >.
Definition at line 71 of file bilateral.hpp.
| double pcl::BilateralFilter< PointT >::computePointWeight | ( | const int | pid, |
| const std::vector< int > & | indices, | ||
| const std::vector< float > & | distances | ||
| ) |
Compute the intensity average for a single point.
| [in] | pid | the point index to compute the weight for |
| [in] | indices | the set of nearest neighor indices |
| [in] | distances | the set of nearest neighbor distances |
Definition at line 45 of file bilateral.hpp.
| void pcl::Filter< PointT >::filter | ( | PointCloud & | output | ) | [inline, inherited] |
Calls the filtering method and returns the filtered dataset in output.
| [out] | output | the resultant filtered point cloud dataset |
Reimplemented in pcl::FilterIndices< PointT >.
| double pcl::BilateralFilter< PointT >::getHalfSize | ( | ) | [inline] |
Get the half size of the Gaussian bilateral filter window as set by the user.
Definition at line 99 of file bilateral.h.
| IndicesPtr const pcl::PCLBase< PointT >::getIndices | ( | ) | [inline, inherited] |
Get a pointer to the vector of indices used.
Definition at line 190 of file pcl_base.h.
| PointCloudConstPtr const pcl::PCLBase< PointT >::getInputCloud | ( | ) | [inline, inherited] |
Get a pointer to the input point cloud dataset.
Definition at line 107 of file pcl_base.h.
| IndicesConstPtr const pcl::Filter< PointT >::getRemovedIndices | ( | ) | [inline, inherited] |
Get the point indices being removed.
Reimplemented in pcl::FilterIndices< PointT >.
| double pcl::BilateralFilter< PointT >::getStdDev | ( | ) | [inline] |
Get the value of the current standard deviation parameter of the bilateral filter.
Definition at line 115 of file bilateral.h.
| const PointT& pcl::PCLBase< PointT >::operator[] | ( | size_t | pos | ) | [inline, inherited] |
Override PointCloud operator[] to shorten code.
| pos | position in indices_ vector |
Definition at line 197 of file pcl_base.h.
| void pcl::BilateralFilter< PointT >::setHalfSize | ( | const double | sigma_s | ) | [inline] |
Set the half size of the Gaussian bilateral filter window.
| [in] | sigma_s | the half size of the Gaussian bilateral filter window to use |
Definition at line 92 of file bilateral.h.
| void pcl::PCLBase< PointT >::setIndices | ( | const IndicesPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 113 of file pcl_base.h.
| void pcl::PCLBase< PointT >::setIndices | ( | const IndicesConstPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 124 of file pcl_base.h.
| void pcl::PCLBase< PointT >::setIndices | ( | const PointIndicesConstPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 135 of file pcl_base.h.
| void pcl::PCLBase< PointT >::setIndices | ( | size_t | row_start, |
| size_t | col_start, | ||
| size_t | nb_rows, | ||
| size_t | nb_cols | ||
| ) | [inline, inherited] |
Set the indices for the points laying within an interest region of the point cloud.
| row_start | the offset on rows |
| col_start | the offset on columns |
| nb_rows | the number of rows to be considered row_start included |
| nb_cols | the number of columns to be considered col_start included |
Definition at line 151 of file pcl_base.h.
| virtual void pcl::PCLBase< PointT >::setInputCloud | ( | const PointCloudConstPtr & | cloud | ) | [inline, virtual, inherited] |
Provide a pointer to the input dataset.
| cloud | the const boost shared pointer to a PointCloud message |
Reimplemented in pcl::PCA< PointT >.
Definition at line 103 of file pcl_base.h.
| void pcl::BilateralFilter< PointT >::setSearchMethod | ( | const KdTreePtr & | tree | ) | [inline] |
Provide a pointer to the search object.
| [in] | tree | a pointer to the spatial search object. |
Definition at line 124 of file bilateral.h.
| void pcl::BilateralFilter< PointT >::setStdDev | ( | const double | sigma_r | ) | [inline] |
Set the standard deviation parameter.
| [in] | sigma_r | the new standard deviation parameter |
Definition at line 108 of file bilateral.h.
1.7.6.1