44 #include <pcl/point_cloud.h> 47 #include <pcl/features/fpfh.h> 48 #include <pcl/features/normal_3d.h> 50 #include <pcl/filters/filter_indices.h> 51 #include <pcl/segmentation/extract_clusters.h> 53 #include <pcl/ml/kmeans.h> 60 template <
typename Po
intT>
91 std::vector<int> &indi,
92 std::vector<float> &dist);
95 assignLabels (std::vector<int> &indi,
96 std::vector<float> &dist,
98 float feature_threshold,
131 std::vector<int> &cluster_numbers);
141 float normal_radius_search,
142 float fpfh_radius_search);
176 #ifdef PCL_NO_PRECOMPILE 177 #include <pcl/segmentation/impl/unary_classifier.hpp> shared_ptr< PointCloud< PointT > > Ptr
Defines functions, macros and traits for allocating and using memory.
void setTrainedFeatures(std::vector< pcl::PointCloud< pcl::FPFHSignature33 >::Ptr > &features)
unsigned int cluster_size_
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
std::vector< pcl::PointCloud< pcl::FPFHSignature33 >::Ptr > trained_features_
void setFeatureThreshold(float threshold)
Defines all the PCL implemented PointT point type structures.
pcl::PointCloud< PointT >::Ptr input_cloud_
Contains the input cloud.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
float fpfh_radius_search_
void setLabelField(bool l)
void setFPFHRadiusSearch(float param)
void setNormalRadiusSearch(float param)
float normal_radius_search_
void setClusterSize(unsigned int k)
Defines all the PCL and non-PCL macros used.