74 for (
int x = 0;
x < w.cols(); ++
x)
76 for (
int y = 0; y < w.rows(); ++y)
78 if (input.
dists(y,
x) == numeric_limits<T>::infinity())
96 w = w.array() * (*it)->compute(filteredReading, filteredReference, input).array();
Matrix OutlierWeights
Weights of the associations between the points in Matches and the points in the reference.
virtual OutlierWeights compute(const DataPoints &filteredReading, const DataPoints &filteredReference, const Matches &input)=0
Detect outliers using features.
OutlierWeights compute(const DataPoints &filteredReading, const DataPoints &filteredReference, const Matches &input)
Apply outlier-detection chain.
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
Functions and classes that are dependant on scalar type are defined in this templatized class...
Result of the data-association step (Matcher::findClosests), before outlier rejection.
An outlier filter removes or weights links between points in reading and their matched points in refe...
The superclass of classes that are constructed using generic parameters. This class provides the para...
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
A chain of OutlierFilter.
virtual ~OutlierFilter()
virtual destructor
OutlierFilter()
Construct without parameter.
Dists dists
squared distances to closest points
OutlierFilters::const_iterator OutlierFiltersConstIt
alias