Class AlgorithmEllipsoidFit

java.lang.Object
gov.nih.mipav.model.algorithms.AlgorithmEllipsoidFit

public class AlgorithmEllipsoidFit extends Object
This code fits data points to a 3D ellipsoid. The part of the code up to the derivation of v[0] through v[9] for the 3D ellipsoid model comes from the port of MATLAB code provided by Lecturer Qingde Li Department of Computer Science, University of Hull, Hull HU6 7RX, UK [q.li@hull.ac.uk] Reference: "Least Squares Ellipsoid Specific Fitting" by Qingde Li and John G. Griffiths, Proceedings of the Geometric Modeling and Processing 2004, IEEE Computer Society.

The second part of this code that derives the length of the three axes from the ellipsoid equation is based on equations found in the article "Compound Extraction and Fitting Method for Detecting Cardiac Ventricle in SPECT Data" by Timothy S. Newman and Hong Yi, 15th International Conference on Pattern Recognition, Vol. 4, 2000, pp. 328-331.

  • Field Details

    • axis

      double[] axis
      DOCUMENT ME!
  • Constructor Details

    • AlgorithmEllipsoidFit

      public AlgorithmEllipsoidFit(Vector<WildMagic.LibFoundation.Mathematics.Vector3f> kPoints)
      Creates a new AlgorithmEllipsoidFit object.
      Parameters:
      kPoints - a vector of points, each vector element is of type Point3f
  • Method Details

    • getAxes

      public double[] getAxes()
      DOCUMENT ME!
      Returns:
      DOCUMENT ME!