Class AlgorithmAnyTwoImagesSNR

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.EventListener

    public class AlgorithmAnyTwoImagesSNR
    extends AlgorithmBase
    • Field Detail

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

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

      • finalize

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