Point Cloud Library (PCL)
1.7.1
|
Image Extractor which uses the data present in the "z" field to produce a depth map (as a monochrome image with mono16 encoding). More...
#include <pcl/io/point_cloud_image_extractors.h>
Public Types | |
typedef boost::shared_ptr < PointCloudImageExtractorFromZField < PointT > > | Ptr |
typedef boost::shared_ptr < const PointCloudImageExtractorFromZField < PointT > > | ConstPtr |
![]() | |
enum | ScalingMethod { SCALING_NO, SCALING_FULL_RANGE, SCALING_FIXED_FACTOR } |
Different scaling methods. More... | |
typedef boost::shared_ptr < PointCloudImageExtractorWithScaling < PointT > > | Ptr |
typedef boost::shared_ptr < const PointCloudImageExtractorWithScaling < PointT > > | ConstPtr |
![]() | |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef boost::shared_ptr < PointCloudImageExtractor < PointT > > | Ptr |
typedef boost::shared_ptr < const PointCloudImageExtractor < PointT > > | ConstPtr |
Public Member Functions | |
PointCloudImageExtractorFromZField (const float scaling_factor=10000) | |
Constructor. More... | |
PointCloudImageExtractorFromZField (const ScalingMethod scaling_method) | |
Constructor. More... | |
virtual | ~PointCloudImageExtractorFromZField () |
Destructor. More... | |
![]() | |
PointCloudImageExtractorWithScaling (const std::string &field_name, const ScalingMethod scaling_method) | |
Constructor. More... | |
PointCloudImageExtractorWithScaling (const std::string &field_name, const float scaling_factor) | |
Constructor. More... | |
virtual | ~PointCloudImageExtractorWithScaling () |
Destructor. More... | |
virtual bool | extract (const PointCloud &cloud, pcl::PCLImage &image) const |
Obtain the image from the given cloud. More... | |
void | setScalingMethod (const ScalingMethod scaling_method) |
Set scaling method. More... | |
void | setScalingFactor (const float scaling_factor) |
Set fixed scaling factor. More... | |
![]() | |
PointCloudImageExtractor () | |
Constructor. More... | |
virtual | ~PointCloudImageExtractor () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
std::string | field_name_ |
ScalingMethod | scaling_method_ |
float | scaling_factor_ |
Image Extractor which uses the data present in the "z" field to produce a depth map (as a monochrome image with mono16 encoding).
Definition at line 307 of file point_cloud_image_extractors.h.
typedef boost::shared_ptr<const PointCloudImageExtractorFromZField<PointT> > pcl::io::PointCloudImageExtractorFromZField< PointT >::ConstPtr |
Definition at line 314 of file point_cloud_image_extractors.h.
typedef boost::shared_ptr<PointCloudImageExtractorFromZField<PointT> > pcl::io::PointCloudImageExtractorFromZField< PointT >::Ptr |
Definition at line 313 of file point_cloud_image_extractors.h.
|
inline |
Constructor.
i] | scaling_factor a scaling factor to apply to each depth value (default 10000) |
Definition at line 319 of file point_cloud_image_extractors.h.
|
inline |
Constructor.
i] | scaling_method a scaling method to use |
Definition at line 327 of file point_cloud_image_extractors.h.
|
inlinevirtual |
Destructor.
Definition at line 333 of file point_cloud_image_extractors.h.