Go to the documentation of this file.
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>}
PM::DataPointsFilter DataPointsFilter
Parametrizable::Parameters Parameters
Subsampling. Filter points beyond a maximum quantile measured on a specific axis.
Functions and classes that are dependant on scalar type are defined in this templatized class.
Parametrizable::ParameterDoc ParameterDoc
PointMatcher< T >::DataPoints DataPoints
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
PointMatcherSupport::Parametrizable P
An exception thrown when one tries to fetch the value of an unexisting parameter.
static const ParametersDoc availableParameters()
static const std::string description()
Parametrizable::InvalidParameter InvalidParameter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
The superclass of classes that are constructed using generic parameters. This class provides the para...
The documentation of a parameter.
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Parametrizable::ParametersDoc ParametersDoc
MaxQuantileOnAxisDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
PointMatcherSupport::Parametrizable Parametrizable