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 booleanshowProgressBoolean flag for the display of algorithm progress in ImageJ status barbooleanshowStatusBoolean flag for the display of algorithm state in ImageJ status barbooleanverboseBoolean flag for the display of debugging infos. -
Constructor Summary
Constructors Constructor Description GeodesicReconstructionAlgoStub() -
Method Summary
Modifier and Type Method Description intgetConnectivity()Returns the chosen connectivity of the algorithm, either 4 or 8.voidsetConnectivity(int conn)Changes the connectivity of the algorithm to either 4 or 8.Methods inherited from class inra.ijpb.algo.AlgoStub
addAlgoListener, removeAlgoListenerMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:GeodesicReconstructionAlgoReturns the chosen connectivity of the algorithm, either 4 or 8.- Specified by:
getConnectivityin interfaceGeodesicReconstructionAlgo- Returns:
- the current connectivity for this algorithm
-
setConnectivity
public void setConnectivity(int conn)Description copied from interface:GeodesicReconstructionAlgoChanges the connectivity of the algorithm to either 4 or 8.- Specified by:
setConnectivityin interfaceGeodesicReconstructionAlgo- Parameters:
conn- the connectivity to use, either 4 or 8
-