Module imagingbook.common
Class EllipseFitGeometric
java.lang.Object
imagingbook.common.geometry.fitting.ellipse.geometric.EllipseFitGeometric
- Direct Known Subclasses:
EllipseGeometricFitCoord,EllipseGeometricFitDist
Interface to be implemented by all geometric ellipse fits.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic doublestatic booleanstatic boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a geometric Ellipse ornullif the fit was unsuccessful.static EllipseFitGeometricgetFit(EllipseFitGeometric.FitType type, Pnt2d[] points, GeometricEllipse initEllipse) abstract List<double[]> abstract intabstract double[]
-
Field Details
-
VERBOSE
-
RecordHistory
-
DefaultMaxIterations
-
DefaultTolerance
-
-
Constructor Details
-
EllipseFitGeometric
public EllipseFitGeometric()
-
-
Method Details
-
getFit
public static EllipseFitGeometric getFit(EllipseFitGeometric.FitType type, Pnt2d[] points, GeometricEllipse initEllipse) -
getParameters
-
getIterations
-
getHistory
-
getEllipse
Returns a geometric Ellipse ornullif the fit was unsuccessful.- Returns:
- the geometric ellipse or
null
-