Interface ModelGenerator<Model,​Point>


public interface ModelGenerator<Model,​Point>
Given a set of points create a model hypothesis. In most applications just a single hypothesis will be generated. In SFM applications geometric ambiguities can cause multiple hypotheses to be created.
  • Method Summary

    Modifier and Type Method Description
    boolean generate​(List<Point> dataSet, Model output)
    Creates a list of hypotheses from the set of sample points.
    int getMinimumPoints()
    The minimum number of points required to fit a data set
  • Method Details

    • generate

      boolean generate​(List<Point> dataSet, Model output)
      Creates a list of hypotheses from the set of sample points.
      Parameters:
      dataSet - Set of sample points. Typically the minimum number possible.
      output - Storage for generated model.
      Returns:
      true if a model was generated, otherwise false is none were
    • getMinimumPoints

      int getMinimumPoints()
      The minimum number of points required to fit a data set
      Returns:
      Number of points.