public class ChamferLabelDilation2DShort extends AlgoStub
ChamferMask2D
,
ChamferLabelDilation3DShort
Constructor and Description |
---|
ChamferLabelDilation2DShort(ChamferMask2D mask,
double radius)
Creates a new image processor for dilating labels using the specified
chamfer mask, using 16-bits integer computation.
|
Modifier and Type | Method and Description |
---|---|
ij.process.ImageProcessor |
process(ij.process.ImageProcessor labelImage)
Computes dilation of labels within label image by a specified radius.
|
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
public ChamferLabelDilation2DShort(ChamferMask2D mask, double radius)
mask
- the Chamfer mask to use.radius
- the radius of dilation of labels. In practice, the distance is
propagated up to radius + 0.5.public ij.process.ImageProcessor process(ij.process.ImageProcessor labelImage)
labelImage
- the original label mapCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.