public class GeodesicDiameter3D extends RegionAnalyzer3D<GeodesicDiameter3D.Result> implements AlgoListener
Example of use:
GeodesicDiameter3D gd3d = new GeodesicDiameter3D(ChamferMask3D.BORGEFORS);
Map<Integer, GeodesicDiameter3D.Result> resMap = g3d.analyzeRegions(inputLabelImagePlus);
ResultsTable table = gd3d.createTable(resMap);
table.show("Geodesic Diameter 3D");
GeodesicDiameter,
GeodesicDistanceTransform3D,
ChamferMask3D| Modifier and Type | Class and Description |
|---|---|
class |
GeodesicDiameter3D.Result
Inner class used for representing results of 3D geodesic diameters
computations.
|
| Constructor and Description |
|---|
GeodesicDiameter3D(ChamferMask3D mask)
Creates a new 3D geodesic diameter computation operator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
algoProgressChanged(AlgoEvent evt)
The method devoted to manage the change in the progression of the
algorithm.
|
void |
algoStatusChanged(AlgoEvent evt)
The method devoted to manage the change in the status of the
algorithm.
|
GeodesicDiameter3D.Result[] |
analyzeRegions(ij.ImageStack labelImage,
int[] labels,
ij.measure.Calibration calib)
Computes the geodesic diameter of each particle within the given label
image.
|
ij.measure.ResultsTable |
createTable(Map<Integer,GeodesicDiameter3D.Result> map)
Utility method that converts the detailed results of the
RegionAnalyzer.analyzeRegions(ImagePlus) method into an instance of
ResultsTable to facilitate display by ImageJ. |
analyzeRegions, analyzeRegions, computeTable, createMapaddAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerpublic GeodesicDiameter3D(ChamferMask3D mask)
mask - an instance of ChamferMask3D, which provides the float values
used for propagating distancespublic ij.measure.ResultsTable createTable(Map<Integer,GeodesicDiameter3D.Result> map)
RegionAnalyzerRegionAnalyzer.analyzeRegions(ImagePlus) method into an instance of
ResultsTable to facilitate display by ImageJ.createTable in interface RegionAnalyzer<GeodesicDiameter3D.Result>map - the mapping between each region label and the result of the
analysispublic GeodesicDiameter3D.Result[] analyzeRegions(ij.ImageStack labelImage, int[] labels, ij.measure.Calibration calib)
analyzeRegions in class RegionAnalyzer3D<GeodesicDiameter3D.Result>labelImage - a 3D label image, containing either the label of a particle or
region, or zero for backgroundlabels - the array of region labels to processcalib - the spatial calibration if the imagepublic void algoProgressChanged(AlgoEvent evt)
AlgoListeneralgoProgressChanged in interface AlgoListeneralgoProgressChanged in class RegionAnalyzer3D<GeodesicDiameter3D.Result>evt - the AlgoEvent instance containing info about the algorithm.public void algoStatusChanged(AlgoEvent evt)
AlgoListeneralgoStatusChanged in interface AlgoListeneralgoStatusChanged in class RegionAnalyzer3D<GeodesicDiameter3D.Result>evt - the AlgoEvent instance containing info about the algorithm.Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.