public class IntrinsicVolumes2D extends RegionAnalyzer2D<IntrinsicVolumes2D.Result> implements AlgoListener
| Modifier and Type | Class and Description |
|---|---|
class |
IntrinsicVolumes2D.Result
Inner class for storing results.
|
| Constructor and Description |
|---|
IntrinsicVolumes2D()
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.
|
IntrinsicVolumes2D.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.
|
ij.measure.ResultsTable |
createTable(Map<Integer,IntrinsicVolumes2D.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. |
int |
getConnectivity() |
int |
getDirectionNumber() |
void |
setConnectivity(int connectivity) |
void |
setDirectionNumber(int directionNumber) |
analyzeRegions, analyzeRegionsaddAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeTablepublic 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,IntrinsicVolumes2D.Result> results)
RegionAnalyzerRegionAnalyzer.analyzeRegions(ImagePlus) method into an instance of
ResultsTable to facilitate display by ImageJ.createTable in interface RegionAnalyzer<IntrinsicVolumes2D.Result>results - the mapping between each region label and the result of the
analysispublic IntrinsicVolumes2D.Result[] analyzeRegions(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
RegionAnalyzer2DanalyzeRegions in class RegionAnalyzer2D<IntrinsicVolumes2D.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)
AlgoListeneralgoProgressChanged in interface AlgoListenerevt - the AlgoEvent instance containing info about the algorithm.public void algoStatusChanged(AlgoEvent evt)
AlgoListeneralgoStatusChanged in interface AlgoListenerevt - the AlgoEvent instance containing info about the algorithm.Copyright © 2014–2024 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.