Point Cloud Library (PCL)
1.9.1
|
Image Extractor which uses the data present in the "intensity" field to produce a monochrome intensity image (with mono16 encoding). More...
#include <pcl/io/point_cloud_image_extractors.h>
Public Types | |
typedef boost::shared_ptr < PointCloudImageExtractorFromIntensityField < PointT > > | Ptr |
typedef boost::shared_ptr < const PointCloudImageExtractorFromIntensityField < 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 | |
PointCloudImageExtractorFromIntensityField (const ScalingMethod scaling_method=PointCloudImageExtractorWithScaling< PointT >::SCALING_NO) | |
Constructor. More... | |
PointCloudImageExtractorFromIntensityField (const float scaling_factor) | |
Constructor. More... | |
virtual | ~PointCloudImageExtractorFromIntensityField () |
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... | |
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... | |
bool | extract (const PointCloud &cloud, pcl::PCLImage &image) const |
Obtain the image from the given cloud. More... | |
void | setPaintNaNsWithBlack (bool flag) |
Set a flag that controls if image pixels corresponding to NaN (infinite) points should be painted black. More... | |
Additional Inherited Members | |
![]() | |
virtual bool | extractImpl (const PointCloud &cloud, pcl::PCLImage &image) const |
Implementation of the extract() function, has to be implemented in deriving classes. More... | |
![]() | |
std::string | field_name_ |
ScalingMethod | scaling_method_ |
float | scaling_factor_ |
![]() | |
bool | paint_nans_with_black_ |
A flag that controls if image pixels corresponding to NaN (infinite) points should be painted black. More... | |
Image Extractor which uses the data present in the "intensity" field to produce a monochrome intensity image (with mono16 encoding).
Definition at line 400 of file point_cloud_image_extractors.h.
typedef boost::shared_ptr<const PointCloudImageExtractorFromIntensityField<PointT> > pcl::io::PointCloudImageExtractorFromIntensityField< PointT >::ConstPtr |
Definition at line 407 of file point_cloud_image_extractors.h.
typedef boost::shared_ptr<PointCloudImageExtractorFromIntensityField<PointT> > pcl::io::PointCloudImageExtractorFromIntensityField< PointT >::Ptr |
Definition at line 406 of file point_cloud_image_extractors.h.
inline |
Constructor.
[in] | scaling_method | a scaling method to use (default SCALING_NO) |
Definition at line 412 of file point_cloud_image_extractors.h.
|
inline |
Constructor.
[in] | scaling_factor | a scaling factor to apply to each intensity value |
Definition at line 420 of file point_cloud_image_extractors.h.
|
inlinevirtual |
Destructor.
Definition at line 426 of file point_cloud_image_extractors.h.