public class ChamferDistanceTransform3DShort extends AlgoStub implements ChamferDistanceTransform3D
Constructor and Description |
---|
ChamferDistanceTransform3DShort(ChamferMask3D mask)
Creates a new algorithm for computing 3D distance maps based on a chamfer
mask.
|
ChamferDistanceTransform3DShort(ChamferMask3D mask,
boolean normalize)
Creates a new algorithm for computing 3D distance maps based on a chamfer
mask.
|
Modifier and Type | Method and Description |
---|---|
ij.ImageStack |
distanceMap(ij.ImageStack image)
Computes the distance map from a 3D binary image.
|
ChamferMask3D |
mask() |
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAlgoListener, removeAlgoListener
public ChamferDistanceTransform3DShort(ChamferMask3D mask)
mask
- the chamfer mask to use for propagating distancespublic ChamferDistanceTransform3DShort(ChamferMask3D mask, boolean normalize)
mask
- the chamfer mask to use for propagating distancesnormalize
- whether distance map should be normalized by the weight
associated to orthogonal shiftspublic ChamferMask3D mask()
mask
in interface ChamferDistanceTransform3D
public 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.