Class AlgorithmTProcess

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.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 Detail

      • 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 Detail

      • AlgorithmTProcess

        public AlgorithmTProcess()
    • Method Detail

      • 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()