Package inra.ijpb.morphology.geodrec
Class GeodesicReconstruction3DAlgoStub
java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.morphology.geodrec.GeodesicReconstruction3DAlgoStub
- All Implemented Interfaces:
Algo
,GeodesicReconstruction3DAlgo
- Direct Known Subclasses:
GeodesicReconstruction3DHybrid0Float
,GeodesicReconstruction3DHybrid0Gray16
,GeodesicReconstruction3DHybrid0Gray8
,GeodesicReconstruction3DHybrid1Image3D
,GeodesicReconstructionByDilation3D
,GeodesicReconstructionByDilation3DGray8
,GeodesicReconstructionByDilation3DScanning
,GeodesicReconstructionByDilation3DScanningGray8
,GeodesicReconstructionByErosion3DGray8
,GeodesicReconstructionByErosion3DScanning
,GeodesicReconstructionByErosion3DScanningGray8
public abstract class GeodesicReconstruction3DAlgoStub extends AlgoStub implements GeodesicReconstruction3DAlgo
Implementation basis for geodesic reconstruction algorithms for 3D images.
This class provides the management of the connectivity, several fields to manage algorithm monitoring, and protected utility methods.
- Author:
- dlegland
-
Field Summary
Fields Modifier and Type Field Description boolean
showProgress
Boolean flag for the display of algorithm progress in ImageJ status barboolean
showStatus
Boolean flag for the display of algorithm state in ImageJ status barboolean
verbose
Boolean flag for the display of debugging infos. -
Constructor Summary
Constructors Constructor Description GeodesicReconstruction3DAlgoStub()
-
Method Summary
Modifier and Type Method Description int
getConnectivity()
Returns the chosen connectivity of the algorithm, either 6 or 26.void
setConnectivity(int conn)
Changes the connectivity of the algorithm to either 6 or 26.Methods inherited from class inra.ijpb.algo.AlgoStub
addAlgoListener, removeAlgoListener
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface inra.ijpb.algo.Algo
addAlgoListener, removeAlgoListener
Methods inherited from interface inra.ijpb.morphology.geodrec.GeodesicReconstruction3DAlgo
applyTo, applyTo
-
Field Details
-
verbose
public boolean verboseBoolean flag for the display of debugging infos. -
showStatus
public boolean showStatusBoolean flag for the display of algorithm state in ImageJ status bar -
showProgress
public boolean showProgressBoolean flag for the display of algorithm progress in ImageJ status bar
-
-
Constructor Details
-
GeodesicReconstruction3DAlgoStub
public GeodesicReconstruction3DAlgoStub()
-
-
Method Details
-
getConnectivity
public int getConnectivity()Description copied from interface:GeodesicReconstruction3DAlgo
Returns the chosen connectivity of the algorithm, either 6 or 26.- Specified by:
getConnectivity
in interfaceGeodesicReconstruction3DAlgo
- Returns:
- the current connectivity for this algorithm
-
setConnectivity
public void setConnectivity(int conn)Description copied from interface:GeodesicReconstruction3DAlgo
Changes the connectivity of the algorithm to either 6 or 26.- Specified by:
setConnectivity
in interfaceGeodesicReconstruction3DAlgo
- Parameters:
conn
- the 3D connectivity to use, either 6 or 26
-