public abstract class GeoModelEstimatorNto1<Model,Point> extends java.lang.Object implements GeoModelEstimator1<Model,Point>
GeoModelEstimatorN
to be used as a GeoModelEstimator1
. If more than one
solution is found the ambiguity is resolved by computing the distance each hypothesis is away from a set of points
not used to compute the model.Constructor and Description |
---|
GeoModelEstimatorNto1(GeoModelEstimatorN<Model,Point> alg,
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
copy(Model src,
Model dst)
Copies src into dst
|
int |
getMinimumPoints()
Minimum number of points required to estimate the model.
|
boolean |
process(java.util.List<Point> points,
Model estimatedModel)
Estimates the model given a set of observations.
|
public GeoModelEstimatorNto1(GeoModelEstimatorN<Model,Point> alg,distance, FastQueue<Model> solutions, int numTest)
public boolean process(java.util.List<Point> points, Model estimatedModel)
GeoModelEstimator1
process
in interface GeoModelEstimator1<Model,Point>
points
- Input: Set of observations. Not modified.estimatedModel
- Output: Storage for the estimated model. Modified.public int getMinimumPoints()
GeoModelEstimator1
getMinimumPoints
in interface GeoModelEstimator1<Model,Point>
Copyright © 2011-2012 Peter Abeles