Package boofcv.abst.geo
Class GeoModelEstimatorNto1<Model,Point>
java.lang.Object
boofcv.abst.geo.GeoModelEstimatorNto1<Model,Point>
- All Implemented Interfaces:
GeoModelEstimator1<Model,Point>
- Direct Known Subclasses:
EstimateNto1ofEpipolar,EstimateNto1ofEpipolarPointing,EstimateNto1ofPnP
public abstract class GeoModelEstimatorNto1<Model,Point>
extends Object
implements GeoModelEstimator1<Model,Point>
Wrapper that allows
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 Summary
ConstructorsModifierConstructorDescriptionprotectedGeoModelEstimatorNto1(GeoModelEstimatorN<Model, Point> alg, DistanceFromModel<Model, Point> distance, DogArray<Model> solutions, int numTest) -
Method Summary
-
Constructor Details
-
GeoModelEstimatorNto1
protected GeoModelEstimatorNto1(GeoModelEstimatorN<Model, Point> alg, DistanceFromModel<Model, Point> distance, DogArray<Model> solutions, int numTest)
-
-
Method Details
-
process
Description copied from interface:GeoModelEstimator1Estimates the model given a set of observations.- Specified by:
processin interfaceGeoModelEstimator1<Model,Point> - Parameters:
points- Input: Set of observations. Not modified.estimatedModel- Output: Storage for the estimated model. Modified.- Returns:
- true if successful
-
copy
Copies src into dst -
getMinimumPoints
public int getMinimumPoints()Description copied from interface:GeoModelEstimator1Minimum number of points required to estimate the model.- Specified by:
getMinimumPointsin interfaceGeoModelEstimator1<Model,Point> - Returns:
- Minimum number of points.
-