W3cubDocs

/PointCloudLibrary

Interface for a quantizable modality. More...

#include <pcl/recognition/quantizable_modality.h>

Public Member Functions

QuantizableModality ()
Constructor. More...
virtual ~QuantizableModality ()
Destructor. More...
virtual QuantizedMap & getQuantizedMap ()=0
Returns a reference to the internally computed quantized map. More...
virtual QuantizedMap & getSpreadedQuantizedMap ()=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 52 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] mask defines the areas where features are searched in.
[in] nr_features IGNORED (TODO: remove this parameter).
[in] modality_index the index which is stored in the extracted features.
[out] features the 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] mask defines the areas where features are searched in.
[in] nr_features defines the number of features to be extracted (might be less if not sufficient information is present in the modality).
[in] modality_index the index which is stored in the extracted features.
[out] features the 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:

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_quantizable_modality.html