Go to the documentation of this file.
60 return "Normal Space Sampling (NSS) \\cite{Rusinkiewicz2001}. Construct a set of buckets in the normal-space, then put all points of the data into buckets based on their normal direction; Finally, uniformly pick points from all the buckets until the desired number of points is selected. **Required** to compute normals as pre-step.";
66 {
"nbSample",
"Number of point to select.",
"5000",
"1",
"4294967295", &P::Comp<std::size_t>},
67 {
"seed",
"Seed for the random generator.",
"1",
"0",
"4294967295", &P::Comp<std::size_t>},
68 {
"epsilon",
"Step of discretization for the angle spaces",
"0.09817477042" ,
"0.04908738521" ,
"3.14159265359" , &P::Comp<T>}
Parametrizable::InvalidParameter InvalidParameter
Parametrizable::ParametersDoc ParametersDoc
std::size_t bucketIdx(T theta, T phi) const
static const ParametersDoc availableParameters()
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
PointMatcherSupport::Parametrizable Parametrizable
PointMatcherSupport::Parametrizable P
Parametrizable::ParameterDoc ParameterDoc
Functions and classes that are dependant on scalar type are defined in this templatized class.
virtual ~NormalSpaceDataPointsFilter()
An exception thrown when one tries to access features or descriptors unexisting or of wrong dimension...
NormalSpaceDataPointsFilter(const Parameters ¶ms=Parameters())
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
A data filter takes a point cloud as input, transforms it, and produces another point cloud as output...
An exception thrown when one tries to fetch the value of an unexisting parameter.
Matrix::Index Index
An index to a row or a column.
PM::DataPoints DataPoints
The superclass of classes that are constructed using generic parameters. This class provides the para...
The documentation of a parameter.
Parametrizable::Parameters Parameters
static const std::string description()
const std::size_t nbSample
PM::DataPointsFilter DataPointsFilter
const std::size_t nbBucket
PointMatcher< T >::DataPoints::InvalidField InvalidField
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.