Interface IModelFitter<M>

Type Parameters:
M - mathematical model representing the parameters to estimate
All Known Implementing Classes:
PolynomialModelFitter

public interface IModelFitter<M>
Base class for mathematical model fitter used with RansacFitter.
Since:
4.1
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    computeModelError(M model, Fittable point)
    Computes the error between the model and an observed data.
    Fits the mathematical model parameters based on the set of observed data.
  • Method Details

    • fitModel

      M fitModel(List<Fittable> points)
      Fits the mathematical model parameters based on the set of observed data.
      Parameters:
      points - set of observed data
      Returns:
      the fitted model parameters
    • computeModelError

      double computeModelError(M model, Fittable point)
      Computes the error between the model and an observed data.

      This method is used to determine if the observed data is an inlier or an outlier.

      Parameters:
      model - fitted model
      point - observed data
      Returns:
      the error between the model and the observed data