public class GeodesicReconstructionByErosion3DScanning extends GeodesicReconstruction3DAlgoStub
Geodesic reconstruction by erosion for 3D stacks using scanning algorithm, and Image3D access class.
This version uses iterations of forward and backward passes until no more modifications are made. It is intended to work on any type of scalar 3D images, using 6 or 26 adjacencies.
Uses specialized class Image3D
to access the values in 3D image
stacks, by avoiding to check bounds at each access. For byte stack, the class
GeodesicReconstructionByDilation3DGray8Scanning
may be faster.
Image3D
connectivity, showProgress, showStatus, verbose
Constructor and Description |
---|
GeodesicReconstructionByErosion3DScanning()
Creates a new instance of geodesic reconstruction by dilation algorithm,
using the default connectivity 6.
|
GeodesicReconstructionByErosion3DScanning(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.ImageStack |
applyTo(ij.ImageStack marker,
ij.ImageStack mask)
Run the reconstruction by dilation algorithm using the images specified
as argument.
|
ij.ImageStack |
applyTo(ij.ImageStack marker,
ij.ImageStack mask,
ij.ImageStack binaryMask)
Run the reconstruction by dilation algorithm using the images specified
as argument.
|
getConnectivity, setConnectivity, showProgress, showProgress, showStatus, trace
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAlgoListener, removeAlgoListener
public GeodesicReconstructionByErosion3DScanning()
public GeodesicReconstructionByErosion3DScanning(int connectivity)
connectivity
- the 3D connectivity to use (either 6 or 26)public ij.ImageStack applyTo(ij.ImageStack marker, ij.ImageStack mask)
marker
- image used to initialize the reconstructionmask
- image used to constrain the reconstructionpublic ij.ImageStack applyTo(ij.ImageStack marker, ij.ImageStack mask, ij.ImageStack binaryMask)
marker
- image used to initialize the reconstructionmask
- image used to constrain the reconstructionbinaryMask
- binary mask to restrict the region of applicationCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.