41 #include <pcl/pcl_base.h>
42 #include <pcl/search/search.h>
43 #include <pcl/point_cloud.h>
55 template <
typename Po
intT>
172 #ifdef PCL_NO_PRECOMPILE
173 #include <pcl/segmentation/impl/approximate_progressive_morphological_filter.hpp>
Implements the Progressive Morphological Filter for segmentation of ground points.
void setMaxDistance(float max_distance)
Set the maximum height above the parameterized ground surface to be considered a ground return.
void setCellSize(float cell_size)
Set the cell size.
unsigned int threads_
Number of threads to be used.
float getMaxDistance() const
Get the maximum height above the parameterized ground surface to be considered a ground return.
float getCellSize() const
Get the cell size.
int getMaxWindowSize() const
Get the maximum window size to be used in filtering ground returns.
void setBase(float base)
Set the base to be used in computing progressive window sizes.
float getBase() const
Get the base to be used in computing progressive window sizes.
void setNumberOfThreads(unsigned int nr_threads=0)
Initialize the scheduler and set the number of threads to use.
void setSlope(float slope)
Set the slope value to be used in computing the height threshold.
~ApproximateProgressiveMorphologicalFilter() override
bool exponential_
Exponentially grow window sizes?
float initial_distance_
Initial height above the parameterized ground surface to be considered a ground return.
int max_window_size_
Maximum window size to be used in filtering ground returns.
float slope_
Slope value to be used in computing the height threshold.
float max_distance_
Maximum height above the parameterized ground surface to be considered a ground return.
bool getExponential() const
Get flag indicating whether or not to exponentially grow window sizes?
float getInitialDistance() const
Get the initial height above the parameterized ground surface to be considered a ground return.
void setMaxWindowSize(int max_window_size)
Set the maximum window size to be used in filtering ground returns.
void setInitialDistance(float initial_distance)
Set the initial height above the parameterized ground surface to be considered a ground return.
float getSlope() const
Get the slope value to be used in computing the height threshold.
float base_
Base to be used in computing progressive window sizes.
float cell_size_
Cell size.
void setExponential(bool exponential)
Set flag indicating whether or not to exponentially grow window sizes?
PointCloud represents the base class in PCL for storing collections of 3D points.
Defines all the PCL implemented PointT point type structures.
IndicesAllocator<> Indices
Type used for indices in PCL.