public class GeodesicReconstructionByDilation extends GeodesicReconstructionAlgoStub
Geodesic reconstruction by dilation for planar images.
This class performs the algorithm on the two instances of ImageProcessor kept in it. Works for integer as well as for floating-point images. Also performs a specific processing for pixels at the border of the image.
GeodesicReconstructionByErosion
,
GeodesicReconstructionHybrid
,
GeodesicReconstructionScanning
connectivity, showProgress, showStatus, verbose
Constructor and Description |
---|
GeodesicReconstructionByDilation()
Creates a new instance of geodesic reconstruction by dilation algorithm,
using the default connectivity 4.
|
GeodesicReconstructionByDilation(int connectivity)
Creates a new instance of geodesic reconstruction by dilation algorithm,
that specifies the connectivity to use.
|
Modifier and Type | Method and Description |
---|---|
ij.process.ImageProcessor |
applyTo(ij.process.ImageProcessor marker,
ij.process.ImageProcessor mask)
Run the reconstruction by dilation algorithm using the images specified
as argument.
|
getConnectivity, setConnectivity
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
public GeodesicReconstructionByDilation()
public GeodesicReconstructionByDilation(int connectivity)
connectivity
- the 2D connectivity to use (either 4 or 8)public ij.process.ImageProcessor applyTo(ij.process.ImageProcessor marker, ij.process.ImageProcessor mask)
marker
- image used to initialize the reconstructionmask
- image used to constrain the reconstructionCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.