Package inra.ijpb.binary.geodesic
Class GeodesicDistanceTransformFloat5x5
java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.binary.geodesic.GeodesicDistanceTransformFloat5x5
- All Implemented Interfaces:
Algo
,GeodesicDistanceTransform
@Deprecated public class GeodesicDistanceTransformFloat5x5 extends AlgoStub implements GeodesicDistanceTransform
Deprecated.
replaced by GeodesicDistanceTransformFloat (since 1.4.4)
Computation of Chamfer geodesic distances using floating point array for
storing result, and 5-by-5 chamfer masks.
- Author:
- David Legland
-
Field Summary
Fields Modifier and Type Field Description static float
MAX_DIST
Deprecated.The value used to initialize the distance map, corresponding to positive infinity. -
Constructor Summary
Constructors Constructor Description GeodesicDistanceTransformFloat5x5()
Deprecated.Creates a new algorithm for propagating geodesic distances.GeodesicDistanceTransformFloat5x5(float[] weights)
Deprecated.Creates a new algorithm for propagating geodesic distances.GeodesicDistanceTransformFloat5x5(float[] weights, boolean normalizeMap)
Deprecated.Creates a new algorithm for propagating geodesic distances.GeodesicDistanceTransformFloat5x5(ChamferWeights weights, boolean normalizeMap)
Deprecated.Creates a new algorithm for propagating geodesic distances. -
Method Summary
Modifier and Type Method Description ij.process.ImageProcessor
geodesicDistanceMap(ij.process.ImageProcessor marker, ij.process.ImageProcessor mask)
Deprecated.Computes the geodesic distance function for each pixel in mask label image, using the given binary marker 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
-
Field Details
-
MAX_DIST
public static final float MAX_DISTDeprecated.The value used to initialize the distance map, corresponding to positive infinity.- See Also:
- Constant Field Values
-
-
Constructor Details
-
GeodesicDistanceTransformFloat5x5
public GeodesicDistanceTransformFloat5x5()Deprecated.Creates a new algorithm for propagating geodesic distances. -
GeodesicDistanceTransformFloat5x5
public GeodesicDistanceTransformFloat5x5(float[] weights)Deprecated.Creates a new algorithm for propagating geodesic distances.- Parameters:
weights
- the weights to use for propagating distances
-
GeodesicDistanceTransformFloat5x5
Deprecated.Creates a new algorithm for propagating geodesic distances.- Parameters:
weights
- the weights to use for propagating distancesnormalizeMap
- the flag for normalization
-
GeodesicDistanceTransformFloat5x5
public GeodesicDistanceTransformFloat5x5(float[] weights, boolean normalizeMap)Deprecated.Creates a new algorithm for propagating geodesic distances.- Parameters:
weights
- the weights to use for propagating distancesnormalizeMap
- the flag for normalization
-
-
Method Details
-
geodesicDistanceMap
public ij.process.ImageProcessor geodesicDistanceMap(ij.process.ImageProcessor marker, ij.process.ImageProcessor mask)Deprecated.Computes the geodesic distance function for each pixel in mask label image, using the given binary marker image. Mask and marker should be ImageProcessor the same size and containing integer values. The function returns a new FloatProcessor the same size as the input, with values greater or equal to zero.- Specified by:
geodesicDistanceMap
in interfaceGeodesicDistanceTransform
- Parameters:
marker
- the binary marker imagemask
- the label image used as mask- Returns:
- the geodesic distance map from the marker image within each label of the mask
- See Also:
GeodesicDistanceTransform.geodesicDistanceMap(ij.process.ImageProcessor, ij.process.ImageProcessor)
-