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 int
static double
static boolean
static boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a geometric Ellipse ornull
if the fit was unsuccessful.static EllipseFitGeometric
getFit
(EllipseFitGeometric.FitType type, Pnt2d[] points, GeometricEllipse initEllipse) abstract List<double[]>
abstract int
abstract 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 ornull
if the fit was unsuccessful.- Returns:
- the geometric ellipse or
null
-