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, EstimateNto1ofPnP
public abstract class GeoModelEstimatorNto1<Model,Point> extends java.lang.Object implements GeoModelEstimator1<Model,Point>
Wrapper that allowsGeoModelEstimatorNto be used as aGeoModelEstimator1. 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
Constructors Constructor and Description GeoModelEstimatorNto1(GeoModelEstimatorN<Model,Point> alg, DistanceFromModel<Model,Point> distance, FastQueue<Model> solutions, int numTest)
-
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, Model estimatedModel)Estimates the model given a set of observations.
-
-
-
Constructor Detail
-
GeoModelEstimatorNto1
public GeoModelEstimatorNto1(GeoModelEstimatorN<Model,Point> alg, DistanceFromModel<Model,Point> distance, FastQueue<Model> solutions, int numTest)
-
-
Method Detail
-
process
public boolean process(java.util.List<Point> points, Model estimatedModel)
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
-
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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG