Class AlgorithmAnyTwoImagesSNR

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

public class AlgorithmAnyTwoImagesSNR extends AlgorithmBase

  • Field Details

    • cost

      private int cost
      DOCUMENT ME!
    • createRegImage

      private boolean createRegImage
      DOCUMENT ME!
    • image2

      private ModelImage image2
      private ModelImage srcImage;.
    • register

      private boolean register
      DOCUMENT ME!
    • scale

      private boolean scale
    • UI

      private ViewUserInterface UI
      DOCUMENT ME!
  • Constructor Details

    • AlgorithmAnyTwoImagesSNR

      public AlgorithmAnyTwoImagesSNR(ModelImage image, ModelImage image2, boolean scale, boolean register, int cost, boolean createRegImage)
      Creates a new AlgorithmAnyTwoImagesSNR object.
      Parameters:
      image - First MRI image
      image2 - Second MRI image
      scale - if true scale image 2 so its min and max match min and max of image 1
      register - If true register the image2 to the image before SNR
      cost - Cost function used in registration
      createRegImage - If register = true and createRegImage = true, then create a frame with the registered image
  • Method Details

    • finalize

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

      public void runAlgorithm()
      starts the algorithm.
      Specified by:
      runAlgorithm in class AlgorithmBase