public class GeodesicDistanceTransformShort extends AlgoStub implements GeodesicDistanceTransform
GeodesicDistanceTransformShortHybrid,
GeodesicDistanceTransformFloat| Modifier and Type | Field and Description |
|---|---|
static short |
BACKGROUND
The value associated to the background in the result image.
|
static short |
MAX_DIST
The value used to initialize the distance map.
|
| Constructor and Description |
|---|
GeodesicDistanceTransformShort(ChamferMask2D mask)
Creates a new algorithm for propagating geodesic distances.
|
GeodesicDistanceTransformShort(ChamferMask2D mask,
boolean normalizeMap)
Creates a new algorithm for propagating geodesic distances.
|
GeodesicDistanceTransformShort(short[] weights)
Deprecated.
should use an instance of ChamferMask2D at construction
|
GeodesicDistanceTransformShort(short[] weights,
boolean normalizeMap)
Deprecated.
should use an instance of ChamferMask2D at construction
|
| Modifier and Type | Method and Description |
|---|---|
ij.process.ImageProcessor |
geodesicDistanceMap(ij.process.ImageProcessor marker,
ij.process.ImageProcessor labelImage)
Computes the geodesic distance function for each pixel in mask label
image, using the given binary marker image.
|
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAlgoListener, removeAlgoListenerpublic static final short MAX_DIST
public static final short BACKGROUND
public GeodesicDistanceTransformShort(ChamferMask2D mask)
mask - the chamfer mask to use for propagating distancespublic GeodesicDistanceTransformShort(ChamferMask2D mask, boolean normalizeMap)
mask - the chamfer mask to use for propagating distancesnormalizeMap - the flag for normalization@Deprecated public GeodesicDistanceTransformShort(short[] weights)
weights - the weights to use for propagating distances@Deprecated public GeodesicDistanceTransformShort(short[] weights, boolean normalizeMap)
weights - the weights to use for propagating distancesnormalizeMap - the flag for normalizationpublic ij.process.ImageProcessor geodesicDistanceMap(ij.process.ImageProcessor marker,
ij.process.ImageProcessor labelImage)
geodesicDistanceMap in interface GeodesicDistanceTransformmarker - the binary marker imagelabelImage - the label image used as maskGeodesicDistanceTransform.geodesicDistanceMap(ij.process.ImageProcessor,
ij.process.ImageProcessor)Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.