Class AlgorithmSwap34

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

    public class AlgorithmSwap34
    extends AlgorithmBase
    Swaps third and fourth dimensions in 4D dataset. The current image is deleted and a new one with swapped third and fourth dimensions is created.
    • Constructor Detail

      • AlgorithmSwap34

        public AlgorithmSwap34​(ModelImage srcImg)
        Constructs new algorithm and sets source.
        Parameters:
        srcImg - source image model
    • Method Detail

      • finalize

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

        public ModelImage getResultImage()
        Returns result image.
        Returns:
        destImage
      • swap34

        private void swap34()
        Swaps the image third and fourth dimensions and replaces the source image with the swapped dimension image.