public class GeodesicDistanceTransformFloat extends AlgoStub implements GeodesicDistanceTransform
GeodesicDistanceTransformFloatHybrid
,
GeodesicDistanceTransformShort
Modifier and Type | Field and Description |
---|---|
static float |
BACKGROUND
The value associated to the background in the result image.
|
static float |
MAX_DIST
The value used to initialize the distance map, corresponding to positive
infinity.
|
Constructor and Description |
---|
GeodesicDistanceTransformFloat(ChamferMask2D mask)
Creates a new algorithm for propagating geodesic distances.
|
GeodesicDistanceTransformFloat(ChamferMask2D mask,
boolean normalizeMap)
Creates a new algorithm for propagating geodesic distances.
|
GeodesicDistanceTransformFloat(float[] weights)
Deprecated.
|
GeodesicDistanceTransformFloat(float[] weights,
boolean normalizeMap)
Deprecated.
|
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, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAlgoListener, removeAlgoListener
public static final float MAX_DIST
public static final float BACKGROUND
public GeodesicDistanceTransformFloat(ChamferMask2D mask)
mask
- the chamfer mask to use for propagating distancespublic GeodesicDistanceTransformFloat(ChamferMask2D mask, boolean normalizeMap)
mask
- the chamfer mask to use for propagating distancesnormalizeMap
- the flag for normalization@Deprecated public GeodesicDistanceTransformFloat(float[] weights)
weights
- the weights to use for propagating distances@Deprecated public GeodesicDistanceTransformFloat(float[] 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 GeodesicDistanceTransform
marker
- 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.