Class EllipsoidFitHelper
Object
EllipsoidFitHelper
Helper class for fitting ellipsoids to point data.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FitResult
createFitResultFromMatrixAandCenter
(cern.colt.matrix.DoubleMatrix2D matrixA, cern.colt.matrix.DoubleMatrix2D matrixCenter, boolean suppressZCovariance) Creates aFitResult
from the matrix A and center matrix.
-
Method Details
-
createFitResultFromMatrixAandCenter
public static FitResult createFitResultFromMatrixAandCenter(cern.colt.matrix.DoubleMatrix2D matrixA, cern.colt.matrix.DoubleMatrix2D matrixCenter, boolean suppressZCovariance) throws PointsFitterException Creates aFitResult
from the matrix A and center matrix.- Parameters:
matrixA
- the matrix A representing the ellipsoidmatrixCenter
- the matrix representing the center of the ellipsoidsuppressZCovariance
- whether to suppress Z covariance- Returns:
- a
FitResult
containing the fitted ellipsoid parameters - Throws:
PointsFitterException
- if there's an error during the fitting process
-