OpenMS
|
Implementation of a quadratic RANSAC model fit. More...
#include <OpenMS/MATH/MISC/RANSACModelQuadratic.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< RansacModelQuadratic > | |
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< RansacModelQuadratic > | |
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 quadratic RANSAC model fit.
Using generic plug-in template base class 'RansacModel' using 'Curiously recurring template pattern' (CRTP).
|
static |
|
static |
|
static |