Class ImageReorientation

    • Constructor Detail

      • ImageReorientation

        public ImageReorientation​(ModelImage im,
                                  int orientationIndex)
    • Method Detail

      • preformOrientation

        public void preformOrientation()
      • algorithmPerformed

        public void algorithmPerformed​(AlgorithmBase algorithm)
        This method is required if the AlgorithmPerformed interface is implemented. It is called by the algorithm when it has completed or failed to to complete, so that the dialog can be display the result image and/or clean up.
        Specified by:
        algorithmPerformed in interface AlgorithmInterface
        Parameters:
        algorithm - Algorithm that caused the event.
      • set_axial_orientation

        protected void set_axial_orientation()
      • set_sagittal_orientation

        protected void set_sagittal_orientation()
      • set_coronal_orientation

        protected void set_coronal_orientation()
      • setVariables

        private boolean setVariables()
        Use the GUI results to set up the variables needed to run the algorithm.
        Returns:
        true if parameters set successfully, false otherwise.
      • getResultImage

        public ModelImage getResultImage()