boofcv.abst.geo
Class GeoModelEstimator1toN<Model,Point>
- java.lang.Object
-
- boofcv.abst.geo.GeoModelEstimator1toN<Model,Point>
-
- All Implemented Interfaces:
- GeoModelEstimatorN<Model,Point>
- Direct Known Subclasses:
- Estimate1toNofEpipolar, Estimate1toNofPnP
public class GeoModelEstimator1toN<Model,Point> extends java.lang.Object implements GeoModelEstimatorN<Model,Point>
Wrapper that allowsGeoModelEstimator1to be used as aGeoModelEstimatorN.
-
-
Constructor Summary
Constructors Constructor and Description GeoModelEstimator1toN(GeoModelEstimator1<Model,Point> alg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetMinimumPoints()Minimum number of points required to estimate the model.booleanprocess(java.util.List<Point> points, FastQueue<Model> estimatedModels)Estimates a set of models which fit the given a set of observations.
-
-
-
Constructor Detail
-
GeoModelEstimator1toN
public GeoModelEstimator1toN(GeoModelEstimator1<Model,Point> alg)
-
-
Method Detail
-
process
public boolean process(java.util.List<Point> points, FastQueue<Model> estimatedModels)
Description copied from interface:GeoModelEstimatorNEstimates a set of models which fit the given a set of observations. A FastQueue is used to store the found models. Each time this function is invoked 'estimatedModels' is reset and new models are requested using the FastQueue.pop() function.- Specified by:
processin interfaceGeoModelEstimatorN<Model,Point>- Parameters:
points- Input: Set of observations. Not modified.estimatedModels- Output: Storage for the set of estimated models. Modified.- Returns:
- true if successful
-
getMinimumPoints
public int getMinimumPoints()
Description copied from interface:GeoModelEstimatorNMinimum number of points required to estimate the model.- Specified by:
getMinimumPointsin interfaceGeoModelEstimatorN<Model,Point>- Returns:
- Minimum number of points.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG