Go to the documentation of this file.
54 return "Subsampling. This filter reduces the size of the point cloud by only keeping one point over step ones; with step varying in time from startStep to endStep, each iteration getting multiplied by stepMult. If use as prefilter (i.e. before the iterations), only startStep is used.";
59 {
"startStep",
"initial number of point to skip (initial decimation factor)",
"10",
"1",
"2147483647", &P::Comp<unsigned>},
60 {
"endStep",
"maximal or minimal number of points to skip (final decimation factor)",
"10",
"1",
"2147483647", &P::Comp<unsigned>},
61 {
"stepMult",
"multiplication factor to compute the new decimation factor for each iteration",
"1",
"0.0000001",
"inf", &P::Comp<double>}
Systematic sampling, with variation over time.
Parametrizable::InvalidParameter InvalidParameter
PM::DataPointsFilter DataPointsFilter
Functions and classes that are dependant on scalar type are defined in this templatized class.
virtual void init()
Init this filter.
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
PointMatcherSupport::Parametrizable Parametrizable
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
PointMatcher< T >::DataPoints DataPoints
An exception thrown when one tries to fetch the value of an unexisting parameter.
The superclass of classes that are constructed using generic parameters. This class provides the para...
PointMatcherSupport::Parametrizable P
The documentation of a parameter.
Parametrizable::ParameterDoc ParameterDoc
Parametrizable::Parameters Parameters
Parametrizable::ParametersDoc ParametersDoc
virtual ~FixStepSamplingDataPointsFilter()
static const ParametersDoc availableParameters()
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
FixStepSamplingDataPointsFilter(const Parameters ¶ms=Parameters())
static const std::string description()
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.