Class JDialogRegVOILandmark

All Implemented Interfaces:
AlgorithmInterface, DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JDialogRegVOILandmark extends JDialogBase implements AlgorithmInterface
Dialog to register Kidney images, same spacial location, over time. Calls AlgorithmRegVOILandmark. The user is able to control the degree of blurring in all dimensions and indicate if a correction factor be applied to the z-dimension to account for differing resolutions between the xy resolutions (intra-plane). The user has the option to generate a new image or replace the source image. In addition the user can indicate if you wishes to have the algorithm applied to whole image or to the VOI regions. Adapted from JDialogGradientMag
Version:
0.1 June, 2000
Author:
Delia McGarry
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • algoRegVOILankmark

      private AlgorithmRegVOILandmark algoRegVOILankmark
      DOCUMENT ME!
    • comboBoxOpt

      private JComboBox comboBoxOpt
      DOCUMENT ME!
    • image

      private ModelImage image
      DOCUMENT ME!
    • labelminTx

      private JLabel labelminTx
      DOCUMENT ME!
    • labelmaxTx

      private JLabel labelmaxTx
      DOCUMENT ME!
    • labelminTy

      private JLabel labelminTy
      DOCUMENT ME!
    • labelmaxTy

      private JLabel labelmaxTy
      DOCUMENT ME!
    • labelminRz

      private JLabel labelminRz
      DOCUMENT ME!
    • labelmaxRz

      private JLabel labelmaxRz
      DOCUMENT ME!
    • labelStep

      private JLabel labelStep
      DOCUMENT ME!
    • position

      private VOIContour position
      DOCUMENT ME!
    • resultImage

      private ModelImage resultImage
      DOCUMENT ME!
    • clonedImage

      private ModelImage clonedImage
    • scaleX

      private float scaleX
      DOCUMENT ME!
    • scaleY

      private float scaleY
      DOCUMENT ME!
    • textGaussX

      private JTextField textGaussX
      DOCUMENT ME!
    • textGaussY

      private JTextField textGaussY
      DOCUMENT ME!
    • textStep

      private JTextField textStep
      DOCUMENT ME!
    • textminTx

      private JTextField textminTx
      DOCUMENT ME!
    • textmaxTx

      private JTextField textmaxTx
      DOCUMENT ME!
    • textminTy

      private JTextField textminTy
      DOCUMENT ME!
    • textmaxTy

      private JTextField textmaxTy
      DOCUMENT ME!
    • textminRz

      private JTextField textminRz
      DOCUMENT ME!
    • textmaxRz

      private JTextField textmaxRz
      DOCUMENT ME!
    • tmpIntensity

      private float[] tmpIntensity
      DOCUMENT ME!
    • tmpPosition

      private WildMagic.LibFoundation.Mathematics.Vector3f[] tmpPosition
      DOCUMENT ME!
  • Constructor Details

    • JDialogRegVOILandmark

      public JDialogRegVOILandmark(Frame theParentFrame, ModelImage im)
      Creates new dialog to register images.
      Parameters:
      theParentFrame - Parent frame
      im - Source image
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Closes dialog box when the OK button is pressed and calls the algorithm.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      event - event that triggers function
    • algorithmPerformed

      public void algorithmPerformed(AlgorithmBase algorithm)
      This method is required if the AlgorithmPerformed interface is implemented. It is called by the algorithms 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.
    • getResultImage

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

      public void itemStateChanged(ItemEvent event)
      Sets labels and text fields enabled or disabled depending on checkbox.
      Specified by:
      itemStateChanged in interface ItemListener
      Overrides:
      itemStateChanged in class JDialogBase
      Parameters:
      event - Event that caused method to fire.
    • init

      private void init()
      Sets up GUI components and displays dialog.