184 const std::vector<int> &indices,
int nr_split, Eigen::VectorXf &pfh_histogram);
211 std::map<std::pair<int, int>, Eigen::Vector4f, std::less<std::pair<int, int> >, Eigen::aligned_allocator<std::pair<const std::pair<int, int>, Eigen::Vector4f> > >
feature_map_;
void computeFeature(PointCloudOut &output)
Estimate the Point Feature Histograms (PFH) descriptors at a set of points given by
bool use_cache_
Set to true to use the internal cache for removing redundant computations.
bool computePairFeatures(const pcl::PointCloud< PointInT > &cloud, const pcl::PointCloud< PointNT > &normals, int p_idx, int q_idx, float &f1, float &f2, float &f3, float &f4)
Compute the 4-tuple representation containing the three angles and one distance between two points re...
void setMaximumCacheSize(unsigned int cache_size)
Set the maximum internal cache size.
bool getUseInternalCache()
Get whether the internal cache is used or not for computing the PFH features.
unsigned int max_cache_size_
Maximum size of internal cache memory.
boost::shared_ptr< const PFHEstimation< PointInT, PointNT, PointOutT > > ConstPtr
PFHEstimation()
Empty constructor.
Feature< PointInT, PointOutT >::PointCloudOut PointCloudOut
Eigen::Vector4f pfh_tuple_
Placeholder for a PFH 4-tuple.
float d_pi_
Float constant = 1.0 / (2.0 * M_PI)
unsigned int getMaximumCacheSize()
Get the maximum internal cache size.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
Eigen::VectorXf pfh_histogram_
Placeholder for a point's PFH signature.
void computePointPFHSignature(const pcl::PointCloud< PointInT > &cloud, const pcl::PointCloud< PointNT > &normals, const std::vector< int > &indices, int nr_split, Eigen::VectorXf &pfh_histogram)
Estimate the PFH (Point Feature Histograms) individual signatures of the three angular (f1...
std::map< std::pair< int, int >, Eigen::Vector4f, std::less< std::pair< int, int > >, Eigen::aligned_allocator< std::pair< const std::pair< int, int >, Eigen::Vector4f > > > feature_map_
Internal hashmap, used to optimize efficiency of redundant computations.
std::queue< std::pair< int, int > > key_list_
Queue of pairs saved, used to constrain memory usage.
Feature represents the base feature class.
int f_index_[3]
Placeholder for a histogram index.
void setUseInternalCache(bool use_cache)
Set whether to use an internal cache mechanism for removing redundant calculations or not...
Feature< PointInT, PointOutT >::PointCloudIn PointCloudIn