Point Cloud Library (PCL)
1.7.1
|
Base Image Extractor class for organized point clouds. More...
#include <pcl/io/point_cloud_image_extractors.h>
Public Types | |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef boost::shared_ptr< PointCloudImageExtractor< PointT > > | Ptr |
typedef boost::shared_ptr< const PointCloudImageExtractor< PointT > > | ConstPtr |
Public Member Functions | |
PointCloudImageExtractor () | |
Constructor. More... | |
virtual | ~PointCloudImageExtractor () |
Destructor. More... | |
virtual bool | extract (const PointCloud &cloud, pcl::PCLImage &image) const =0 |
Obtain the image from the given cloud. More... | |
Base Image Extractor class for organized point clouds.
This is an abstract class that declares an interface for image extraction from organized point clouds. The family of its subclasses provide functionality to extract images from particular fields.
The following piece of code demonstrates typical usage of a PointCloudImageExtractor subclass. Here the data are extracted from the "label" field and are saved as a PNG image file.
Definition at line 78 of file point_cloud_image_extractors.h.
typedef boost::shared_ptr<const PointCloudImageExtractor<PointT> > pcl::io::PointCloudImageExtractor< PointT >::ConstPtr |
Definition at line 84 of file point_cloud_image_extractors.h.
typedef pcl::PointCloud<PointT> pcl::io::PointCloudImageExtractor< PointT >::PointCloud |
Definition at line 81 of file point_cloud_image_extractors.h.
typedef boost::shared_ptr<PointCloudImageExtractor<PointT> > pcl::io::PointCloudImageExtractor< PointT >::Ptr |
Definition at line 83 of file point_cloud_image_extractors.h.
|
inline |
Constructor.
Definition at line 87 of file point_cloud_image_extractors.h.
|
inlinevirtual |
Destructor.
Definition at line 90 of file point_cloud_image_extractors.h.
|
pure virtual |
Obtain the image from the given cloud.
[in] | cloud | organized point cloud to extract image from |
[out] | image | the output image |
Implemented in pcl::io::PointCloudImageExtractorFromLabelField< PointT >, pcl::io::PointCloudImageExtractorFromRGBField< PointT >, pcl::io::PointCloudImageExtractorFromNormalField< PointT >, and pcl::io::PointCloudImageExtractorWithScaling< PointT >.