Class AlgorithmTProcess

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.AlgorithmTProcess
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, EventListener
Direct Known Subclasses:
AlgorithmTreT1, AlgorithmTreT2

public abstract class AlgorithmTProcess extends AlgorithmBase
This abstract class defines terms common to both T1 and T2 processing, such as thresholding and multithreading management methods. Some methods were adapted from the ImageJ code by Sean Deoni.
Author:
senseneyj
  • Field Details

    • MAX_PROCESS

      public static final int MAX_PROCESS
      See Also:
    • upperLeftCorner

      protected boolean upperLeftCorner
    • upperRightCorner

      protected boolean upperRightCorner
    • lowerLeftCorner

      protected boolean lowerLeftCorner
    • lowerRightCorner

      protected boolean lowerRightCorner
    • useSmartThresholding

      protected boolean useSmartThresholding
    • useHardThresholding

      protected boolean useHardThresholding
    • noiseScale

      protected float noiseScale
    • hardNoiseThreshold

      protected float hardNoiseThreshold
    • processDataThreads

      protected int processDataThreads
    • computeDataThreads

      protected int computeDataThreads
    • loadDataThreads

      protected int loadDataThreads
    • nSlices

      protected int nSlices
      The number of slices in the largest volume
    • do4D

      protected boolean do4D
      Whether this algorithm will utilize 4D processing optimization
    • Gaussian

      protected static double[][] Gaussian
      Static 4x4 Gaussian kernel
  • Constructor Details

    • AlgorithmTProcess

      public AlgorithmTProcess(ModelImage destImage, ModelImage srcImage)
    • AlgorithmTProcess

      public AlgorithmTProcess()
  • Method Details

    • cloneFileInfo

      public void cloneFileInfo(ModelImage orig, ModelImage clo)
      This method gives clo the file info of orig.
      Parameters:
      orig - Original image
      clo - Near clone image
    • computeProcessors

      protected abstract void computeProcessors()
    • displayImages

      protected abstract void displayImages()
    • genericInit

      private void genericInit()