Public Types |
typedef boost::shared_ptr
< const GFPFHEstimation
< PointInT, PointLT, PointOutT > > | ConstPtr |
typedef Feature< PointInT,
PointOutT >::PointCloudIn | PointCloudIn |
typedef Feature< PointInT,
PointOutT >::PointCloudOut | PointCloudOut |
typedef boost::shared_ptr
< GFPFHEstimation< PointInT,
PointLT, PointOutT > > | Ptr |
Public Member Functions |
void | compute (PointCloudOut &output) |
| Overloaded computed method from pcl::Feature.
|
int | descriptorSize () const |
| Return the size of the descriptor.
|
uint32_t | emptyLabel () const |
| Return the empty label value.
|
uint32_t | getNumberOfClasses () const |
| Return the number of different classes.
|
double | getOctreeLeafSize () |
| Get the sphere radius used for determining the neighbors.
|
| GFPFHEstimation () |
| Empty constructor.
|
void | setNumberOfClasses (uint32_t n) |
| Set the number of different classes.
|
void | setOctreeLeafSize (double size) |
| Set the size of the octree leaves.
|
Protected Member Functions |
void | computeDistanceHistogram (const std::vector< float > &distances, std::vector< float > &histogram) |
| Compute the binned histogram of distance values.
|
void | computeDistancesToMean (const std::vector< std::vector< int > > &transition_histograms, std::vector< float > &distances) |
| Compute the distance of each transition histogram to the mean.
|
void | computeFeature (PointCloudOut &output) |
| Estimate the Point Feature Histograms (PFH) descriptors at a set of points given by <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in setSearchMethod ()
|
float | computeHIKDistance (const std::vector< int > &histogram, const std::vector< float > &mean_histogram) |
| Return the Intersection Kernel distance between two histograms.
|
void | computeMeanHistogram (const std::vector< std::vector< int > > &histograms, std::vector< float > &mean_histogram) |
| Compute the mean histogram of the given set of histograms.
|
void | computeTransitionHistograms (const std::vector< std::vector< int > > &label_histograms, std::vector< std::vector< int > > &transition_histograms) |
| Compute the fixed-length histograms of transitions.
|
uint32_t | getDominantLabel (const std::vector< int > &indices) |
| Return the dominant label of a set of points.
|
Private Attributes |
int | descriptor_size_ |
| Dimension of the descriptors.
|
uint32_t | number_of_classes_ |
| Number of possible classes/labels.
|
double | octree_leaf_size_ |
| Size of octree leaves.
|
template<typename PointInT, typename PointLT, typename PointOutT>
class pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >
GFPFHEstimation estimates the Global Fast Point Feature Histogram (GFPFH) descriptor for a given point cloud dataset containing points and labels.
- Note:
- If you use this code in any academic work, please cite:
-
R.B. Rusu, A. Holzbach, M. Beetz. Detecting and Segmenting Objects for Mobile Manipulation. In the S3DV Workshop of the 12th International Conference on Computer Vision (ICCV), 2009.
- Author:
- Radu B. Rusu
Definition at line 65 of file gfpfh.h.
template<typename PointInT , typename PointNT , typename PointOutT >
Estimate the Point Feature Histograms (PFH) descriptors at a set of points given by <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in setSearchMethod ()
- Parameters:
-
output | the resultant point cloud model dataset that contains the PFH feature estimates |
Implements pcl::Feature< PointInT, PointOutT >.
Definition at line 81 of file gfpfh.hpp.