Package gov.nih.mipav.model.algorithms
Class AlgorithmImageHessian
- java.lang.Object
-
- java.lang.Thread
-
- gov.nih.mipav.model.algorithms.AlgorithmBase
-
- gov.nih.mipav.model.algorithms.AlgorithmImageHessian
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.awt.event.WindowListener
,java.lang.Runnable
,java.util.EventListener
public class AlgorithmImageHessian extends AlgorithmBase
DOCUMENT ME!
-
-
Field Summary
Fields Modifier and Type Field Description private int
algorID
DOCUMENT ME!private WildMagic.LibFoundation.NumericalAnalysis.Eigenf
eigenSystemAlgo
DOCUMENT ME!private AlgorithmHessian
hessianAlgo
DOCUMENT ME!-
Fields inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
destFlag, destImage, image25D, mask, maxProgressValue, minProgressValue, multiThreadingEnabled, nthreads, progress, progressModulus, progressStep, runningInSeparateThread, separable, srcImage, threadStopped
-
-
Constructor Summary
Constructors Constructor Description AlgorithmImageHessian(ModelImage srcImg)
Creates a new AlgorithmImageHessian object.AlgorithmImageHessian(ModelImage destImg, ModelImage srcImg, int id)
Creates a new AlgorithmImageHessian object.AlgorithmImageHessian(ModelImage destImg, ModelImage srcImg, int id, float[] sigmas)
Creates a new AlgorithmImageHessian object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
DOCUMENT ME!private void
run2D()
DOCUMENT ME!private void
run3D()
DOCUMENT ME!void
runAlgorithm()
DOCUMENT ME!private void
runBatch2D()
Algorithm is given a scale range and scale increment and computed the 1) hessian, 2) eigenvalues, 3) eigenvectors of the hessian.private void
runBatch3D()
DOCUMENT ME!private void
runInDest3D()
DOCUMENT ME!private void
runInPlace3D()
DOCUMENT ME!-
Methods inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
actionPerformed, addListener, addProgressChangeListener, calculateImageSize, calculatePrincipleAxis, computeElapsedTime, computeElapsedTime, convertIntoFloat, delinkProgressToAlgorithm, delinkProgressToAlgorithmMulti, displayError, errorCleanUp, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, generateProgressValues, getDestImage, getElapsedTime, getMask, getMaxProgressValue, getMinProgressValue, getNumberOfThreads, getProgress, getProgressChangeListener, getProgressChangeListeners, getProgressModulus, getProgressStep, getProgressValues, getSrcImage, isCompleted, isImage25D, isMultiThreadingEnabled, isRunningInSeparateThread, isThreadStopped, linkProgressToAlgorithm, linkProgressToAlgorithm, makeProgress, notifyListeners, removeListener, removeProgressChangeListener, run, setCompleted, setImage25D, setMask, setMaxProgressValue, setMinProgressValue, setMultiThreadingEnabled, setNumberOfThreads, setProgress, setProgressModulus, setProgressStep, setProgressValues, setProgressValues, setRunningInSeparateThread, setSrcImage, setStartTime, setThreadStopped, startMethod, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
algorID
private int algorID
DOCUMENT ME!
-
eigenSystemAlgo
private WildMagic.LibFoundation.NumericalAnalysis.Eigenf eigenSystemAlgo
DOCUMENT ME!
-
hessianAlgo
private AlgorithmHessian hessianAlgo
DOCUMENT ME!
-
-
Constructor Detail
-
AlgorithmImageHessian
public AlgorithmImageHessian(ModelImage srcImg)
Creates a new AlgorithmImageHessian object.- Parameters:
srcImg
- DOCUMENT ME!
-
AlgorithmImageHessian
public AlgorithmImageHessian(ModelImage destImg, ModelImage srcImg, int id)
Creates a new AlgorithmImageHessian object.- Parameters:
destImg
- DOCUMENT ME!srcImg
- DOCUMENT ME!id
- DOCUMENT ME!
-
AlgorithmImageHessian
public AlgorithmImageHessian(ModelImage destImg, ModelImage srcImg, int id, float[] sigmas)
Creates a new AlgorithmImageHessian object.- Parameters:
destImg
- DOCUMENT ME!srcImg
- DOCUMENT ME!id
- DOCUMENT ME!sigmas
- DOCUMENT ME!
-
-
Method Detail
-
finalize
public void finalize()
DOCUMENT ME!- Overrides:
finalize
in classAlgorithmBase
-
runAlgorithm
public void runAlgorithm()
DOCUMENT ME!- Specified by:
runAlgorithm
in classAlgorithmBase
-
run2D
private void run2D()
DOCUMENT ME!
-
run3D
private void run3D()
DOCUMENT ME!
-
runBatch2D
private void runBatch2D()
Algorithm is given a scale range and scale increment and computed the 1) hessian, 2) eigenvalues, 3) eigenvectors of the hessian. These values are saved in individual files for each scale
-
runBatch3D
private void runBatch3D()
DOCUMENT ME!
-
runInDest3D
private void runInDest3D()
DOCUMENT ME!
-
runInPlace3D
private void runInPlace3D()
DOCUMENT ME!
-
-