Package gov.nih.mipav.model.algorithms
Class AlgorithmHarrisLaplace
- java.lang.Object
-
- java.lang.Thread
-
- gov.nih.mipav.model.algorithms.AlgorithmBase
-
- gov.nih.mipav.model.algorithms.AlgorithmHarrisLaplace
-
- All Implemented Interfaces:
AlgorithmInterface
,java.awt.event.ActionListener
,java.awt.event.WindowListener
,java.lang.Runnable
,java.util.EventListener
public class AlgorithmHarrisLaplace extends AlgorithmBase implements AlgorithmInterface
-
-
Field Summary
Fields Modifier and Type Field Description private double
epsilon
private double[]
Ix
private double[]
Ix2
private double[]
Ixy
private double[]
Iy
private double[]
Iy2
private double[]
log
private static int
logOp
private int
operationType
private static int
xOp
private static int
xxOp
private static int
xyOp
private static int
yOp
private static int
yyOp
-
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 AlgorithmHarrisLaplace()
AlgorithmHarrisLaplace - default constructor.AlgorithmHarrisLaplace(ModelImage srcImg)
AlgorithmHarrisLaplace.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
algorithmPerformed(AlgorithmBase algorithm)
Called after an algorithm this listener is registered to exits (maybe successfully, maybe not).void
finalize()
finalize -void
runAlgorithm()
Starts the program.-
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
-
xOp
private static final int xOp
- See Also:
- Constant Field Values
-
yOp
private static final int yOp
- See Also:
- Constant Field Values
-
xxOp
private static final int xxOp
- See Also:
- Constant Field Values
-
xyOp
private static final int xyOp
- See Also:
- Constant Field Values
-
yyOp
private static final int yyOp
- See Also:
- Constant Field Values
-
logOp
private static final int logOp
- See Also:
- Constant Field Values
-
Ix
private double[] Ix
-
Iy
private double[] Iy
-
Ix2
private double[] Ix2
-
Ixy
private double[] Ixy
-
Iy2
private double[] Iy2
-
log
private double[] log
-
operationType
private int operationType
-
epsilon
private double epsilon
-
-
Constructor Detail
-
AlgorithmHarrisLaplace
public AlgorithmHarrisLaplace()
AlgorithmHarrisLaplace - default constructor.
-
AlgorithmHarrisLaplace
public AlgorithmHarrisLaplace(ModelImage srcImg)
AlgorithmHarrisLaplace.- Parameters:
srcImg
- DOCUMENT ME!
-
-
Method Detail
-
finalize
public void finalize()
finalize -- Overrides:
finalize
in classAlgorithmBase
-
runAlgorithm
public void runAlgorithm()
Starts the program.- Specified by:
runAlgorithm
in classAlgorithmBase
-
algorithmPerformed
public void algorithmPerformed(AlgorithmBase algorithm)
Description copied from interface:AlgorithmInterface
Called after an algorithm this listener is registered to exits (maybe successfully, maybe not). If the algorithm is run in a separate thread, this call will be made within that thread. If not, this call will be made from that same, shared thread.- Specified by:
algorithmPerformed
in interfaceAlgorithmInterface
- Parameters:
algorithm
- the algorithm which has just completed
-
-