|
Point Cloud Library (PCL)
1.15.1-dev
|
Pyramid constructs a multi-scale representation of an organised point cloud. More...
#include <pcl/filters/pyramid.h>
Public Types | |
| using | PointCloudPtr = typename PointCloud< PointT >::Ptr |
| using | PointCloudConstPtr = typename PointCloud< PointT >::ConstPtr |
| using | Ptr = shared_ptr< Pyramid< PointT > > |
| using | ConstPtr = shared_ptr< const Pyramid< PointT > > |
Public Member Functions | |
| Pyramid (int levels=4) | |
| void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. More... | |
| PointCloudConstPtr const | getInputCloud () |
| Get a pointer to the input point cloud dataset. More... | |
| void | setNumberOfLevels (int levels) |
| Set the number of pyramid levels. More... | |
| int | getNumberOfLevels () const |
| void | setNumberOfThreads (unsigned int nr_threads=0) |
| Initialize the scheduler and set the number of threads to use. More... | |
| void | setLargeSmoothingKernel (bool large) |
| Choose a larger smoothing kernel for enhanced smoothing. More... | |
| void | setDistanceThreshold (float threshold) |
| Only points such us distance (center,point) < threshold are accounted for to prevent ghost points. More... | |
| float | getDistanceThreshold () const |
| void | compute (std::vector< PointCloudPtr > &output) |
| compute the pyramid levels. More... | |
| const std::string & | getClassName () const |
| void | compute (std::vector< Pyramid< pcl::PointXYZRGB >::PointCloudPtr > &output) |
| void | compute (std::vector< Pyramid< pcl::PointXYZRGBA >::PointCloudPtr > &output) |
| void | compute (std::vector< Pyramid< pcl::RGB >::PointCloudPtr > &output) |
Pyramid constructs a multi-scale representation of an organised point cloud.
It is an iterative smoothing subsampling algorithm. The subsampling is fixed to 2. Two smoothing kernels may be used:
| using pcl::filters::Pyramid< PointT >::ConstPtr = shared_ptr< const Pyramid<PointT> > |
| using pcl::filters::Pyramid< PointT >::PointCloudConstPtr = typename PointCloud<PointT>::ConstPtr |
| using pcl::filters::Pyramid< PointT >::PointCloudPtr = typename PointCloud<PointT>::Ptr |
| using pcl::filters::Pyramid< PointT >::Ptr = shared_ptr< Pyramid<PointT> > |
|
inline |
| void pcl::filters::Pyramid< PointT >::compute | ( | std::vector< PointCloudPtr > & | output | ) |
compute the pyramid levels.
| [out] | output | the constructed pyramid. It is resized to the number of levels. |
Definition at line 100 of file pyramid.hpp.
References pcl::PointCloud< PointT >::at(), pcl::PointCloud< PointT >::height, pcl::isFinite(), pcl::squaredEuclideanDistance(), and pcl::PointCloud< PointT >::width.
| void pcl::filters::Pyramid< pcl::PointXYZRGB >::compute | ( | std::vector< Pyramid< pcl::PointXYZRGB >::PointCloudPtr > & | output | ) |
| void pcl::filters::Pyramid< pcl::PointXYZRGBA >::compute | ( | std::vector< Pyramid< pcl::PointXYZRGBA >::PointCloudPtr > & | output | ) |
| void pcl::filters::Pyramid< pcl::RGB >::compute | ( | std::vector< Pyramid< pcl::RGB >::PointCloudPtr > & | output | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Provide a pointer to the input dataset.
| cloud | the const boost shared pointer to a PointCloud message |
|
inline |
|
inline |
|
inline |