boofcv.factory.geo
Class EstimatorToGenerator<Model,Point>
- java.lang.Object
-
- boofcv.factory.geo.EstimatorToGenerator<Model,Point>
-
- All Implemented Interfaces:
- ModelGenerator<Model,Point>
public class EstimatorToGenerator<Model,Point> extends java.lang.Object implements ModelGenerator<Model,Point>
Wrapper class for convertingGeoModelEstimator1intoModelGenerator.
-
-
Constructor Summary
Constructors Constructor and Description EstimatorToGenerator(GeoModelEstimator1<Model,Point> alg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleangenerate(java.util.List<Point> dataSet, Model out)Creates a list of hypotheses from the set of sample points.intgetMinimumPoints()The minimum number of points required to fit a data set
-
-
-
Constructor Detail
-
EstimatorToGenerator
public EstimatorToGenerator(GeoModelEstimator1<Model,Point> alg)
-
-
Method Detail
-
generate
public boolean generate(java.util.List<Point> dataSet, Model out)
Description copied from interface:ModelGeneratorCreates a list of hypotheses from the set of sample points.- Specified by:
generatein interfaceModelGenerator<Model,Point>- Parameters:
dataSet- Set of sample points. Typically the minimum number possible.out- Storage for generated model.- Returns:
- true if a model was generated, otherwise false is none were
-
getMinimumPoints
public int getMinimumPoints()
Description copied from interface:ModelGeneratorThe minimum number of points required to fit a data set- Specified by:
getMinimumPointsin interfaceModelGenerator<Model,Point>- Returns:
- Number of points.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG