public class IntrinsicVolumesAnalyzer3D extends RegionAnalyzer3D<IntrinsicVolumesAnalyzer3D.Result> implements AlgoListener
RegionAnalyzer3D
interface.
The IntrinsicVolumes3D
class provides static classes to
facilitate usage when no algorithm monitoring is necessary.IntrinsicVolumes3D
,
IntrinsicVolumesAnalyzer2D
Modifier and Type | Class and Description |
---|---|
class |
IntrinsicVolumesAnalyzer3D.Result
Inner class for storing results.
|
Constructor and Description |
---|
IntrinsicVolumesAnalyzer3D()
Default empty constructor.
|
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.
|
IntrinsicVolumesAnalyzer3D.Result[] |
analyzeRegions(ij.ImageStack image,
int[] labels,
ij.measure.Calibration calib)
Computes an instance of the generic type T for each region in input label image.
|
ij.measure.ResultsTable |
createTable(Map<Integer,IntrinsicVolumesAnalyzer3D.Result> results)
Utility method that converts the detailed results of the
RegionAnalyzer.analyzeRegions(ImagePlus) method into an instance of
ResultsTable to facilitate display by ImageJ. |
static double[] |
eulerNumberLut(int conn)
Deprecated.
use
IntrinsicVolumes3DUtils instead |
int |
getConnectivity() |
int |
getDirectionNumber() |
static double[] |
meanBreadthLut(ij.measure.Calibration calib,
int nDirs,
int conn2d)
Deprecated.
use
IntrinsicVolumes3DUtils instead |
void |
setConnectivity(int connectivity) |
void |
setDirectionNumber(int directionNumber) |
static double[] |
surfaceAreaLut(ij.measure.Calibration calib,
int nDirs)
Deprecated.
use
IntrinsicVolumes3DUtils instead |
static double[] |
volumeLut(ij.measure.Calibration calib)
Deprecated.
use
IntrinsicVolumes3DUtils instead |
analyzeRegions, analyzeRegions, computeTable, createMap
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
public IntrinsicVolumesAnalyzer3D()
@Deprecated public static final double[] volumeLut(ij.measure.Calibration calib)
IntrinsicVolumes3DUtils
insteadcalib
- spatial calibration@Deprecated public static final double[] surfaceAreaLut(ij.measure.Calibration calib, int nDirs)
IntrinsicVolumes3DUtils
insteadcalib
- the spatial calibration of the imagenDirs
- the number of directions to consider, either 3 or 13@Deprecated public static final double[] meanBreadthLut(ij.measure.Calibration calib, int nDirs, int conn2d)
IntrinsicVolumes3DUtils
insteadcalib
- the spatial calibration of imagenDirs
- the number of directions (3 or 13)conn2d
- the connectivity to use on square faces of plane sections (4 or 8)@Deprecated public static final double[] eulerNumberLut(int conn)
IntrinsicVolumes3DUtils
insteadconn
- the 3D connectivity, either 6 or 26public int getDirectionNumber()
public void setDirectionNumber(int directionNumber)
directionNumber
- the number of directions used to compute surface area and mean
breadth (either 3 or 13, default is 13)public int getConnectivity()
public void setConnectivity(int connectivity)
connectivity
- the connectivity used to compute Euler number (either 6 or 26,
default is 6)public ij.measure.ResultsTable createTable(Map<Integer,IntrinsicVolumesAnalyzer3D.Result> results)
RegionAnalyzer
RegionAnalyzer.analyzeRegions(ImagePlus)
method into an instance of
ResultsTable to facilitate display by ImageJ.createTable
in interface RegionAnalyzer<IntrinsicVolumesAnalyzer3D.Result>
results
- the mapping between each region label and the result of the
analysispublic IntrinsicVolumesAnalyzer3D.Result[] analyzeRegions(ij.ImageStack image, int[] labels, ij.measure.Calibration calib)
RegionAnalyzer3D
analyzeRegions
in class RegionAnalyzer3D<IntrinsicVolumesAnalyzer3D.Result>
image
- the input 3D image containing label of particleslabels
- the array of labels within the imagecalib
- the spatial calibration of the imagepublic void algoProgressChanged(AlgoEvent evt)
AlgoListener
algoProgressChanged
in interface AlgoListener
algoProgressChanged
in class RegionAnalyzer3D<IntrinsicVolumesAnalyzer3D.Result>
evt
- the AlgoEvent instance containing info about the algorithm.public void algoStatusChanged(AlgoEvent evt)
AlgoListener
algoStatusChanged
in interface AlgoListener
algoStatusChanged
in class RegionAnalyzer3D<IntrinsicVolumesAnalyzer3D.Result>
evt
- the AlgoEvent instance containing info about the algorithm.Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.