Class AlgorithmEllipsoidFit


  • public class AlgorithmEllipsoidFit
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      (package private) double[] axis
      DOCUMENT ME!
    • Constructor Summary

      Constructors 
      Constructor Description
      AlgorithmEllipsoidFit​(java.util.Vector<WildMagic.LibFoundation.Mathematics.Vector3f> kPoints)
      Creates a new AlgorithmEllipsoidFit object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double[] getAxes()
      DOCUMENT ME!
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • axis

        double[] axis
        DOCUMENT ME!
    • Constructor Detail

      • AlgorithmEllipsoidFit

        public AlgorithmEllipsoidFit​(java.util.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 Detail

      • getAxes

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