Class CalculateEllipsoidLeastSquares

Object
org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.mpp.mark.conic.Ellipsoid,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
org.anchoranalysis.plugin.points.calculate.ellipsoid.CalculateEllipsoidLeastSquares
All Implemented Interfaces:
org.anchoranalysis.feature.calculate.cache.ResettableCalculation

public class CalculateEllipsoidLeastSquares
extends org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.mpp.mark.conic.Ellipsoid,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
Calculates the best-fit Ellipsoid for an object using linear least squares.
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(Object other)  
    boolean equals​(Object o)  
    protected org.anchoranalysis.mpp.mark.conic.Ellipsoid execute​(org.anchoranalysis.image.feature.input.FeatureInputSingleObject input)  
    int hashCode()  
    static org.anchoranalysis.mpp.mark.conic.Ellipsoid of​(org.anchoranalysis.feature.calculate.FeatureCalculationInput<org.anchoranalysis.image.feature.input.FeatureInputSingleObject> input, boolean suppressZCovariance)
    Calculates an Ellipsoid for the given input.

    Methods inherited from class org.anchoranalysis.feature.calculate.part.CalculationPart

    getOrCalculate, hasCachedResult, invalidate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • of

      public static org.anchoranalysis.mpp.mark.conic.Ellipsoid of​(org.anchoranalysis.feature.calculate.FeatureCalculationInput<org.anchoranalysis.image.feature.input.FeatureInputSingleObject> input, boolean suppressZCovariance) throws org.anchoranalysis.feature.calculate.FeatureCalculationException
      Calculates an Ellipsoid for the given input.
      Parameters:
      input - the feature calculation input
      suppressZCovariance - whether to suppress covariance in the Z direction
      Returns:
      the calculated Ellipsoid
      Throws:
      org.anchoranalysis.feature.calculate.FeatureCalculationException - if the calculation fails
    • execute

      protected org.anchoranalysis.mpp.mark.conic.Ellipsoid execute​(org.anchoranalysis.image.feature.input.FeatureInputSingleObject input) throws org.anchoranalysis.feature.calculate.FeatureCalculationException
      Specified by:
      execute in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.mpp.mark.conic.Ellipsoid,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
      Throws:
      org.anchoranalysis.feature.calculate.FeatureCalculationException
    • equals

      public boolean equals​(Object o)
      Specified by:
      equals in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.mpp.mark.conic.Ellipsoid,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.mpp.mark.conic.Ellipsoid,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>