Implementation of a linear RANSAC model fit. More...
#include <OpenMS/MATH/MISC/RANSACModelLinear.h>
Static Public Member Functions | |
static ModelParameters | rm_fit_impl (const DVecIt &begin, const DVecIt &end) |
static double | rm_rsq_impl (const DVecIt &begin, const DVecIt &end) |
static double | rm_rss_impl (const DVecIt &begin, const DVecIt &end, const ModelParameters &coefficients) |
static DVec | rm_inliers_impl (const DVecIt &begin, const DVecIt &end, const ModelParameters &coefficients, double max_threshold) |
Additional Inherited Members | |
Public Types inherited from RansacModel< RansacModelLinear > | |
typedef std::pair< double, double > | DPair |
typedef std::vector< DPair > | DVec |
typedef DVec::const_iterator | DVecIt |
typedef std::vector< double > | ModelParameters |
Public Member Functions inherited from RansacModel< RansacModelLinear > | |
ModelParameters | rm_fit (const DVecIt &begin, const DVecIt &end) const |
fit a model and return its parameters More... | |
double | rm_rsq (const DVecIt &begin, const DVecIt &end) const |
Returns the R-squared of the data applied to the model (computed on-the-fly). More... | |
double | rm_rss (const DVecIt &begin, const DVecIt &end, const ModelParameters &coefficients) const |
calculates the residual sum of squares of the input points according to the model More... | |
DVec | rm_inliers (const DVecIt &begin, const DVecIt &end, const ModelParameters &coefficients, double max_threshold) const |
Implementation of a linear RANSAC model fit.
Using generic plug-in template base class 'RansacModel' using 'Curiously recurring template pattern' (CRTP).
|
static |
|
static |
|
static |
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:15 using doxygen 1.8.13 |