T
- the type of the data computed for each region. May be a class
instance, or a single Numeric type.public abstract class RegionAnalyzer2D<T> extends AlgoStub implements RegionAnalyzer<T>
RegionAnalyzer3D
Constructor and Description |
---|
RegionAnalyzer2D() |
Modifier and Type | Method and Description |
---|---|
Map<Integer,T> |
analyzeRegions(ij.ImagePlus labelPlus)
Default implementation of the analyzeRegions method, that calls the more
specialized
analyzeRegions(ImageProcessor, int[], Calibration)
method and transforms the result into a map. |
Map<Integer,T> |
analyzeRegions(ij.process.ImageProcessor image,
ij.measure.Calibration calib)
Identifies labels within image and computes an instance of the generic
type T for each region in input label image.
|
abstract T[] |
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 |
computeTable(ij.ImagePlus labelPlus)
Default implementation of computeTable method, using the two other
methods
analyzeRegions(ImagePlus) and RegionAnalyzer.createTable(Map) : |
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTable
public abstract T[] analyzeRegions(ij.process.ImageProcessor image, int[] labels, ij.measure.Calibration calib)
image
- the input image containing label of particleslabels
- the array of labels within the imagecalib
- the spatial calibration of the imagepublic Map<Integer,T> analyzeRegions(ij.process.ImageProcessor image, ij.measure.Calibration calib)
image
- a label image (8, 16 or 32 bits)calib
- the spatial calibration of the imagepublic Map<Integer,T> analyzeRegions(ij.ImagePlus labelPlus)
analyzeRegions(ImageProcessor, int[], Calibration)
method and transforms the result into a map.analyzeRegions
in interface RegionAnalyzer<T>
labelPlus
- the input image containing label of regionspublic ij.measure.ResultsTable computeTable(ij.ImagePlus labelPlus)
analyzeRegions(ImagePlus)
and RegionAnalyzer.createTable(Map)
:computeTable
in interface RegionAnalyzer<T>
labelPlus
- a label or binary image of region(s)Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.