@Deprecated public class DistanceTransform3D4WeightsFloat extends AlgoStub implements DistanceTransform3D
Constructor and Description |
---|
DistanceTransform3D4WeightsFloat(ChamferWeights3D weights)
Deprecated.
Default constructor that specifies the chamfer weights.
|
DistanceTransform3D4WeightsFloat(ChamferWeights3D weights,
boolean normalize)
Deprecated.
Constructor specifying the chamfer weights and the optional normalization.
|
DistanceTransform3D4WeightsFloat(float[] weights)
Deprecated.
Default constructor that specifies the chamfer weights.
|
DistanceTransform3D4WeightsFloat(float[] weights,
boolean normalize)
Deprecated.
Constructor specifying the chamfer weights and the optional normalization.
|
Modifier and Type | Method and Description |
---|---|
ij.ImageStack |
distanceMap(ij.ImageStack image)
Deprecated.
Computes the distance map from a 3D binary image.
|
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAlgoListener, removeAlgoListener
public DistanceTransform3D4WeightsFloat(ChamferWeights3D weights)
weights
- an array of four weights direction orthogonal, diagonal, cube diagonal, and (+-2,+-1,+-1).public DistanceTransform3D4WeightsFloat(float[] weights)
weights
- an array of four weights direction orthogonal, diagonal, cube diagonal, and (+-2,+-1,+-1).public DistanceTransform3D4WeightsFloat(ChamferWeights3D weights, boolean normalize)
weights
- an array of two weights for orthogonal and diagonal directionsnormalize
- flag indicating whether the final distance map should be
normalized by the first weightpublic DistanceTransform3D4WeightsFloat(float[] weights, boolean normalize)
weights
- an array of two weights for orthogonal and diagonal directionsnormalize
- flag indicating whether the final distance map should be
normalized by the first weightpublic ij.ImageStack distanceMap(ij.ImageStack image)
distanceMap
in interface DistanceTransform3D
image
- a 3D binary image with white pixels (255) as foregroundCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.