org.ddogleg.fitting.modelset
Interface ModelFitter<Model,Point>
-
- All Known Subinterfaces:
- RefineEpipolar, RefinePnP, RefinePnPStereo
- All Known Implementing Classes:
- DoNothingModelFitter, FitCylinderToPoints_F32, FitCylinderToPoints_F64, FitSphereToPoints_F32, FitSphereToPoints_F64, GenerateAffine2D, GenerateHomographyLinear, LeastSquaresFundamental, LeastSquaresHomography, MeanModelFitter, PnPRefineRodrigues, PnPStereoRefineRodrigues
public interface ModelFitter<Model,Point>Computes a model from a set of points and optionally an initial estimate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleanfitModel(java.util.List<Point> dataSet, Model initial, Model found)Fits a model to a set of points.
-
-
-
Method Detail
-
fitModel
boolean fitModel(java.util.List<Point> dataSet, Model initial, Model found)
Fits a model to a set of points. Note that initial and found can be the same instance.- Parameters:
dataSet- Set of points the model is being fit to.initial- Initial hypothesisfound- The found model. Can be the same instance as initial.- Returns:
- true if a model was found and false if one was not.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG