43 #include <pcl/features/feature.h>
45 #define GRIDSIZE_H (GRIDSIZE/2)
58 template <
typename Po
intInT,
typename Po
intOutT = pcl::ESFSignature640>
62 using Ptr = shared_ptr<ESFEstimation<PointInT, PointOutT> >;
63 using ConstPtr = shared_ptr<const ESFEstimation<PointInT, PointOutT> >;
80 lut_.resize (GRIDSIZE);
81 for (
int i = 0; i < GRIDSIZE; ++i)
83 lut_[i].resize (GRIDSIZE);
84 for (
int j = 0; j < GRIDSIZE; ++j)
85 lut_[i][j].resize (GRIDSIZE);
109 lci (
const int x1,
const int y1,
const int z1,
110 const int x2,
const int y2,
const int z2,
111 float &ratio,
int &incnt,
int &pointcount);
132 std::vector<std::vector<std::vector<int> > > lut_;
139 #ifdef PCL_NO_PRECOMPILE
140 #include <pcl/features/impl/esf.hpp>
ESFEstimation estimates the ensemble of shape functions descriptors for a given point cloud dataset c...
shared_ptr< const ESFEstimation< PointInT, PointOutT > > ConstPtr
pcl::PointCloud< PointInT > PointCloudIn
shared_ptr< ESFEstimation< PointInT, PointOutT > > Ptr
void compute(PointCloudOut &output)
Overloaded computed method from pcl::Feature.
void computeESF(PointCloudIn &pc, std::vector< float > &hist)
...
ESFEstimation()
Empty constructor.
typename Feature< PointInT, PointOutT >::PointCloudOut PointCloudOut
void voxelize9(PointCloudIn &cluster)
...
void scale_points_unit_sphere(const pcl::PointCloud< PointInT > &pc, float scalefactor, Eigen::Vector4f ¢roid)
...
int lci(const int x1, const int y1, const int z1, const int x2, const int y2, const int z2, float &ratio, int &incnt, int &pointcount)
...
void cleanup9(PointCloudIn &cluster)
...
void computeFeature(PointCloudOut &output) override
Estimate the Ensebmel of Shape Function (ESF) descriptors at a set of points given by <setInputCloud ...
Feature represents the base feature class.
double search_radius_
The nearest neighbors search radius for each point.
int k_
The number of K nearest neighbors to use for each point.
std::string feature_name_
The feature name.