54 return "Subsampling. Filter points under or beyond a maximum quantile measured on a specific axis.";
59 {
"dim",
"dimension on which the filter will be applied. x=0, y=1, z=2",
"0",
"0",
"2", &P::Comp<unsigned>},
60 {
"ratio",
"maximum quantile authorized. All points beyond that will be filtered.",
"0.5",
"0.0000001",
"0.9999999", &P::Comp<T>},
61 {
"removeBeyond",
"If set to true (1), remove points beyond the quantile ratio; else (0), remove points under the quantile ratio",
"1",
"0",
"1", P::Comp<bool>}
71 virtual DataPoints
filter(
const DataPoints& input);
Parametrizable::Parameters Parameters
PointMatcherSupport::Parametrizable Parametrizable
Parametrizable::ParameterDoc ParameterDoc
PointMatcher< T >::DataPoints DataPoints
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
PointMatcherSupport::Parametrizable P
Functions and classes that are dependant on scalar type are defined in this templatized class...
static const ParametersDoc availableParameters()
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. ...
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
static const std::string description()
Parametrizable::ParametersDoc ParametersDoc
MaxQuantileOnAxisDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.
Parametrizable::InvalidParameter InvalidParameter
Subsampling. Filter points beyond a maximum quantile measured on a specific axis. ...
PM::DataPointsFilter DataPointsFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.