Class JDialogThresholdLUT

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

public class JDialogThresholdLUT extends JDialogBase
Dialog is used by the ViewJFrameHistoLUT frame. This dialog allows the user to select parameters before invoking the threshold algorithm.
Version:
1.0 Mar 9, 2000
Author:
Matthew J. McAuliffe, Ph.D.
See Also:
  • Field Details

    • serialVersionUID

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

      private float fillValue
      DOCUMENT ME!
    • image

      private ModelImage image
      DOCUMENT ME!
    • labelMax

      private JLabel labelMax
      DOCUMENT ME!
    • labelMin

      private JLabel labelMin
      DOCUMENT ME!
    • lowerThreshold

      private float lowerThreshold
      DOCUMENT ME!
    • upperThreshold

      private float upperThreshold
      DOCUMENT ME!
    • outputType

      private int outputType
      DOCUMENT ME!
    • radioBinary

      private JRadioButton radioBinary
      DOCUMENT ME!
    • radioRange

      private JRadioButton radioRange
      DOCUMENT ME!
    • radioThresh

      private JRadioButton radioThresh
      DOCUMENT ME!
    • resultImage

      private ModelImage resultImage
      DOCUMENT ME!
    • textFill

      private JTextField textFill
      DOCUMENT ME!
    • textMax

      private JTextField textMax
      DOCUMENT ME!
    • textMin

      private JTextField textMin
      DOCUMENT ME!
    • thresholdAlgo

      private AlgorithmThresholdDual thresholdAlgo
      DOCUMENT ME!
  • Constructor Details

    • JDialogThresholdLUT

      public JDialogThresholdLUT(Frame theParentFrame, ModelImage im, float lowThreshold, float upThreshold)
      Creates new threshold LUT dialog.
      Parameters:
      theParentFrame - Parent frame
      im - Source image
      lowThreshold - Lower threshold bound
      upThreshold - Upper threshold bound
  • 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
    • init

      private void init()
      Set up GUI parameters.