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.
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
connectivity
The connectivity of the algorithm, either 6 or 26. 
 | 
boolean | 
showProgress
Boolean flag for the display of algorithm progress in ImageJ status bar 
 | 
boolean | 
showStatus
Boolean flag for the display of algorithm state in ImageJ status bar 
 | 
boolean | 
verbose
Boolean flag for the display of debugging infos. 
 | 
| Constructor and Description | 
|---|
GeodesicReconstruction3DAlgoStub()  | 
| Modifier and Type | Method and 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. 
 | 
protected void | 
showProgress(double current,
            double max)
Displays the current progression of the algorithm in the status bar of
 the ImageJ frame, if the  
showProgress flag is true. | 
protected void | 
showProgress(double current,
            double max,
            String msg)
Displays the current progression of the algorithm in the status bar of
 the ImageJ frame, if the  
showProgress flag is true. | 
protected void | 
showStatus(String status)
Displays the specified message in the status bar of the ImageJ frame, if
 the  
showStatus flag is true. | 
protected void | 
trace(String traceMessage)
Display a trace message in the console, if the  
verbose flag
 is true. | 
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyTo, applyToaddAlgoListener, removeAlgoListenerprotected int connectivity
public boolean verbose
public boolean showStatus
public boolean showProgress
public int getConnectivity()
GeodesicReconstruction3DAlgogetConnectivity in interface GeodesicReconstruction3DAlgopublic void setConnectivity(int conn)
GeodesicReconstruction3DAlgosetConnectivity in interface GeodesicReconstruction3DAlgoconn - the 3D connectivity to use, either 6 or 26protected void showStatus(String status)
showStatus flag is true.status - the message to displayprotected void showProgress(double current,
                            double max)
showProgress flag is true.current - the current progressionmax - the maximum possible value for progressionprotected void showProgress(double current,
                            double max,
                            String msg)
showProgress flag is true.current - the current progressionmax - the maximum possible value for progressionmsg - an additional message that will be displayed in the consoleprotected void trace(String traceMessage)
verbose flag
 is true.traceMessage - the message to displayCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.