Class InertiaEllipse

java.lang.Object
All Implemented Interfaces:
Algo, RegionAnalyzer<Ellipse>

@Deprecated
public class InertiaEllipse
extends RegionAnalyzer2D<Ellipse>
Deprecated.
Replaced by EquivalentEllipse (since 1.4.2)
Compute parameters of inertia ellipse from label images.
Author:
dlegland
See Also:
EquivalentEllipsoid
  • Constructor Summary

    Constructors
    Constructor Description
    InertiaEllipse()
    Deprecated.
    Default constructor
  • Method Summary

    Modifier and Type Method Description
    Ellipse[] analyzeRegions​(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
    Deprecated.
    Computes inertia ellipse of each region in input label image.
    ij.measure.ResultsTable createTable​(java.util.Map<java.lang.Integer,​Ellipse> map)
    Deprecated.
    Utility method that transforms the mapping between labels and inertia ellipses instances into a ResultsTable that can be displayed with ImageJ.
    static Ellipse[] inertiaEllipses​(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
    Deprecated.
    Computes inertia ellipse of each region in input label image.

    Methods inherited from class inra.ijpb.measure.region2d.RegionAnalyzer2D

    analyzeRegions, analyzeRegions, computeTable

    Methods inherited from class inra.ijpb.algo.AlgoStub

    addAlgoListener, removeAlgoListener

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InertiaEllipse

      public InertiaEllipse()
      Deprecated.
      Default constructor
  • Method Details

    • inertiaEllipses

      public static final Ellipse[] inertiaEllipses​(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
      Deprecated.
      Computes inertia ellipse of each region in input label image.
      Parameters:
      image - the input image containing region labels
      labels - the array of labels within the image
      calib - the calibration of the image
      Returns:
      an array of Ellipse representing the calibrated coordinates of the inertia ellipse of each region
    • createTable

      public ij.measure.ResultsTable createTable​(java.util.Map<java.lang.Integer,​Ellipse> map)
      Deprecated.
      Utility method that transforms the mapping between labels and inertia ellipses instances into a ResultsTable that can be displayed with ImageJ.
      Parameters:
      map - the mapping between labels and Inertia Ellipses
      Returns:
      a ResultsTable that can be displayed with ImageJ.
    • analyzeRegions

      public Ellipse[] analyzeRegions​(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
      Deprecated.
      Computes inertia ellipse of each region in input label image.
      Specified by:
      analyzeRegions in class RegionAnalyzer2D<Ellipse>
      Parameters:
      image - the input image containing region labels
      labels - the array of labels within the image
      calib - the calibration of the image
      Returns:
      an array of Ellipse representing the calibrated coordinates of the inertia ellipse of each region