Class AlgorithmConcatMult
java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.utilities.AlgorithmConcatMult
- All Implemented Interfaces:
ActionListener,WindowListener,Runnable,EventListener
- Direct Known Subclasses:
AlgorithmConcatMult2Dto3D,AlgorithmConcatMult3Dto3D,AlgorithmConcatMult3Dto4D
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether to copy all file informationprotected ModelImagefinal imageprotected ModelImage[]array of imagesprotected intx and y dimensions of imageprotected intx and y dimensions of imageFields inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
destFlag, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopyBaseInfo(FileInfoBase[] fileInfo, FileInfoBase srcFileInfo, float[] resols, float[] origins, int[] units, int i) protected voidcopyDicomInfo(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, 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
-
images
array of images -
destImage
final image -
xDim
protected int xDimx and y dimensions of image -
yDim
protected int yDimx and y dimensions of image -
copyAllInfo
protected boolean copyAllInfoWhether to copy all file information
-
-
Constructor Details
-
AlgorithmConcatMult
public AlgorithmConcatMult()
-
-
Method Details
-
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-z-t-sliceCounter-j-
-