features.h
Go to the documentation of this file.
1 #ifndef MAP_MERGE_FEATURES_H_
2 #define MAP_MERGE_FEATURES_H_
3 
4 #include <map_merge_3d/enum.h>
6 
7 namespace map_merge_3d
8 {
18 // define this for dispatch
20 #define DESCRIPTORS_NAMES_ PFH, PFHRGB, FPFH, RSD, SHOT, SC3D
21 
23 // define enum class Descriptor + string conversions
24 ENUM_CLASS(Descriptor, DESCRIPTORS_NAMES_);
25 
34 PointCloudPtr downSample(const PointCloudConstPtr &input, double resolution);
35 
45 PointCloudPtr removeOutliers(const PointCloudConstPtr &input, double radius,
46  int min_neighbours);
47 
48 // define enum class Keypoint + string conversions
49 ENUM_CLASS(Keypoint, SIFT, HARRIS);
50 
66  const SurfaceNormalsPtr &normals, Keypoint type,
67  double threshold, double radius,
68  double resolution);
69 
84  const SurfaceNormalsPtr &normals,
85  const PointCloudPtr &keypoints,
86  Descriptor descriptor,
87  double feature_radius);
88 
98  double radius);
99 
101 
102 } // namespace map_merge_3d
103 
104 #endif // MAP_MERGE_FEATURES_H_
pcl::PCLPointCloud2::Ptr LocalDescriptorsPtr
Definition: typedefs.h:28
SurfaceNormalsPtr computeSurfaceNormals(const PointCloudConstPtr &input, double radius)
Estimate cloud surface normals.
PointCloudPtr downSample(const PointCloudConstPtr &input, double resolution)
Voxelize input pointcloud to reduce number of points.
pcl::PointCloud< PointT >::Ptr PointCloudPtr
Definition: typedefs.h:17
pcl::PointCloud< NormalT >::Ptr SurfaceNormalsPtr
Definition: typedefs.h:23
PointCloudPtr removeOutliers(const PointCloudConstPtr &input, double radius, int min_neighbours)
Removes outliers from the pointcloud.
pcl::PointCloud< PointT >::ConstPtr PointCloudConstPtr
Definition: typedefs.h:18
LocalDescriptorsPtr computeLocalDescriptors(const PointCloudConstPtr &points, const SurfaceNormalsPtr &normals, const PointCloudPtr &keypoints, Descriptor descriptor, double feature_radius)
Compute local feature descriptors around each keypoint.
DOXYGEN_SKIP ENUM_CLASS(Descriptor, DESCRIPTORS_NAMES_)
PointCloudPtr detectKeypoints(const PointCloudConstPtr &points, const SurfaceNormalsPtr &normals, Keypoint type, double threshold, double radius, double resolution)
Detects keypoints in the pointcloud.


map_merge_3d
Author(s): Jiri Horner
autogenerated on Mon Feb 28 2022 22:47:17