Class AlgorithmDicomOrder

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.utilities.AlgorithmDicomOrder
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, EventListener

public class AlgorithmDicomOrder extends AlgorithmBase
Put 3D dataset into dicom order.
  • Field Details

    • orient

      private int[] orient
      Axis orientations of image.
  • Constructor Details

    • AlgorithmDicomOrder

      public AlgorithmDicomOrder(ModelImage srcImg, int[] orient)
      In place constructor.
      Parameters:
      srcImg - source image model
      orient - 3 integer codes describing the spatial orientation of the axes
  • Method Details

    • finalize

      public void finalize()
      Prepares this class for destruction.
      Overrides:
      finalize in class AlgorithmBase
    • returnImage

      public ModelImage returnImage()
      Returns the dicom-ordered image.
      Returns:
      DOCUMENT ME!
    • runAlgorithm

      public void runAlgorithm()
      Starts the algorithm.
      Specified by:
      runAlgorithm in class AlgorithmBase
    • calcInPlace

      private void calcInPlace()
      Calculates the dicom ordered image and replaces the original image with the dicom ordered image.