Class InertiaEllipsoid

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

@Deprecated
public class InertiaEllipsoid
extends RegionAnalyzer3D<Ellipsoid>
Deprecated.
replaced by EquivalentEllipsoid (since 1.4.1)
Compute parameters of inertia ellipsoids from 3D binary / label images.
Author:
dlegland
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    class  InertiaEllipsoid.InertiaMoments3D
    Deprecated.
    Inner class for storing result if moments computation.
  • Constructor Summary

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

    Modifier and Type Method Description
    Ellipsoid[] analyzeRegions​(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
    Deprecated.
    Computes inertia ellipsoid of each region in the input 3D label image.
    InertiaEllipsoid.InertiaMoments3D[] computeMoments​(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
    Deprecated.
    Computes the matrix of moments for each region within the 3D label map.
    ij.measure.ResultsTable createTable​(java.util.Map<java.lang.Integer,​Ellipsoid> map)
    Deprecated.
    Utility method that transforms the mapping between labels and inertia ellipsoids instances into a ResultsTable that can be displayed with ImageJ.
    static Ellipsoid[] inertiaEllipsoids​(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
    Deprecated.
    Computes inertia ellipsoid of each region in the input 3D label image.

    Methods inherited from class inra.ijpb.measure.region3d.RegionAnalyzer3D

    algoProgressChanged, algoStatusChanged, analyzeRegions, analyzeRegions, computeTable, createMap

    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

    • InertiaEllipsoid

      public InertiaEllipsoid()
      Deprecated.
      Default constructor
  • Method Details

    • inertiaEllipsoids

      public static final Ellipsoid[] inertiaEllipsoids​(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
      Deprecated.
      Computes inertia ellipsoid of each region in the input 3D label image.
      Parameters:
      image - the input image containing label of particles
      labels - the array of labels within the image
      calib - the calibration of the image
      Returns:
      an array of Ellipsoid instances representing the calibrated coordinates of the inertia ellipsoid of each region
    • createTable

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

      public Ellipsoid[] analyzeRegions​(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
      Deprecated.
      Computes inertia ellipsoid of each region in the input 3D label image.
      Specified by:
      analyzeRegions in class RegionAnalyzer3D<Ellipsoid>
      Parameters:
      image - the input image containing label of particles
      labels - the array of labels within the image
      calib - the calibration of the image
      Returns:
      an array of Ellipsoid instances representing the calibrated coordinates of the inertia ellipsoid of each region
    • computeMoments

      public InertiaEllipsoid.InertiaMoments3D[] computeMoments​(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
      Deprecated.
      Computes the matrix of moments for each region within the 3D label map.
      Parameters:
      image - the 3D image of labels (label map)
      labels - the array of region labels to process
      calib - the spatial calibration of the image
      Returns:
      an array the same size as labels, containing for each processed region result of 3D Moments computations