43 #include <pcl/segmentation/region_growing.h>
53 template <
typename Po
intT,
typename NormalT = pcl::Normal>
93 getPointColorThreshold ()
const;
102 setPointColorThreshold (
float thresh);
106 getRegionColorThreshold ()
const;
114 setRegionColorThreshold (
float thresh);
120 getDistanceThreshold ()
const;
126 setDistanceThreshold (
float thresh);
132 getNumberOfRegionNeighbours ()
const;
139 setNumberOfRegionNeighbours (
unsigned int nghbr_number);
143 getNormalTestFlag ()
const;
150 setNormalTestFlag (
bool value);
156 setCurvatureTestFlag (
bool value)
override;
163 setResidualTestFlag (
bool value)
override;
170 extract (std::vector <pcl::PointIndices>& clusters)
override;
185 prepareForSegmentation ()
override;
191 findPointNeighbours ()
override;
197 findSegmentNeighbours ();
206 findRegionsKNN (
int index,
int nghbr_number, std::vector<int>& nghbrs, std::vector<float>& dist);
213 applyRegionMergingAlgorithm ();
221 calculateColorimetricalDifference (std::vector<unsigned int>& first_color, std::vector<unsigned int>& second_color)
const;
231 findRegionNeighbours (std::vector< std::vector< std::pair<float, int> > >& neighbours_out, std::vector< std::vector<int> >& regions_in);
238 assembleRegions (std::vector<unsigned int>& num_pts_in_region,
int num_regions);
248 validatePoint (
int initial_seed,
int point,
int nghbr,
bool& is_a_seed)
const override;
281 #ifdef PCL_NO_PRECOMPILE
282 #include <pcl/segmentation/impl/region_growing_rgb.hpp>