66 return "This filter computes the level of ’sphericality’ for each point. It describes the shape of local geometry, whether the surrounding points resemble a plane (the sphericality value goes towards -1) or a uniform distribution (the value towards +1). It is intended for 3D point clouds only. Sphericality is computed by subtracting the intermediate values of ‘unstructureness’ and ‘structureness’.\n\n" 67 "Required descriptors: eigValues (must be three, otherwise exception).\n" 68 "Produced descritors: sphericality, unstructureness(optional), structureness(optional).\n" 69 "Altered descriptors: none.\n" 70 "Altered features: none.";
75 {
"keepUnstructureness",
"whether the value of the unstructureness should be added to the pointcloud",
"0"},
76 {
"keepStructureness",
"whether the value of the structureness should be added to the pointcloud",
"0"},
85 virtual DataPoints
filter(
const DataPoints& input);
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Parametrizable::Parameters Parameters
Parametrizable::ParametersDoc ParametersDoc
PointMatcher< T >::Matrix Matrix
PointMatcher< T >::Vector Vector
static const std::string description()
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > Matrix
A dense matrix over ScalarType.
PointMatcher< T >::DataPoints::InvalidField InvalidField
PointMatcherSupport::Parametrizable P
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
const bool keepStructureness
Functions and classes that are dependant on scalar type are defined in this templatized class...
PointMatcher< T >::DataPoints DataPoints
virtual ~SphericalityDataPointsFilter()
The documentation of a parameter.
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
const bool keepUnstructureness
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()
Parametrizable::InvalidParameter InvalidParameter
An exception thrown when one tries to access features or descriptors unexisting or of wrong dimension...
Eigen::Matrix< T, Eigen::Dynamic, 1 > Vector
A vector over ScalarType.
PM::DataPointsFilter DataPointsFilter
Parametrizable::ParameterDoc ParameterDoc
PointMatcherSupport::Parametrizable Parametrizable
SphericalityDataPointsFilter(const Parameters ¶ms=Parameters())