org.ddogleg.fitting.modelset
Interface ModelGenerator<Model,Point>
-
- All Known Implementing Classes:
- DoNothingModelFitter, EstimatorToGenerator, GenerateAffine2D, GenerateEpipolarMatrix, GenerateHomographyLinear, GenerateMotionPnP, GenerateScaleTranslate2D, GenerateScaleTranslateRotate2D, GenerateSe2_AssociatedPair, GenerateSe2_PlanePtPixel, GridLineModelFitter, LineGenerator, MeanModelFitter, Se3FromEssentialGenerator, TestRansac.DebugModelStuff
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
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleangenerate(java.util.List<Point> dataSet, Model output)Creates a list of hypotheses from the set of sample points.intgetMinimumPoints()The minimum number of points required to fit a data set
-
-
-
Method Detail
-
generate
boolean generate(java.util.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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG