An outlier filter removes or weights links between points in reading and their matched points in reference, depending on some criteria. More...
#include <PointMatcher.h>
Public Member Functions | |
virtual OutlierWeights | compute (const DataPoints &filteredReading, const DataPoints &filteredReference, const Matches &input)=0 |
Detect outliers using features. More... | |
OutlierFilter () | |
Construct without parameter. More... | |
OutlierFilter (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. More... | |
virtual | ~OutlierFilter () |
virtual destructor More... | |
Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
S | get (const std::string ¶mName) |
Return the value of paramName, lexically-casted to S. More... | |
std::string | getParamValueString (const std::string ¶mName) |
Get the value of a parameter, as a string. More... | |
Parametrizable () | |
Construct a documentation of parameters from a description in the source. More... | |
Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with documented parameters. More... | |
virtual | ~Parametrizable () |
Virtual destructor, do nothing. More... | |
Additional Inherited Members | |
Public Types inherited from PointMatcherSupport::Parametrizable | |
typedef bool(* | LexicalComparison) (std::string a, std::string b) |
A function that returns whether a is smaller than b. More... | |
typedef std::string | Parameter |
alias More... | |
typedef std::map< std::string, Parameter > | Parameters |
Parameters stored as a map of string->string. More... | |
typedef std::vector< ParameterDoc > | ParametersDoc |
The documentation of all parameters. More... | |
typedef std::set< std::string > | ParametersUsed |
Parameters whose value has been read. More... | |
Static Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
static bool | Comp (std::string a, std::string b) |
Return whether a < b, lexically casted to S. More... | |
Public Attributes inherited from PointMatcherSupport::Parametrizable | |
const std::string | className |
name of the class More... | |
Parameters | parameters |
parameters with their values encoded in string More... | |
const ParametersDoc | parametersDoc |
documentation of parameters More... | |
ParametersUsed | parametersUsed |
parameters whose value has actually been read More... | |
An outlier filter removes or weights links between points in reading and their matched points in reference, depending on some criteria.
Criteria can be a fixed maximum authorized distance, a factor of the median distance, etc. Points with zero weights are ignored in the subsequent minimization step.
Definition at line 499 of file PointMatcher.h.
PointMatcher< T >::OutlierFilter::OutlierFilter | ( | ) |
Construct without parameter.
Definition at line 44 of file OutlierFilter.cpp.
PointMatcher< T >::OutlierFilter::OutlierFilter | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) |
Construct with parameters.
Definition at line 49 of file OutlierFilter.cpp.
|
virtual |
virtual destructor
Definition at line 55 of file OutlierFilter.cpp.
|
pure virtual |
Detect outliers using features.
Implemented in OutlierFiltersImpl< T >::RobustOutlierFilter, OutlierFiltersImpl< T >::GenericDescriptorOutlierFilter, OutlierFiltersImpl< T >::SurfaceNormalOutlierFilter, OutlierFiltersImpl< T >::VarTrimmedDistOutlierFilter, OutlierFiltersImpl< T >::TrimmedDistOutlierFilter, OutlierFiltersImpl< T >::MedianDistOutlierFilter, OutlierFiltersImpl< T >::MinDistOutlierFilter, OutlierFiltersImpl< T >::MaxDistOutlierFilter, and OutlierFiltersImpl< T >::NullOutlierFilter.