@Deprecated public class GeodesicDiameterShort extends AlgoStub implements GeodesicDiameter
Example of use:
GeodesicDiameterShort gd = new GeodesicDiameterShort(ChamferWeights.CHESSKNIGHT);
ResultsTable table = gd.analyseImage(inputLabelImage);
table.show("Geodesic Diameter");
GeodesicDiameter
Constructor and Description |
---|
GeodesicDiameterShort(ChamferWeights chamferWeights)
Deprecated.
Creates a new geodesic diameter computation operator.
|
GeodesicDiameterShort(short[] weights)
Deprecated.
Creates a new geodesic diameter computation operator.
|
Modifier and Type | Method and Description |
---|---|
ij.measure.ResultsTable |
analyzeImage(ij.process.ImageProcessor labelImage)
Deprecated.
Computes the geodesic diameter of each particle within the given label
image.
|
Map<Integer,List<Point>> |
longestGeodesicPaths()
Deprecated.
Computes the geodesic path of each particle within the given label image.
|
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAlgoListener, removeAlgoListener
public GeodesicDiameterShort(ChamferWeights chamferWeights)
chamferWeights
- an instance of ChamferWeights, which provides the float values
used for propagating distancespublic GeodesicDiameterShort(short[] weights)
weights
- the array of weights for orthogonal, diagonal, and eventually
chess-knight moves neighborspublic ij.measure.ResultsTable analyzeImage(ij.process.ImageProcessor labelImage)
analyzeImage
in interface GeodesicDiameter
labelImage
- a label image, containing either the label of a particle or
region, or zero for backgroundpublic Map<Integer,List<Point>> longestGeodesicPaths()
Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.