Class AlgorithmConcatMult
- java.lang.Object
-
- java.lang.Thread
-
- gov.nih.mipav.model.algorithms.AlgorithmBase
-
- gov.nih.mipav.model.algorithms.utilities.AlgorithmConcatMult
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.awt.event.WindowListener
,java.lang.Runnable
,java.util.EventListener
- Direct Known Subclasses:
AlgorithmConcatMult2Dto3D
,AlgorithmConcatMult3Dto3D
,AlgorithmConcatMult3Dto4D
public abstract class AlgorithmConcatMult extends AlgorithmBase
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
copyAllInfo
Whether to copy all file informationprotected ModelImage
destImage
final imageprotected ModelImage[]
images
array of imagesprotected int
xDim
x and y dimensions of imageprotected int
yDim
x and y dimensions of image-
Fields inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
destFlag, image25D, mask, maxProgressValue, minProgressValue, multiThreadingEnabled, nthreads, progress, progressModulus, progressStep, runningInSeparateThread, separable, srcImage, threadStopped
-
-
Constructor Summary
Constructors Constructor Description AlgorithmConcatMult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copyBaseInfo(FileInfoBase[] fileInfo, FileInfoBase srcFileInfo, float[] resols, float[] origins, int[] units, int i)
protected void
copyDicomInfo(FileInfoBase[] destFileInfo, FileInfoBase baseDicomInfo, float[] resols, int z, int t, int sliceCounter)
Most efficient way of creating DICOM tags for 4-D.-
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, runAlgorithm, 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
-
images
protected ModelImage[] images
array of images
-
destImage
protected ModelImage destImage
final image
-
xDim
protected int xDim
x and y dimensions of image
-
yDim
protected int yDim
x and y dimensions of image
-
copyAllInfo
protected boolean copyAllInfo
Whether to copy all file information
-
-
Method Detail
-
copyBaseInfo
protected void copyBaseInfo(FileInfoBase[] fileInfo, FileInfoBase srcFileInfo, float[] resols, float[] origins, int[] units, int i)
-
copyDicomInfo
protected void copyDicomInfo(FileInfoBase[] destFileInfo, FileInfoBase baseDicomInfo, float[] resols, int z, int t, int sliceCounter)
Most efficient way of creating DICOM tags for 4-D. Uses pointers based on srcimage dicom tags- Parameters:
destFileInfo
-resols
-j
-z
-t
-sliceCounter
-
-
-