public class GeodesicReconstruction3DHybrid1Image3D extends GeodesicReconstruction3DAlgoStub
Geodesic reconstruction for 3D stacks of any type, using hybrid algorithm and Image3D access class. This class manages both reconstructions by dilation and erosion.
Performs forward and backward passes, then performs an additional forward pass only to initialize the queue, and finally processes all voxels in the queue.
Uses specialized class to access the values in 3D image stacks, by avoiding to check bounds at each access. Process all type of images by using double precision computation.
connectivity, showProgress, showStatus, verbose
Constructor and Description |
---|
GeodesicReconstruction3DHybrid1Image3D()
Creates a new instance of geodesic reconstruction by dilation algorithm,
using the default connectivity 6.
|
GeodesicReconstruction3DHybrid1Image3D(GeodesicReconstructionType type)
Creates a new instance of geodesic reconstruction by dilation algorithm,
that specifies the type of reconstruction, and using the connectivity 6.
|
GeodesicReconstruction3DHybrid1Image3D(GeodesicReconstructionType type,
int connectivity)
Creates a new instance of geodesic reconstruction by dilation algorithm,
that specifies the type of reconstruction, and the connectivity to use.
|
GeodesicReconstruction3DHybrid1Image3D(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.
|
GeodesicReconstructionType |
getReconstructionType() |
void |
setReconstructionType(GeodesicReconstructionType reconstructionType) |
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 GeodesicReconstruction3DHybrid1Image3D()
public GeodesicReconstruction3DHybrid1Image3D(GeodesicReconstructionType type)
type
- the type of reconstruction (erosion or dilation)public GeodesicReconstruction3DHybrid1Image3D(GeodesicReconstructionType type, int connectivity)
type
- the type of reconstruction (erosion or dilation)connectivity
- the 3D connectivity to use (either 6 or 26)public GeodesicReconstruction3DHybrid1Image3D(int connectivity)
connectivity
- the 3D connectivity to use (either 6 or 26)public GeodesicReconstructionType getReconstructionType()
public void setReconstructionType(GeodesicReconstructionType reconstructionType)
reconstructionType
- the reconstructionType to setpublic 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.