44 #include <pcl/point_cloud.h>
47 #include <pcl/features/fpfh.h>
49 #include <pcl/ml/kmeans.h>
56 template <
typename Po
intT>
88 std::vector<float> &dist);
92 std::vector<float> &dist,
94 float feature_threshold,
127 std::vector<int> &cluster_numbers);
137 float normal_radius_search,
138 float fpfh_radius_search);
172 #ifdef PCL_NO_PRECOMPILE
173 #include <pcl/segmentation/impl/unary_classifier.hpp>
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< PointCloud< PointT > > Ptr
void setFPFHRadiusSearch(float param)
void setTrainedFeatures(std::vector< pcl::PointCloud< pcl::FPFHSignature33 >::Ptr > &features)
void setNormalRadiusSearch(float param)
void setClusterSize(unsigned int k)
unsigned int cluster_size_
pcl::PointCloud< PointT >::Ptr input_cloud_
Contains the input cloud.
void setLabelField(bool l)
void setFeatureThreshold(float threshold)
float normal_radius_search_
~UnaryClassifier()
This destructor destroys the cloud...
float fpfh_radius_search_
std::vector< pcl::PointCloud< pcl::FPFHSignature33 >::Ptr > trained_features_
Defines all the PCL implemented PointT point type structures.
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
Defines functions, macros and traits for allocating and using memory.
IndicesAllocator<> Indices
Type used for indices in PCL.
Defines all the PCL and non-PCL macros used.