@Deprecated public class DistanceTransform3DFloat extends AlgoStub implements DistanceTransform3D
Constructor and Description |
---|
DistanceTransform3DFloat(ChamferWeights3D weights)
Deprecated.
Default constructor that specifies the chamfer weights.
|
DistanceTransform3DFloat(ChamferWeights3D weights,
boolean normalize)
Deprecated.
Constructor specifying the chamfer weights and the optional normalization.
|
DistanceTransform3DFloat(float[] weights)
Deprecated.
Default constructor that specifies the chamfer weights.
|
DistanceTransform3DFloat(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 DistanceTransform3DFloat(ChamferWeights3D weights)
weights
- an array of two weights for orthogonal and diagonal directionspublic DistanceTransform3DFloat(float[] weights)
weights
- an array of two weights for orthogonal and diagonal directionspublic DistanceTransform3DFloat(ChamferWeights3D weights, boolean normalize)
weights
- an array of three weights for orthogonal and diagonal directionsnormalize
- flag indicating whether the final distance map should be
normalized by the first weightpublic DistanceTransform3DFloat(float[] weights, boolean normalize)
weights
- an array of three 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.