Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions
pcl::QuantizableModality Class Referenceabstract

Interface for a quantizable modality. More...

#include <pcl/recognition/quantizable_modality.h>

+ Inheritance diagram for pcl::QuantizableModality:

Public Member Functions

 QuantizableModality ()
 Constructor. More...
 
virtual ~QuantizableModality ()
 Destructor. More...
 
virtual QuantizedMapgetQuantizedMap ()=0
 Returns a reference to the internally computed quantized map. More...
 
virtual QuantizedMapgetSpreadedQuantizedMap ()=0
 Returns a reference to the internally computed spread quantized map. More...
 
virtual void extractFeatures (const MaskMap &mask, std::size_t nr_features, std::size_t modality_index, std::vector< QuantizedMultiModFeature > &features) const =0
 Extracts features from this modality within the specified mask. More...
 
virtual void extractAllFeatures (const MaskMap &mask, std::size_t nr_features, std::size_t modality_index, std::vector< QuantizedMultiModFeature > &features) const =0
 Extracts all possible features from the modality within the specified mask. More...
 

Detailed Description

Interface for a quantizable modality.

Author
Stefan Holzer

Definition at line 53 of file quantizable_modality.h.

Constructor & Destructor Documentation

◆ QuantizableModality()

pcl::QuantizableModality::QuantizableModality ( )

Constructor.

◆ ~QuantizableModality()

virtual pcl::QuantizableModality::~QuantizableModality ( )
virtual

Destructor.

Member Function Documentation

◆ extractAllFeatures()

virtual void pcl::QuantizableModality::extractAllFeatures ( const MaskMap mask,
std::size_t  nr_features,
std::size_t  modality_index,
std::vector< QuantizedMultiModFeature > &  features 
) const
pure virtual

Extracts all possible features from the modality within the specified mask.

Parameters
[in]maskdefines the areas where features are searched in.
[in]nr_featuresIGNORED (TODO: remove this parameter).
[in]modality_indexthe index which is stored in the extracted features.
[out]featuresthe destination for the extracted features.

Implemented in pcl::ColorGradientModality< PointInT >, pcl::ColorGradientModality< PointXYZT >, pcl::SurfaceNormalModality< PointInT >, and pcl::SurfaceNormalModality< PointXYZT >.

◆ extractFeatures()

virtual void pcl::QuantizableModality::extractFeatures ( const MaskMap mask,
std::size_t  nr_features,
std::size_t  modality_index,
std::vector< QuantizedMultiModFeature > &  features 
) const
pure virtual

Extracts features from this modality within the specified mask.

Parameters
[in]maskdefines the areas where features are searched in.
[in]nr_featuresdefines the number of features to be extracted (might be less if not sufficient information is present in the modality).
[in]modality_indexthe index which is stored in the extracted features.
[out]featuresthe destination for the extracted features.

Implemented in pcl::ColorGradientModality< PointInT >, pcl::ColorGradientModality< PointXYZT >, pcl::ColorModality< PointInT >, pcl::SurfaceNormalModality< PointInT >, and pcl::SurfaceNormalModality< PointXYZT >.

◆ getQuantizedMap()

virtual QuantizedMap& pcl::QuantizableModality::getQuantizedMap ( )
pure virtual

◆ getSpreadedQuantizedMap()

virtual QuantizedMap& pcl::QuantizableModality::getSpreadedQuantizedMap ( )
pure virtual

The documentation for this class was generated from the following file: