public class GeodesicDistanceTransformShortHybrid extends AlgoStub implements GeodesicDistanceTransform
GeodesicDistanceTransformFloatHybrid
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 |
---|
GeodesicDistanceTransformShortHybrid(ChamferMask2D mask)
Creates a new algorithm for propagating geodesic distances.
|
GeodesicDistanceTransformShortHybrid(ChamferMask2D mask,
boolean normalizeMap)
Creates a new algorithm for propagating geodesic distances.
|
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 short MAX_DIST
public static final short BACKGROUND
public GeodesicDistanceTransformShortHybrid(ChamferMask2D mask)
mask
- the chamfer mask to use for propagating distancespublic GeodesicDistanceTransformShortHybrid(ChamferMask2D mask, boolean normalizeMap)
mask
- the chamfer mask 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.