55 return "Subsampling. Reduce the points number by randomly removing points with a density highler than a treshold.";
60 {
"maxDensity",
"Maximum density of points to target. Unit: number of points per m^3.",
"10",
"0.0000001",
"inf", &P::Comp<T>}
68 virtual DataPoints
filter(
const DataPoints& input);
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
Parametrizable::Parameters Parameters
static const std::string description()
PointMatcher< T >::DataPoints DataPoints
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Parametrizable::InvalidParameter InvalidParameter
PointMatcher< T >::DataPoints::InvalidField InvalidField
MaxDensityDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.
Parametrizable::ParameterDoc ParameterDoc
PointMatcherSupport::Parametrizable Parametrizable
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
Functions and classes that are dependant on scalar type are defined in this templatized class...
Parametrizable::ParametersDoc ParametersDoc
The documentation of a parameter.
The superclass of classes that are constructed using generic parameters. This class provides the para...
An exception thrown when one tries to fetch the value of an unexisting parameter. ...
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
static const ParametersDoc availableParameters()
PointMatcherSupport::Parametrizable P
An exception thrown when one tries to access features or descriptors unexisting or of wrong dimension...
Subsampling. Reduce the points number by randomly removing points with a dentsity higher than a tresh...
PM::DataPointsFilter DataPointsFilter