#include <color_modality.h>
Classes | |
struct | Candidate |
Public Types | |
typedef pcl::PointCloud< PointInT > | PointCloudIn |
Public Member Functions | |
ColorModality () | |
void | extractFeatures (const MaskMap &mask, size_t nr_features, size_t modalityIndex, std::vector< QuantizedMultiModFeature > &features) const |
Extracts features from this modality within the specified mask. | |
QuantizedMap & | getQuantizedMap () |
Returns a reference to the internally computed quantized map. | |
QuantizedMap & | getSpreadedQuantizedMap () |
Returns a reference to the internally computed spreaded quantized map. | |
virtual void | processInputData () |
virtual void | setInputCloud (const typename PointCloudIn::ConstPtr &cloud) |
Provide a pointer to the input dataset (overwrites the PCLBase::setInputCloud method) | |
virtual | ~ColorModality () |
Protected Member Functions | |
void | computeDistanceMap (const MaskMap &input, DistanceMap &output) const |
void | filterQuantizedColors () |
void | quantizeColors () |
Static Protected Member Functions | |
static int | quantizeColorOnRGBExtrema (const float r, const float g, const float b) |
Private Attributes | |
float | feature_distance_threshold_ |
pcl::QuantizedMap | filtered_quantized_colors_ |
pcl::QuantizedMap | quantized_colors_ |
pcl::QuantizedMap | spreaded_filtered_quantized_colors_ |
Definition at line 56 of file color_modality.h.
typedef pcl::PointCloud<PointInT> pcl::ColorModality< PointInT >::PointCloudIn |
Definition at line 79 of file color_modality.h.
pcl::ColorModality< PointInT >::ColorModality | ( | ) |
Definition at line 142 of file color_modality.h.
pcl::ColorModality< PointInT >::~ColorModality | ( | ) | [virtual] |
Definition at line 149 of file color_modality.h.
void pcl::ColorModality< PointInT >::computeDistanceMap | ( | const MaskMap & | input, |
DistanceMap & | output | ||
) | const [protected] |
Definition at line 486 of file color_modality.h.
void pcl::ColorModality< PointInT >::extractFeatures | ( | const MaskMap & | mask, |
size_t | nr_features, | ||
size_t | modality_index, | ||
std::vector< QuantizedMultiModFeature > & | features | ||
) | const [virtual] |
Extracts features from this modality within the specified mask.
[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. |
Implements pcl::QuantizableModality.
Definition at line 173 of file color_modality.h.
void pcl::ColorModality< PointInT >::filterQuantizedColors | ( | ) | [protected] |
Definition at line 359 of file color_modality.h.
QuantizedMap& pcl::ColorModality< PointInT >::getQuantizedMap | ( | ) | [inline, virtual] |
Returns a reference to the internally computed quantized map.
Implements pcl::QuantizableModality.
Definition at line 86 of file color_modality.h.
QuantizedMap& pcl::ColorModality< PointInT >::getSpreadedQuantizedMap | ( | ) | [inline, virtual] |
Returns a reference to the internally computed spreaded quantized map.
Implements pcl::QuantizableModality.
Definition at line 92 of file color_modality.h.
void pcl::ColorModality< PointInT >::processInputData | ( | ) | [virtual] |
Definition at line 156 of file color_modality.h.
int pcl::ColorModality< PointInT >::quantizeColorOnRGBExtrema | ( | const float | r, |
const float | g, | ||
const float | b | ||
) | [inline, static, protected] |
Definition at line 434 of file color_modality.h.
void pcl::ColorModality< PointInT >::quantizeColors | ( | ) | [protected] |
Definition at line 336 of file color_modality.h.
virtual void pcl::ColorModality< PointInT >::setInputCloud | ( | const typename PointCloudIn::ConstPtr & | cloud | ) | [inline, virtual] |
Provide a pointer to the input dataset (overwrites the PCLBase::setInputCloud method)
cloud | the const boost shared pointer to a PointCloud message |
Definition at line 105 of file color_modality.h.
float pcl::ColorModality< PointInT >::feature_distance_threshold_ [private] |
Definition at line 130 of file color_modality.h.
pcl::QuantizedMap pcl::ColorModality< PointInT >::filtered_quantized_colors_ [private] |
Definition at line 133 of file color_modality.h.
pcl::QuantizedMap pcl::ColorModality< PointInT >::quantized_colors_ [private] |
Definition at line 132 of file color_modality.h.
pcl::QuantizedMap pcl::ColorModality< PointInT >::spreaded_filtered_quantized_colors_ [private] |
Definition at line 134 of file color_modality.h.