public class GeodesicReconstructionScanning extends GeodesicReconstructionAlgoStub
GeodesicReconstructionByErosionconnectivity, showProgress, showStatus, verbose| Constructor and Description |
|---|
GeodesicReconstructionScanning()
Creates a new instance of geodesic reconstruction by dilation algorithm,
using the default connectivity 4.
|
GeodesicReconstructionScanning(GeodesicReconstructionType type)
Creates a new instance of geodesic reconstruction by dilation algorithm,
that specifies the type of reconstruction, and using the connectivity 4.
|
GeodesicReconstructionScanning(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.
|
GeodesicReconstructionScanning(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.
|
GeodesicReconstructionType |
getReconstructionType() |
void |
setReconstructionType(GeodesicReconstructionType reconstructionType) |
getConnectivity, setConnectivityaddAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerpublic GeodesicReconstructionScanning()
public GeodesicReconstructionScanning(GeodesicReconstructionType type)
type - the type of reconstruction (erosion or dilation)public GeodesicReconstructionScanning(int connectivity)
connectivity - the 2D connectivity to use (either 4 or 8)public GeodesicReconstructionScanning(GeodesicReconstructionType type, int connectivity)
type - the type of reconstruction (erosion or dilation)connectivity - the 2D connectivity to use (either 4 or 8)public GeodesicReconstructionType getReconstructionType()
public void setReconstructionType(GeodesicReconstructionType reconstructionType)
reconstructionType - the reconstructionType to setpublic 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.