Package inra.ijpb.binary.geodesic
Class GeodesicDiameter3DFloat
java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.binary.geodesic.GeodesicDiameter3DFloat
- All Implemented Interfaces:
Algo
,AlgoListener
,GeodesicDiameter3D
@Deprecated public class GeodesicDiameter3DFloat extends AlgoStub implements GeodesicDiameter3D, AlgoListener
Deprecated.
replaced by inra.ijpb.measure.region3d.GeodesicDiameter3D
Computes geodesic diameters in 3D label images using floating point chamfer
weights.
Example of use:
GeodesicDiameterFloat3D gd3d = new GeodesicDiameter3DFloat(ChamferWeights3D.BORGEFORS);
ResultsTable table = gd3d.process(inputLabelImage);
table.show("Geodesic Diameter 3D");
- Author:
- dlegland
- See Also:
GeodesicDiameter3D
,ChamferWeights3D
-
Constructor Summary
Constructors Constructor Description GeodesicDiameter3DFloat(float[] weights)
Deprecated.Creates a new 3D geodesic diameter computation operator.GeodesicDiameter3DFloat(ChamferWeights3D chamferWeights)
Deprecated.new uses ChamferMask3D (since 1.4.4)GeodesicDiameter3DFloat(ChamferMask3D chamferMask)
Deprecated.Creates a new 3D geodesic diameter computation operator. -
Method Summary
Modifier and Type Method Description void
algoProgressChanged(AlgoEvent evt)
Deprecated.The method devoted to manage the change in the progression of the algorithm.void
algoStatusChanged(AlgoEvent evt)
Deprecated.The method devoted to manage the change in the status of the algorithm.ij.measure.ResultsTable
process(ij.ImageStack labelImage)
Deprecated.Computes the geodesic diameter of each particle within the given label image.Methods inherited from class inra.ijpb.algo.AlgoStub
addAlgoListener, removeAlgoListener
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface inra.ijpb.algo.Algo
addAlgoListener, removeAlgoListener
-
Constructor Details
-
GeodesicDiameter3DFloat
Deprecated.Creates a new 3D geodesic diameter computation operator.- Parameters:
chamferMask
- an instance of ChamferMask3D, which provides the float values used for propagating distances
-
GeodesicDiameter3DFloat
Deprecated.new uses ChamferMask3D (since 1.4.4)Creates a new 3D geodesic diameter computation operator.- Parameters:
chamferWeights
- an instance of ChamferWeights, which provides the float values used for propagating distances
-
GeodesicDiameter3DFloat
public GeodesicDiameter3DFloat(float[] weights)Deprecated.Creates a new 3D geodesic diameter computation operator.- Parameters:
weights
- the array of weights for orthogonal, diagonal, and eventually chess-knight moves neighbors
-
-
Method Details
-
process
public ij.measure.ResultsTable process(ij.ImageStack labelImage)Deprecated.Computes the geodesic diameter of each particle within the given label image.- Specified by:
process
in interfaceGeodesicDiameter3D
- Parameters:
labelImage
- a label image, containing either the label of a particle or region, or zero for background- Returns:
- a ResultsTable containing for each label the geodesic diameter of the corresponding particle
-
algoProgressChanged
Deprecated.Description copied from interface:AlgoListener
The method devoted to manage the change in the progression of the algorithm.- Specified by:
algoProgressChanged
in interfaceAlgoListener
- Parameters:
evt
- the AlgoEvent instance containing info about the algorithm.
-
algoStatusChanged
Deprecated.Description copied from interface:AlgoListener
The method devoted to manage the change in the status of the algorithm.- Specified by:
algoStatusChanged
in interfaceAlgoListener
- Parameters:
evt
- the AlgoEvent instance containing info about the algorithm.
-