29 #include <pcl/point_types.h>
30 #include <pcl/io/pcd_io.h>
31 #include <pcl/search/search.h>
32 #include <pcl/search/kdtree.h>
33 #include <pcl/features/normal_3d.h>
34 #include <pcl/filters/passthrough.h>
35 #include <pcl/segmentation/region_growing.h>
50 using PointT = pcl::PointXYZRGBA;
51 using PointL = pcl::PointXYZL;
53 pcl::PointCloud<PointT>::Ptr input_cloud_ptr;
54 pcl::PointCloud<pcl::PointXYZRGBA>::Ptr output_colored_cloud;
55 pcl::PointCloud<PointL>::Ptr output_labeled_cloud;
57 float SmoothnessThreshold;
58 float CurvatureThreshold;
60 void RegionGrowingSegmenter();
61 void ConvertFromXYZRGBAtoXYZL();