Point Cloud Library (PCL)
1.11.0
|
40 #include <pcl/keypoints/keypoint.h>
53 template <
typename Po
intT,
typename Po
intNT>
57 using Ptr = shared_ptr<SmoothedSurfacesKeypoint<PointT, PointNT> >;
58 using ConstPtr = shared_ptr<const SmoothedSurfacesKeypoint<PointT, PointNT> >;
75 neighborhood_constant_ (0.5f),
83 name_ =
"SmoothedSurfacesKeypoint";
119 float neighborhood_constant_;
120 std::vector<PointCloudTConstPtr> clouds_;
121 std::vector<PointCloudNTConstPtr> cloud_normals_;
122 std::vector<KdTreePtr> cloud_trees_;
124 std::vector<std::pair<float, std::size_t> > scales_;
126 std::size_t input_index_;
129 compareScalesFunction (
const std::pair<float, std::size_t> &a,
130 const std::pair<float, std::size_t> &b) {
return a.first < b.first; }
void addSmoothedPointCloud(const PointCloudTConstPtr &cloud, const PointCloudNTConstPtr &normals, KdTreePtr &kdtree, float &scale)
typename PointCloudT::ConstPtr PointCloudTConstPtr
SmoothedSurfacesKeypoint()
typename PointCloudT::Ptr PointCloudTPtr
shared_ptr< const SmoothedSurfacesKeypoint< PointT, PointNT > > ConstPtr
bool initCompute() override
float getNeighborhoodConstant()
PointCloud represents the base class in PCL for storing collections of 3D points.
typename PointCloudNT::ConstPtr PointCloudNTConstPtr
A point structure representing Euclidean xyz coordinates, and the RGB color.
void setInputScale(float input_scale)
typename Keypoint< PointT, PointT >::KdTreePtr KdTreePtr
std::string name_
The key point detection method's name.
shared_ptr< PointCloud< PointT > > Ptr
Based on the paper: Xinju Li and Igor Guskov Multi-scale features for approximate alignment of point-...
shared_ptr< const PointCloud< PointT > > ConstPtr
shared_ptr< SmoothedSurfacesKeypoint< PointT, PointNT > > Ptr
Keypoint represents the base class for key points.
void setNeighborhoodConstant(float neighborhood_constant)
void setInputNormals(const PointCloudNTConstPtr &normals)
void detectKeypoints(PointCloudT &output) override