Package gov.nih.mipav.model.algorithms
Class AlgorithmIteratedBlindDeconvolution
- java.lang.Object
-
- java.lang.Thread
-
- gov.nih.mipav.model.algorithms.AlgorithmBase
-
- gov.nih.mipav.model.algorithms.AlgorithmIteratedBlindDeconvolution
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.awt.event.WindowListener
,java.lang.Runnable
,java.util.EventListener
public class AlgorithmIteratedBlindDeconvolution extends AlgorithmBase
DOCUMENT ME!
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
arrayLength
DOCUMENT ME!(package private) ModelImage
blurredImageSpectrum
DOCUMENT ME!(package private) float[]
blurredReals
DOCUMENT ME!(package private) float[]
blurredSpectrumImags
DOCUMENT ME!(package private) float[]
blurredSpectrumReals
DOCUMENT ME!(package private) AlgorithmFFT
estimatedFFT
DOCUMENT ME!(package private) AlgorithmFFT
estimatedIFFT
DOCUMENT ME!(package private) ModelImage
estimatedImage
DOCUMENT ME!(package private) ModelImage
estimatedImageSpectrum
DOCUMENT ME!(package private) float[]
estimatedReals
DOCUMENT ME!(package private) float[]
estimatedSpectrumImags
DOCUMENT ME!(package private) float[]
estimatedSpectrumReals
DOCUMENT ME!private ModelImage
inImage
DOCUMENT ME!private ModelImage
outImage
DOCUMENT ME!(package private) AlgorithmFFT
psfFFT
DOCUMENT ME!(package private) AlgorithmFFT
psfIFFT
DOCUMENT ME!private ModelImage
psfImage
DOCUMENT ME!(package private) ModelImage
psfImageSpectrum
DOCUMENT ME!(package private) float[]
psfReals
DOCUMENT ME!(package private) float[]
psfSpectrumImags
DOCUMENT ME!(package private) float[]
psfSpectrumReals
DOCUMENT ME!(package private) float[]
tmpArray
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 AlgorithmIteratedBlindDeconvolution(ModelImage destImg, ModelImage srcImg, ModelImage psfImg)
Creates a new AlgorithmIteratedBlindDeconvolution object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disposeLocal()
Dispose of local variables that may be taking up lots of room.void
finalize()
Prepares this class for destruction.private void
initAlgorithm()
All of this stuff was being done in the constructor...why?private void
run2D()
DOCUMENT ME!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
-
arrayLength
int arrayLength
DOCUMENT ME!
-
blurredImageSpectrum
ModelImage blurredImageSpectrum
DOCUMENT ME!
-
blurredReals
float[] blurredReals
DOCUMENT ME!
-
blurredSpectrumImags
float[] blurredSpectrumImags
DOCUMENT ME!
-
blurredSpectrumReals
float[] blurredSpectrumReals
DOCUMENT ME!
-
estimatedFFT
AlgorithmFFT estimatedFFT
DOCUMENT ME!
-
estimatedIFFT
AlgorithmFFT estimatedIFFT
DOCUMENT ME!
-
psfIFFT
AlgorithmFFT psfIFFT
DOCUMENT ME!
-
psfFFT
AlgorithmFFT psfFFT
DOCUMENT ME!
-
estimatedImage
ModelImage estimatedImage
DOCUMENT ME!
-
estimatedImageSpectrum
ModelImage estimatedImageSpectrum
DOCUMENT ME!
-
estimatedReals
float[] estimatedReals
DOCUMENT ME!
-
estimatedSpectrumImags
float[] estimatedSpectrumImags
DOCUMENT ME!
-
estimatedSpectrumReals
float[] estimatedSpectrumReals
DOCUMENT ME!
-
psfImageSpectrum
ModelImage psfImageSpectrum
DOCUMENT ME!
-
psfReals
float[] psfReals
DOCUMENT ME!
-
psfSpectrumImags
float[] psfSpectrumImags
DOCUMENT ME!
-
psfSpectrumReals
float[] psfSpectrumReals
DOCUMENT ME!
-
tmpArray
float[] tmpArray
DOCUMENT ME!
-
inImage
private ModelImage inImage
DOCUMENT ME!
-
outImage
private ModelImage outImage
DOCUMENT ME!
-
psfImage
private ModelImage psfImage
DOCUMENT ME!
-
-
Constructor Detail
-
AlgorithmIteratedBlindDeconvolution
public AlgorithmIteratedBlindDeconvolution(ModelImage destImg, ModelImage srcImg, ModelImage psfImg)
Creates a new AlgorithmIteratedBlindDeconvolution object.- Parameters:
destImg
- DOCUMENT ME!srcImg
- DOCUMENT ME!psfImg
- DOCUMENT ME!
-
-
Method Detail
-
disposeLocal
public void disposeLocal()
Dispose of local variables that may be taking up lots of room.
-
finalize
public void finalize()
Prepares this class for destruction.- Overrides:
finalize
in classAlgorithmBase
-
initAlgorithm
private void initAlgorithm()
All of this stuff was being done in the constructor...why? Shoved it in here to have progress bar continuity (also we shouldn't be running other algorithms within a constructor)
-
run2D
private void run2D()
DOCUMENT ME!
-
runAlgorithm
public void runAlgorithm()
Starts the program.- Specified by:
runAlgorithm
in classAlgorithmBase
-
-