Class AlgorithmDTI2EGFA
java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.DiffusionTensorImaging.AlgorithmDTI2EGFA
- All Implemented Interfaces:
ActionListener,WindowListener,Runnable,EventListener
Algorithm requires input of a Diffusion Tensor Image to calculate an Apparent Diffusion Coefficient Image,
Functional Anisotropy Image, Color Image, Eigen Value Image, Eigen Vector Image, Relative Anisotropy Image,
Trace Image, and Volume Ratio Image
This algorithm works in conjunction with AlgorithmDTITract to create the
MIPAV DTI Fiber Tracking/ Statistics Dialog
See: Introduction to Diffusion Tensor Imaging, by Susumu Mori
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ModelImageOutput Trace (ADC) Image (before diagonalization of diffusion tensor):private ModelImageOutput Color mapped Image:private ModelImageInput Diffusion Tensor Image:private ModelImageOutput EigenValue Image:private ModelImageOutput EigenVector Image:private ModelImageOutput Functional Anisotropy Image:private ModelImageOutput RA (Relative Anisotropy) Image:private ModelImageOutput Trace Image (before diagonalization of diffusion tensor):private ModelImageOutput VR (Volume Radio) Image:Fields inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
destFlag, destImage, image25D, mask, maxProgressValue, minProgressValue, multiThreadingEnabled, nthreads, progress, progressModulus, progressStep, runningInSeparateThread, separable, srcImage, threadStoppedFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionAlgorithmDTI2EGFA(ModelImage kDTI) Initialize the Algorithm with the input DTI Image: -
Method Summary
Modifier and TypeMethodDescriptionprivate voidCalculates the eigen vector data from the DTI.voidClean up memory.Returns the Apparent Diffusion Coefficient Image.Returns the Color Map Image.Returns the Eigen Value Image.Returns the Eigen Vector Image.Returns the Functional Anisotropy Image.Returns the Relative Anisotropy Image.Returns the Trace Image.Returns the Volume Ratio Image.voidRun the DTI -> EigenVector Functional Anisotropy algorithm.Methods inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
actionPerformed, addListener, addProgressChangeListener, calculateImageSize, calculatePrincipleAxis, computeElapsedTime, computeElapsedTime, convertIntoFloat, delinkProgressToAlgorithm, delinkProgressToAlgorithmMulti, displayError, errorCleanUp, finalize, 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, windowOpenedMethods 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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
m_kDTI
Input Diffusion Tensor Image: -
m_kEigenVectorImage
Output EigenVector Image: -
m_kEigenValueImage
Output EigenValue Image: -
m_kFAImage
Output Functional Anisotropy Image: -
m_kADCImage
Output Trace (ADC) Image (before diagonalization of diffusion tensor): -
m_kTraceImage
Output Trace Image (before diagonalization of diffusion tensor): -
m_kRAImage
Output RA (Relative Anisotropy) Image: -
m_kVRImage
Output VR (Volume Radio) Image: -
m_kColorImage
Output Color mapped Image:
-
-
Constructor Details
-
AlgorithmDTI2EGFA
Initialize the Algorithm with the input DTI Image:- Parameters:
kDTI- input DTI Image.
-
-
Method Details
-
disposeLocal
public void disposeLocal()Clean up memory. -
getColorImage
Returns the Color Map Image.- Returns:
- the Color Map Image.
-
getADCImage
Returns the Apparent Diffusion Coefficient Image.- Returns:
- the Apparent Diffusion Coefficient Image.
-
getEigenVectorImage
Returns the Eigen Vector Image.- Returns:
- the Eigen Vector Image.
-
getEigenValueImage
Returns the Eigen Value Image.- Returns:
- the Eigen Value Image.
-
getFAImage
Returns the Functional Anisotropy Image.- Returns:
- the Functional Anisotropy Image.
-
getRAImage
Returns the Relative Anisotropy Image.- Returns:
- the Relative Anisotropy Image.
-
getTraceImage
Returns the Trace Image.- Returns:
- the Trace Image.
-
getVRImage
Returns the Volume Ratio Image.- Returns:
- the Volume Ratio Image.
-
runAlgorithm
public void runAlgorithm()Run the DTI -> EigenVector Functional Anisotropy algorithm.- Specified by:
runAlgorithmin classAlgorithmBase
-
calcEigenVectorFA
private void calcEigenVectorFA()Calculates the eigen vector data from the DTI.
-