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 |
typedef boost::shared_ptr
< FeatureFromLabels< PointInT,
PointLT, PointOutT > > | Ptr |
typedef boost::shared_ptr
< const FeatureFromLabels
< PointInT, PointLT, PointOutT > > | ConstPtr |
| typedef PCLBase< PointInT > | BaseClass |
typedef boost::shared_ptr
< Feature< PointInT, PointOutT > > | Ptr |
typedef boost::shared_ptr
< const Feature< PointInT,
PointOutT > > | ConstPtr |
typedef pcl::search::Search
< PointInT > | KdTree |
typedef pcl::search::Search
< PointInT >::Ptr | KdTreePtr |
| typedef pcl::PointCloud< PointInT > | PointCloudIn |
| typedef PointCloudIn::Ptr | PointCloudInPtr |
| typedef PointCloudIn::ConstPtr | PointCloudInConstPtr |
typedef pcl::PointCloud
< PointOutT > | PointCloudOut |
typedef boost::function< int(size_t,
double, std::vector< int >
&, std::vector< float > &)> | SearchMethod |
typedef boost::function< int(const
PointCloudIn &cloud, size_t
index, double, std::vector
< int > &, std::vector< float > &)> | SearchMethodSurface |
| 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 |
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.
|
| virtual bool | initCompute () |
| | This method should get called before starting the actual computation.
|
| const std::string & | getClassName () const |
| | Get a string representation of the name of this class.
|
| virtual bool | deinitCompute () |
| | This method should get called after ending the actual computation.
|
| int | searchForNeighbors (size_t index, double parameter, std::vector< int > &indices, std::vector< float > &distances) const |
| | Search for k-nearest neighbors using the spatial locator from setSearchmethod, and the given surface from setSearchSurface.
|
| int | searchForNeighbors (const PointCloudIn &cloud, size_t index, double parameter, std::vector< int > &indices, std::vector< float > &distances) const |
| | Search for k-nearest neighbors using the spatial locator from setSearchmethod, and the given surface from setSearchSurface.
|
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.
References pcl::octree::OctreePointCloud< PointT, LeafContainerT, BranchContainerT >::addPointsFromInputCloud(), pcl::PointCloud< PointT >::clear(), pcl::octree::OctreePointCloud< PointT, LeafContainerT, BranchContainerT >::getApproxIntersectedVoxelCentersBySegment(), pcl::octree::OctreePointCloud< PointT, LeafContainerT, BranchContainerT >::getOccupiedVoxelCenters(), pcl::PointCloud< PointT >::height, 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.