Package inra.ijpb.binary.geodesic
Class GeodesicDistanceTransform3DFloat
java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.binary.geodesic.GeodesicDistanceTransform3DFloat
- All Implemented Interfaces:
Algo,GeodesicDistanceTransform3D
public class GeodesicDistanceTransform3DFloat extends AlgoStub implements GeodesicDistanceTransform3D
Computation of geodesic distance transform for 3D images, using floating
point computation.
Adapted for the management of label images.
- Author:
- dlegland
-
Constructor Summary
Constructors Constructor Description GeodesicDistanceTransform3DFloat(float[] weights)Deprecated.GeodesicDistanceTransform3DFloat(float[] weights, boolean normalizeMap)Deprecated.GeodesicDistanceTransform3DFloat(ChamferWeights3D weights, boolean normalizeMap)Deprecated.GeodesicDistanceTransform3DFloat(ChamferMask3D mask, boolean normalizeMap)Creates a new algorithm for propagating geodesic distances. -
Method Summary
Modifier and Type Method Description ij.ImageStackgeodesicDistanceMap(ij.ImageStack marker, ij.ImageStack mask)Computes 3D geodesic distance transform (or geodesic distance map) of a binary image of marker, constrained to a binary mask.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
-
GeodesicDistanceTransform3DFloat
Creates a new algorithm for propagating geodesic distances.- Parameters:
mask- the chamfer mask to use for propagating distancesnormalizeMap- the flag for normalization
-
GeodesicDistanceTransform3DFloat
@Deprecated public GeodesicDistanceTransform3DFloat(float[] weights)Deprecated.Creates a new algorithm.- Parameters:
weights- the weights to use for propagating distances
-
GeodesicDistanceTransform3DFloat
@Deprecated public GeodesicDistanceTransform3DFloat(float[] weights, boolean normalizeMap)Deprecated.Creates a new algorithm.- Parameters:
weights- the weights to use for propagating distancesnormalizeMap- the flag for normalization
-
GeodesicDistanceTransform3DFloat
@Deprecated public GeodesicDistanceTransform3DFloat(ChamferWeights3D weights, boolean normalizeMap)Deprecated.Creates a new algorithm for propagating geodesic distances.- Parameters:
weights- the chamfer mask to use for propagating distancesnormalizeMap- the flag for normalization
-
-
Method Details
-
geodesicDistanceMap
public ij.ImageStack geodesicDistanceMap(ij.ImageStack marker, ij.ImageStack mask)Description copied from interface:GeodesicDistanceTransform3DComputes 3D geodesic distance transform (or geodesic distance map) of a binary image of marker, constrained to a binary mask.- Specified by:
geodesicDistanceMapin interfaceGeodesicDistanceTransform3D- Parameters:
marker- the binary image of markermask- the binary image of mask- Returns:
- the geodesic distance map in a new ImageProcessor
-