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 voidalgoProgressChanged(AlgoEvent evt)Deprecated.The method devoted to manage the change in the progression of the algorithm.voidalgoStatusChanged(AlgoEvent evt)Deprecated.The method devoted to manage the change in the status of the algorithm.ij.measure.ResultsTableprocess(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, removeAlgoListenerMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
processin 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:AlgoListenerThe method devoted to manage the change in the progression of the algorithm.- Specified by:
algoProgressChangedin interfaceAlgoListener- Parameters:
evt- the AlgoEvent instance containing info about the algorithm.
-
algoStatusChanged
Deprecated.Description copied from interface:AlgoListenerThe method devoted to manage the change in the status of the algorithm.- Specified by:
algoStatusChangedin interfaceAlgoListener- Parameters:
evt- the AlgoEvent instance containing info about the algorithm.
-