Interface GeoModelEstimatorN<Model,Sample>

All Known Subinterfaces:
EstimateNofEpipolar, EstimateNofEpipolarPointing, EstimateNofPnP, EstimateNofPrNP
All Known Implementing Classes:
Estimate1toNofEpipolar, Estimate1toNofPnP, GeoModelEstimator1toN, WrapEssentialNister5, WrapEssentialNister5Pointing, WrapFundamentalLinear7, WrapP3PLineDistance

public interface GeoModelEstimatorN<Model,Sample>

Creates multiple hypotheses for the parameters in a model a set of sample points/observations.

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Minimum number of points required to estimate the model.
    boolean
    process(List<Sample> points, DogArray<Model> estimatedModels)
    Estimates a set of models which fit the given a set of observations.
  • Method Details

    • process

      boolean process(List<Sample> points, DogArray<Model> estimatedModels)
      Estimates a set of models which fit the given a set of observations. A DogArray is used to store the found models. Each time this function is invoked 'estimatedModels' is reset and new models are requested using the DogArray.pop() function.
      Parameters:
      points - Input: Set of observations. Not modified.
      estimatedModels - Output: Storage for the set of estimated models. Modified.
      Returns:
      true if successful
    • getMinimumPoints

      int getMinimumPoints()
      Minimum number of points required to estimate the model.
      Returns:
      Minimum number of points.