public class IntrinsicVolumesAnalyzer2D extends RegionAnalyzer2D<IntrinsicVolumesAnalyzer2D.Result> implements AlgoListener
Modifier and Type | Class and Description |
---|---|
class |
IntrinsicVolumesAnalyzer2D.Result
Inner class for storing results.
|
Constructor and Description |
---|
IntrinsicVolumesAnalyzer2D()
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.
|
IntrinsicVolumesAnalyzer2D.Result[] |
analyzeRegions(ij.process.ImageProcessor image,
int[] labels,
ij.measure.Calibration calib)
Computes an instance of the generic type T for each region in input label image.
|
static double[] |
areaLut(ij.measure.Calibration calib)
Deprecated.
use IntrinsicVolumes2DUtils instead
|
static double[] |
computeCircularities(IntrinsicVolumesAnalyzer2D.Result[] morphos)
Deprecated.
|
ij.measure.ResultsTable |
createTable(Map<Integer,IntrinsicVolumesAnalyzer2D.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 int[] |
eulerNumberIntLut(int conn)
Deprecated.
use IntrinsicVolumes2DUtils instead
|
static double[] |
eulerNumberLut(int conn)
Deprecated.
use IntrinsicVolumes2DUtils instead
|
int |
getConnectivity() |
int |
getDirectionNumber() |
static double[] |
perimeterLut(ij.measure.Calibration calib,
int nDirs)
Deprecated.
use IntrinsicVolumes2DUtils instead
|
void |
setConnectivity(int connectivity) |
void |
setDirectionNumber(int directionNumber) |
analyzeRegions, analyzeRegions, computeTable
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
public IntrinsicVolumesAnalyzer2D()
@Deprecated public static final double[] areaLut(ij.measure.Calibration calib)
calib
- spatial calibration of image@Deprecated public static final double[] perimeterLut(ij.measure.Calibration calib, int nDirs)
calib
- the calibration of the imagenDirs
- the number of directions to use (2 or 4)@Deprecated public static final double[] computeCircularities(IntrinsicVolumesAnalyzer2D.Result[] morphos)
morphos
- the array of results@Deprecated public static final double[] eulerNumberLut(int conn)
conn
- the connectivity to use (4 or 8)@Deprecated public static final int[] eulerNumberIntLut(int conn)
conn
- the connectivity to use (4 or 8)public int getDirectionNumber()
public void setDirectionNumber(int directionNumber)
directionNumber
- the number of directions used to compute perimeter (either 2
or 4, default is 4)public int getConnectivity()
public void setConnectivity(int connectivity)
connectivity
- the connectivity for computing Euler number (either 4 or 8,
default is 4)public ij.measure.ResultsTable createTable(Map<Integer,IntrinsicVolumesAnalyzer2D.Result> results)
RegionAnalyzer
RegionAnalyzer.analyzeRegions(ImagePlus)
method into an instance of
ResultsTable to facilitate display by ImageJ.createTable
in interface RegionAnalyzer<IntrinsicVolumesAnalyzer2D.Result>
results
- the mapping between each region label and the result of the
analysispublic IntrinsicVolumesAnalyzer2D.Result[] analyzeRegions(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
RegionAnalyzer2D
analyzeRegions
in class RegionAnalyzer2D<IntrinsicVolumesAnalyzer2D.Result>
image
- the input 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
evt
- the AlgoEvent instance containing info about the algorithm.public void algoStatusChanged(AlgoEvent evt)
AlgoListener
algoStatusChanged
in interface AlgoListener
evt
- the AlgoEvent instance containing info about the algorithm.Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.