Class AlgorithmConcat

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

    public class AlgorithmConcat
    extends AlgorithmBase
    Assumes the pixel resolutions are equal. Concatenates two images of compatible dimensions. Variants include
                1. 2D to 2D -> 3D
                2. 2D to 3D -> 3D
                3. 3D to 2D -> 3D
                4. 3D to 3D -> 3D
                5. 3D to 3D -> 4D
                6. 3D to 4D -> 4D
                7. 4D to 3D -> 4D
                8. 4D to 4D -> 4D
          
    Version:
    1.0 March 22, 2001
    Author:
    Matthew J. McAuliffe, Ph.D.
    • Field Detail

      • srcImage1

        private ModelImage srcImage1
        Source image 1.
      • srcImage2

        private ModelImage srcImage2
        Source image 2.
    • Constructor Detail

      • AlgorithmConcat

        public AlgorithmConcat​(ModelImage srcIm1,
                               ModelImage srcIm2,
                               ModelImage dest)
        Creates a new AlgorithmConcat object.
        Parameters:
        srcIm1 - source image model 1
        srcIm2 - source image model 2
        dest - destination image
    • Method Detail

      • finalize

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

        public ModelImage getResultImage()
        Accessor that returns the result image.
        Returns:
        Result image.
      • cat2D_2D_3D

        private void cat2D_2D_3D()
        This function produces a new image that has been concatenated. Two 2D-images become one 3D image.
      • cat2D_3D_3D

        private void cat2D_3D_3D()
        This function produces a new image that has been concatenated. One 2D- and one 3D-image become one 3D image.
      • cat3D_3D_3D

        private void cat3D_3D_3D()
        This function produces a new image that has been concatenated. Two 3D--images become one 3D image.
      • cat3D_3D_4D

        private void cat3D_3D_4D()
        This function produces a new image that has been concatenated. Two 3D--images become one 4D image.
      • cat3D_4D_4D

        private void cat3D_4D_4D()
        cat.
      • cat4D_4D_4D

        private void cat4D_4D_4D()
        cat.