56 return "Subsampling. This filter reduces the size of the point cloud by randomly dropping points. Based on \\cite{Masuda1996Random}";
61 {
"prob",
"probability to keep a point, one over decimation factor ",
"0.75",
"0",
"1", &P::Comp<T>}
69 virtual DataPoints
filter(
const DataPoints& input);
PointMatcherSupport::Parametrizable P
virtual ~RandomSamplingDataPointsFilter()
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
PointMatcher< T >::DataPoints DataPoints
Functions and classes that are dependant on scalar type are defined in this templatized class...
Parametrizable::ParameterDoc ParameterDoc
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.
RandomSamplingDataPointsFilter(const Parameters ¶ms=Parameters())
PointMatcherSupport::Parametrizable Parametrizable
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
DataPointsFilter()
Construct without parameter.
static const ParametersDoc availableParameters()
Parametrizable::InvalidParameter InvalidParameter
static const std::string description()
Parametrizable::Parameters Parameters