Point Cloud Library (PCL)  1.7.2
List of all members | Classes | Public Types | Public Member Functions | Protected Member Functions
pcl::ColorGradientDOTModality< PointInT > Class Template Reference

#include <pcl/recognition/color_gradient_dot_modality.h>

+ Inheritance diagram for pcl::ColorGradientDOTModality< PointInT >:

Classes

struct  Candidate

Public Types

typedef pcl::PointCloud< PointInT > PointCloudIn
- Public Types inherited from pcl::PCLBase< PointInT >
typedef pcl::PointCloud< PointInT > PointCloud
typedef PointCloud::Ptr PointCloudPtr
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef boost::shared_ptr
< PointIndices
PointIndicesPtr
typedef boost::shared_ptr
< PointIndices const > 
PointIndicesConstPtr

Public Member Functions

 ColorGradientDOTModality (size_t bin_size)
virtual ~ColorGradientDOTModality ()
void setGradientMagnitudeThreshold (const float threshold)
QuantizedMapgetDominantQuantizedMap ()
QuantizedMap computeInvariantQuantizedMap (const MaskMap &mask, const RegionXY &region)
virtual void setInputCloud (const typename PointCloudIn::ConstPtr &cloud)
 Provide a pointer to the input dataset (overwrites the PCLBase::setInputCloud method)
virtual void processInputData ()
- Public Member Functions inherited from pcl::DOTModality
virtual ~DOTModality ()
- Public Member Functions inherited from pcl::PCLBase< PointInT >
 PCLBase ()
 Empty constructor.
 PCLBase (const PCLBase &base)
 Copy constructor.
virtual ~PCLBase ()
 Destructor.
virtual void setInputCloud (const PointCloudConstPtr &cloud)
 Provide a pointer to the input dataset.
PointCloudConstPtr const getInputCloud () const
 Get a pointer to the input point cloud dataset.
virtual void setIndices (const IndicesPtr &indices)
 Provide a pointer to the vector of indices that represents the input data.
virtual void setIndices (const IndicesConstPtr &indices)
 Provide a pointer to the vector of indices that represents the input data.
virtual void setIndices (const PointIndicesConstPtr &indices)
 Provide a pointer to the vector of indices that represents the input data.
virtual void setIndices (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols)
 Set the indices for the points laying within an interest region of the point cloud.
IndicesPtr const getIndices ()
 Get a pointer to the vector of indices used.
IndicesConstPtr const getIndices () const
 Get a pointer to the vector of indices used.
const PointInT & operator[] (size_t pos) const
 Override PointCloud operator[] to shorten code.

Protected Member Functions

void computeMaxColorGradients ()
void computeDominantQuantizedGradients ()
- Protected Member Functions inherited from pcl::PCLBase< PointInT >
bool initCompute ()
 This method should get called before starting the actual computation.
bool deinitCompute ()
 This method should get called after finishing the actual computation.

Additional Inherited Members

- Protected Attributes inherited from pcl::PCLBase< PointInT >
PointCloudConstPtr input_
 The input point cloud dataset.
IndicesPtr indices_
 A pointer to the vector of point indices to use.
bool use_indices_
 Set to true if point indices are used.
bool fake_indices_
 If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.

Detailed Description

template<typename PointInT>
class pcl::ColorGradientDOTModality< PointInT >

Definition at line 116 of file color_gradient_dot_modality.h.

Member Typedef Documentation

template<typename PointInT >
typedef pcl::PointCloud<PointInT> pcl::ColorGradientDOTModality< PointInT >::PointCloudIn

Definition at line 136 of file color_gradient_dot_modality.h.

Constructor & Destructor Documentation

template<typename PointInT >
pcl::ColorGradientDOTModality< PointInT >::ColorGradientDOTModality ( size_t  bin_size)

Definition at line 204 of file color_gradient_dot_modality.h.

template<typename PointInT >
pcl::ColorGradientDOTModality< PointInT >::~ColorGradientDOTModality ( )
virtual

Definition at line 212 of file color_gradient_dot_modality.h.

Member Function Documentation

template<typename PointInT >
void pcl::ColorGradientDOTModality< PointInT >::computeDominantQuantizedGradients ( )
protected

Definition at line 485 of file color_gradient_dot_modality.h.

template<typename PointInT >
pcl::QuantizedMap pcl::ColorGradientDOTModality< PointInT >::computeInvariantQuantizedMap ( const MaskMap mask,
const RegionXY region 
)
virtual
template<typename PointInT >
void pcl::ColorGradientDOTModality< PointInT >::computeMaxColorGradients ( )
protected
template<typename PointInT >
QuantizedMap& pcl::ColorGradientDOTModality< PointInT >::getDominantQuantizedMap ( )
inlinevirtual

Implements pcl::DOTModality.

Definition at line 155 of file color_gradient_dot_modality.h.

template<typename PointInT >
void pcl::ColorGradientDOTModality< PointInT >::processInputData ( )
virtual

Definition at line 220 of file color_gradient_dot_modality.h.

template<typename PointInT >
void pcl::ColorGradientDOTModality< PointInT >::setGradientMagnitudeThreshold ( const float  threshold)
inline

Definition at line 143 of file color_gradient_dot_modality.h.

template<typename PointInT >
virtual void pcl::ColorGradientDOTModality< PointInT >::setInputCloud ( const typename PointCloudIn::ConstPtr cloud)
inlinevirtual

Provide a pointer to the input dataset (overwrites the PCLBase::setInputCloud method)

Parameters
cloudthe const boost shared pointer to a PointCloud message

Definition at line 168 of file color_gradient_dot_modality.h.

References pcl::PCLBase< PointInT >::input_.


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