public class EquivalentEllipsoid extends RegionAnalyzer3D<Ellipsoid>
EquivalentEllipse| Modifier and Type | Class and Description | 
|---|---|
class  | 
EquivalentEllipsoid.Moments3D
Encapsulates the results of 3D Moments computations. 
 | 
| Constructor and Description | 
|---|
EquivalentEllipsoid()
Default constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Ellipsoid[] | 
analyzeRegions(ij.ImageStack image,
              int[] labels,
              ij.measure.Calibration calib)
Computes equivalent ellipsoid of each region in the input 3D label image. 
 | 
EquivalentEllipsoid.Moments3D[] | 
computeMoments(ij.ImageStack image,
              int[] labels,
              ij.measure.Calibration calib)
Computes the matrix of moments for each region within the 3D label map. 
 | 
ij.measure.ResultsTable | 
createTable(int[] labels,
           Ellipsoid[] ellipsoids)
Utility method that transforms a pair of arrays for labels and equivalent
 ellipsoids instances into a ResultsTable that can be displayed with
 ImageJ. 
 | 
ij.measure.ResultsTable | 
createTable(int[] labels,
           EquivalentEllipsoid.Moments3D[] moments)
Utility method that transforms a pair of arrays for labels and 3D moments
 instances into a ResultsTable that can be displayed with ImageJ. 
 | 
ij.measure.ResultsTable | 
createTable(Map<Integer,Ellipsoid> map)
Utility method that transforms the mapping between labels and equivalent
 ellipsoids instances into a ResultsTable that can be displayed with ImageJ. 
 | 
static Ellipsoid[] | 
equivalentEllipsoids(ij.ImageStack image,
                    int[] labels,
                    ij.measure.Calibration calib)
Computes equivalent ellipsoid of each region in the input 3D label image. 
 | 
Ellipsoid[] | 
momentsToEllipsoids(EquivalentEllipsoid.Moments3D[] moments)
Converts an array of 3D moments into equivalent ellipsoid representation. 
 | 
algoProgressChanged, algoStatusChanged, analyzeRegions, analyzeRegions, computeTable, createMapaddAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerpublic static final Ellipsoid[] equivalentEllipsoids(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
image - the input image containing label of particleslabels - the array of labels within the imagecalib - the calibration of the imagepublic ij.measure.ResultsTable createTable(int[] labels,
                                           Ellipsoid[] ellipsoids)
labels - the array of region labelsellipsoids - the array of region ellipsoids (the same size as the array of
            labels)public ij.measure.ResultsTable createTable(int[] labels,
                                           EquivalentEllipsoid.Moments3D[] moments)
labels - the array of region labelsmoments - the array of moments (the same size as the array of labels)public Ellipsoid[] momentsToEllipsoids(EquivalentEllipsoid.Moments3D[] moments)
moments - the moments to convertpublic EquivalentEllipsoid.Moments3D[] computeMoments(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
image - the 3D image of labels (label map)labels - the array of region labels to processcalib - the spatial calibration of the imagelabels, containing for
         each processed region result of 3D Moments computationspublic Ellipsoid[] analyzeRegions(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
analyzeRegions in class RegionAnalyzer3D<Ellipsoid>image - the input image containing label of particleslabels - the array of labels within the imagecalib - the calibration of the imagepublic ij.measure.ResultsTable createTable(Map<Integer,Ellipsoid> map)
map - the mapping between labels and Equivalent EllipsoidsCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.