GFPFHEstimation estimates the Global Fast Point Feature Histogram (GFPFH) descriptor for a given point cloud dataset containing points and labels. More...
#include <pcl/features/gfpfh.h>


Public Types | |
| typedef boost::shared_ptr < GFPFHEstimation< PointInT, PointLT, PointOutT > > | Ptr |
| typedef boost::shared_ptr < const GFPFHEstimation < PointInT, PointLT, PointOutT > > | ConstPtr |
| typedef Feature< PointInT, PointOutT >::PointCloudOut | PointCloudOut |
| typedef Feature< PointInT, PointOutT >::PointCloudIn | PointCloudIn |
Public Member Functions | |
| GFPFHEstimation () | |
| Empty constructor. | |
| void | setOctreeLeafSize (double size) |
| Set the size of the octree leaves. | |
| double | getOctreeLeafSize () |
| Get the sphere radius used for determining the neighbors. | |
| uint32_t | emptyLabel () const |
| Return the empty label value. | |
| uint32_t | getNumberOfClasses () const |
| Return the number of different classes. | |
| void | setNumberOfClasses (uint32_t n) |
| Set the number of different classes. | |
| int | descriptorSize () const |
| Return the size of the descriptor. | |
| void | compute (PointCloudOut &output) |
| Overloaded computed method from pcl::Feature. | |
Protected Member Functions | |
| 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 (). | |
| uint32_t | getDominantLabel (const std::vector< int > &indices) |
| Return the dominant label of a set of points. | |
| void | computeTransitionHistograms (const std::vector< std::vector< int > > &label_histograms, std::vector< std::vector< int > > &transition_histograms) |
| Compute the fixed-length histograms of transitions. | |
| void | computeDistancesToMean (const std::vector< std::vector< int > > &transition_histograms, std::vector< float > &distances) |
| Compute the distance of each transition histogram to the mean. | |
| float | computeHIKDistance (const std::vector< int > &histogram, const std::vector< float > &mean_histogram) |
| Return the Intersection Kernel distance between two histograms. | |
| void | computeDistanceHistogram (const std::vector< float > &distances, std::vector< float > &histogram) |
| Compute the binned histogram of distance values. | |
| void | computeMeanHistogram (const std::vector< std::vector< int > > &histograms, std::vector< float > &mean_histogram) |
| Compute the mean histogram of the given set of histograms. | |
GFPFHEstimation estimates the Global Fast Point Feature Histogram (GFPFH) descriptor for a given point cloud dataset containing points and labels.
Definition at line 65 of file gfpfh.h.
| typedef boost::shared_ptr<const GFPFHEstimation<PointInT, PointLT, PointOutT> > pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::ConstPtr |
Reimplemented from pcl::FeatureFromLabels< PointInT, PointLT, PointOutT >.
| typedef Feature<PointInT, PointOutT>::PointCloudIn pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::PointCloudIn |
Reimplemented from pcl::FeatureFromLabels< PointInT, PointLT, PointOutT >.
| typedef Feature<PointInT, PointOutT>::PointCloudOut pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::PointCloudOut |
Reimplemented from pcl::FeatureFromLabels< PointInT, PointLT, PointOutT >.
| typedef boost::shared_ptr<GFPFHEstimation<PointInT, PointLT, PointOutT> > pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::Ptr |
Reimplemented from pcl::FeatureFromLabels< PointInT, PointLT, PointOutT >.
| pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::GFPFHEstimation | ( | ) | [inline] |
Empty constructor.
Definition at line 84 of file gfpfh.h.
References pcl::Feature< PointInT, PointOutT >::feature_name_.
| void pcl::GFPFHEstimation< PointInT, PointNT, PointOutT >::compute | ( | PointCloudOut & | output | ) | [inline] |
Overloaded computed method from pcl::Feature.
| [out] | output | the resultant point cloud model dataset containing the estimated features |
Reimplemented from pcl::Feature< PointInT, PointOutT >.
Definition at line 54 of file gfpfh.hpp.
References pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeFeature(), pcl::Feature< PointInT, PointOutT >::deinitCompute(), pcl::PointCloud< PointT >::header, pcl::PointCloud< PointT >::height, pcl::PCLBase< PointInT >::input_, pcl::PointCloud< PointT >::is_dense, pcl::PointCloud< PointT >::points, and pcl::PointCloud< PointT >::width.
| void pcl::GFPFHEstimation< PointInT, PointNT, PointOutT >::computeDistanceHistogram | ( | const std::vector< float > & | distances, | |
| std::vector< float > & | histogram | |||
| ) | [inline, protected] |
Compute the binned histogram of distance values.
Definition at line 197 of file gfpfh.hpp.
References pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::descriptorSize().
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeFeature().
| void pcl::GFPFHEstimation< PointInT, PointNT, PointOutT >::computeDistancesToMean | ( | const std::vector< std::vector< int > > & | transition_histograms, | |
| std::vector< float > & | distances | |||
| ) | [inline, protected] |
Compute the distance of each transition histogram to the mean.
Definition at line 180 of file gfpfh.hpp.
References pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeHIKDistance(), and pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeMeanHistogram().
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeFeature().
| void pcl::GFPFHEstimation< PointInT, PointNT, PointOutT >::computeFeature | ( | PointCloudOut & | output | ) | [inline, protected, virtual] |
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 ().
| 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.
References pcl::octree::OctreePointCloud< PointT, LeafContainerT, BranchContainerT >::addPointsFromInputCloud(), pcl::PointCloud< PointT >::clear(), pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeDistanceHistogram(), pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeDistancesToMean(), pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeTransitionHistograms(), pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::emptyLabel(), pcl::octree::OctreePointCloud< PointT, LeafContainerT, BranchContainerT >::getApproxIntersectedVoxelCentersBySegment(), pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::getDominantLabel(), pcl::octree::OctreePointCloud< PointT, LeafContainerT, BranchContainerT >::getOccupiedVoxelCenters(), pcl::PointCloud< PointT >::height, pcl::PCLBase< PointInT >::input_, pcl::PointCloud< PointT >::points, pcl::octree::OctreePointCloud< PointT, LeafContainerT, BranchContainerT >::setInputCloud(), pcl::PointCloud< PointT >::size(), pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::voxelSearch(), and pcl::PointCloud< PointT >::width.
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::compute().
| float pcl::GFPFHEstimation< PointInT, PointNT, PointOutT >::computeHIKDistance | ( | const std::vector< int > & | histogram, | |
| const std::vector< float > & | mean_histogram | |||
| ) | [inline, protected] |
Return the Intersection Kernel distance between two histograms.
Definition at line 238 of file gfpfh.hpp.
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeDistancesToMean().
| void pcl::GFPFHEstimation< PointInT, PointNT, PointOutT >::computeMeanHistogram | ( | const std::vector< std::vector< int > > & | histograms, | |
| std::vector< float > & | mean_histogram | |||
| ) | [inline, protected] |
Compute the mean histogram of the given set of histograms.
Definition at line 222 of file gfpfh.hpp.
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeDistancesToMean().
| void pcl::GFPFHEstimation< PointInT, PointNT, PointOutT >::computeTransitionHistograms | ( | const std::vector< std::vector< int > > & | label_histograms, | |
| std::vector< std::vector< int > > & | transition_histograms | |||
| ) | [inline, protected] |
Compute the fixed-length histograms of transitions.
Definition at line 139 of file gfpfh.hpp.
References pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::getNumberOfClasses().
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeFeature().
| int pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::descriptorSize | ( | ) | const [inline] |
Return the size of the descriptor.
Definition at line 117 of file gfpfh.h.
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeDistanceHistogram().
| uint32_t pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::emptyLabel | ( | ) | const [inline] |
Return the empty label value.
Definition at line 103 of file gfpfh.h.
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeFeature(), and pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::getDominantLabel().
| boost::uint32_t pcl::GFPFHEstimation< PointInT, PointNT, PointOutT >::getDominantLabel | ( | const std::vector< int > & | indices | ) | [inline, protected] |
Return the dominant label of a set of points.
Definition at line 253 of file gfpfh.hpp.
References pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::emptyLabel(), pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::getNumberOfClasses(), and pcl::FeatureFromLabels< PointInT, PointLT, PointOutT >::labels_.
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeFeature().
| uint32_t pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::getNumberOfClasses | ( | ) | const [inline] |
Return the number of different classes.
Definition at line 107 of file gfpfh.h.
Referenced by pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::computeTransitionHistograms(), and pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::getDominantLabel().
| double pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::getOctreeLeafSize | ( | ) | [inline] |
| void pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::setNumberOfClasses | ( | uint32_t | n | ) | [inline] |
| void pcl::GFPFHEstimation< PointInT, PointLT, PointOutT >::setOctreeLeafSize | ( | double | size | ) | [inline] |