42 #include <pcl/gpu/octree/octree.hpp>
44 #include <pcl/point_cloud.h>
46 #include <pcl/PointIndices.h>
50 template <
typename Po
intT>
56 std::vector<PointIndices>& clusters,
57 unsigned int min_pts_per_cluster,
58 unsigned int max_pts_per_cluster);
65 template <
typename Po
intT>
175 extract(std::vector<PointIndices>& clusters);
202 return (
"gpu::EuclideanLabeledClusterExtraction");
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< PointCloud< PointT > > Ptr
shared_ptr< const PointCloud< PointT > > ConstPtr
Octree implementation on GPU.
shared_ptr< Octree > Ptr
Types.
DeviceArray< PointType > PointCloud
Point cloud supported.
Defines all the PCL implemented PointT point type structures.
bool compareLabeledPointClusters(const pcl::PointIndices &a, const pcl::PointIndices &b)
Sort clusters method (for std::sort).
void extractLabeledEuclideanClusters(const typename pcl::PointCloud< PointT >::Ptr &host_cloud_, const pcl::gpu::Octree::Ptr &tree, float tolerance, std::vector< PointIndices > &clusters, unsigned int min_pts_per_cluster, unsigned int max_pts_per_cluster)
Defines all the PCL and non-PCL macros used.
shared_ptr< ::pcl::PointIndices > Ptr
shared_ptr< const ::pcl::PointIndices > ConstPtr
A point structure representing Euclidean xyz coordinates.