Public Member Functions | List of all members
PointMatcher< T >::OutlierFilter Struct Referenceabstract

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>

Inheritance diagram for PointMatcher< T >::OutlierFilter:
Inheritance graph
[legend]

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 &params)
 Construct with parameters. More...
 
virtual ~OutlierFilter ()
 virtual destructor More...
 
- Public Member Functions inherited from PointMatcherSupport::Parametrizable
template<typename S >
get (const std::string &paramName)
 Return the value of paramName, lexically-casted to S. More...
 
std::string getParamValueString (const std::string &paramName)
 Get the value of a parameter, as a string. More...
 
template<typename T >
std::vector< T > getVector (const std::string &paramName)
 Return the value of paramName, lexically-casted std::vector<S> More...
 
 Parametrizable ()
 Construct a documentation of parameters from a description in the source. More...
 
 Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 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, ParameterParameters
 Parameters stored as a map of string->string. More...
 
typedef std::vector< ParameterDocParametersDoc
 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...
 

Detailed Description

template<typename T>
struct PointMatcher< T >::OutlierFilter

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 500 of file PointMatcher.h.

Constructor & Destructor Documentation

◆ OutlierFilter() [1/2]

template<typename T >
PointMatcher< T >::OutlierFilter::OutlierFilter

Construct without parameter.

Definition at line 44 of file OutlierFilter.cpp.

◆ OutlierFilter() [2/2]

template<typename T >
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.

◆ ~OutlierFilter()

template<typename T >
PointMatcher< T >::OutlierFilter::~OutlierFilter
virtual

virtual destructor

Definition at line 55 of file OutlierFilter.cpp.

Member Function Documentation

◆ compute()

template<typename T >
virtual OutlierWeights PointMatcher< T >::OutlierFilter::compute ( const DataPoints filteredReading,
const DataPoints filteredReference,
const Matches input 
)
pure virtual

The documentation for this struct was generated from the following files:


libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:11