public class MaxFeretDiameter3D extends RegionAnalyzer3D<PointPair3D>
MaxFeretDiameter
Constructor and Description |
---|
MaxFeretDiameter3D()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
PointPair3D[] |
analyzeRegions(ij.ImageStack image,
int[] labels,
ij.measure.Calibration calib)
Computes maximum Feret Diameter for each label of the input label image.
|
ij.measure.ResultsTable |
createTable(Map<Integer,PointPair3D> maxDiamsMap)
Converts the result of maximum Feret diameters computation to a
ResultsTable that can be displayed within ImageJ.
|
static PointPair3D |
maxFeretDiameter(ArrayList<? extends Point3D> points)
Computes Maximum Feret diameter of a set of points.
|
static PointPair3D[] |
maxFeretDiameters(ij.ImageStack image,
int[] labels,
ij.measure.Calibration calib)
Computes Feret diameters as a PointPair3D for each of the specified
regions within a label map.
|
algoProgressChanged, algoStatusChanged, analyzeRegions, analyzeRegions, computeTable, createMap
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
public static final PointPair3D[] maxFeretDiameters(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
image
- the 3D label map corresponding to the label imagelabels
- the array of region labels to processcalib
- the spatial calibration of the imagepublic static final PointPair3D maxFeretDiameter(ArrayList<? extends Point3D> points)
points
- a collection of planar pointspublic ij.measure.ResultsTable createTable(Map<Integer,PointPair3D> maxDiamsMap)
maxDiamsMap
- the map of PointPair3D for each label within a label imagepublic PointPair3D[] analyzeRegions(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
analyzeRegions
in class RegionAnalyzer3D<PointPair3D>
image
- a label image (8, 16 or 32 bits)labels
- the set of labels within the imagecalib
- the spatial calibration of the imageCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.