Package inra.ijpb.morphology.geodrec
Class GeodesicReconstructionAlgoStub
java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.morphology.geodrec.GeodesicReconstructionAlgoStub
- All Implemented Interfaces:
Algo
,GeodesicReconstructionAlgo
- Direct Known Subclasses:
GeodesicReconstructionByDilation
,GeodesicReconstructionByErosion
,GeodesicReconstructionHybrid
,GeodesicReconstructionScanning
public abstract class GeodesicReconstructionAlgoStub extends AlgoStub implements GeodesicReconstructionAlgo
Implementation basis for geodesic reconstruction algorithms for planar images.
- 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 GeodesicReconstructionAlgoStub()
-
Method Summary
Modifier and Type Method Description int
getConnectivity()
Returns the chosen connectivity of the algorithm, either 4 or 8.void
setConnectivity(int conn)
Changes the connectivity of the algorithm to either 4 or 8.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.morphology.geodrec.GeodesicReconstructionAlgo
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
-
GeodesicReconstructionAlgoStub
public GeodesicReconstructionAlgoStub()
-
-
Method Details
-
getConnectivity
public int getConnectivity()Description copied from interface:GeodesicReconstructionAlgo
Returns the chosen connectivity of the algorithm, either 4 or 8.- Specified by:
getConnectivity
in interfaceGeodesicReconstructionAlgo
- Returns:
- the current connectivity for this algorithm
-
setConnectivity
public void setConnectivity(int conn)Description copied from interface:GeodesicReconstructionAlgo
Changes the connectivity of the algorithm to either 4 or 8.- Specified by:
setConnectivity
in interfaceGeodesicReconstructionAlgo
- Parameters:
conn
- the connectivity to use, either 4 or 8
-