Class JDialogHistogramLUT

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

public class JDialogHistogramLUT extends JDialogBase implements AlgorithmInterface
Deprecated.
Dialog to call the histogram algorithm. This dialog will not be visible because it does not require user input at this time. It was made a dialog object because it may in the future require user input and to be consistent with the dialog/algorithm paradigm. In should be noted, that the algorithms are executed in their own thread.
Version:
0.1 Nov 17, 1998
Author:
Matthew J. McAuliffe, Ph.D.
See Also:
  • Field Details

    • serialVersionUID

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

      private boolean colocalizationEMFrame
      Deprecated.
      DOCUMENT ME!
    • colocalizationRegFrame

      private boolean colocalizationRegFrame
      Deprecated.
      DOCUMENT ME!
    • imageA

      private ModelImage imageA
      Deprecated.
      DOCUMENT ME!
    • imageB

      private ModelImage imageB
      Deprecated.
      DOCUMENT ME!
    • LUTa

      private ModelLUT LUTa
      Deprecated.
      DOCUMENT ME!
    • LUTb

      private ModelLUT LUTb
      Deprecated.
      DOCUMENT ME!
    • regComponent

      private ViewJComponentRegistration regComponent
      Deprecated.
      false = apply algorithm only to VOI regions.
    • regionFlag

      private boolean regionFlag
      Deprecated.
      DOCUMENT ME!
    • RGBa

      private ModelRGB RGBa
      Deprecated.
      DOCUMENT ME!
    • RGBb

      private ModelRGB RGBb
      Deprecated.
      DOCUMENT ME!
    • VOIRegions

      private JRadioButton VOIRegions
      Deprecated.
      DOCUMENT ME!
    • wholeImage

      private JRadioButton wholeImage
      Deprecated.
      DOCUMENT ME!
  • Constructor Details

    • JDialogHistogramLUT

      public JDialogHistogramLUT(Frame theParentFrame, ModelImage imA, ModelImage imB, ModelLUT _LUTa, ModelLUT _LUTb)
      Deprecated.
      Creates new histogram dialog. Does not actually display dialog - constructDialog is called from ViewJFrameImage if there are VOI regions in the image. Otherwise, histogramLUT is called directly.
      Parameters:
      theParentFrame - Parent frame
      imA - Source image A
      imB - Source image B (can be null)
      _LUTa - LUT associated with image A.
      _LUTb - LUT associated with image B (can be null).
    • JDialogHistogramLUT

      public JDialogHistogramLUT(Frame theParentFrame, ModelImage imA, ModelImage imB, ModelRGB _RGBa, ModelRGB _RGBb)
      Deprecated.
      Creates new histogram dialog. Does not actually display dialog - constructDialog is called from ViewJFrameImage if there are VOI regions in the image. Otherwise, histogramLUT is called directly.
      Parameters:
      theParentFrame - Parent frame
      imA - Source image A
      imB - Source image B (can be null)
      _RGBa - RGB LUT associated with image A.
      _RGBb - RGB LUT associated with image B (can be null).
    • JDialogHistogramLUT

      public JDialogHistogramLUT(Frame theParentFrame, ViewJComponentRegistration _regComponent, ModelImage imA, ModelImage imB, ModelLUT _LUTa, ModelLUT _LUTb)
      Deprecated.
      Creates new histogram dialog. This is called from ViewJFrameRegistration.
      Parameters:
      theParentFrame - Parent frame
      _regComponent - Registration component.
      imA - Source image A
      imB - DOCUMENT ME!
      _LUTa - Source image B (can be null)
      _LUTb - RGB LUT associated with image A.
    • JDialogHistogramLUT

      public JDialogHistogramLUT(Frame theParentFrame, ViewJComponentRegistration _regComponent, ModelImage imA, ModelImage imB, ModelRGB _RGBa, ModelRGB _RGBb)
      Deprecated.
      Creates new histogram dialog. This is called from ViewJFrameRegistration.
      Parameters:
      theParentFrame - Parent frame
      _regComponent - Registration component.
      imA - Source image A
      imB - Source image B (can be null)
      _RGBa - RGB LUT associated with image A.
      _RGBb - RGB LUT associated with image B (can be null).
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Deprecated.
      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)
      Deprecated.
      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.
    • constructDialog

      public void constructDialog()
      Deprecated.
      Creates a dialog to choose if histogram should be over all of image or just VOI regions.
    • histogramLUT

      public void histogramLUT(boolean entireFlag)
      Deprecated.
      Makes a histogram LUT by calling ViewJFrameHistoLUT.
      Parameters:
      entireFlag - if true calculate histogram for entire image
    • setColocalizationEMFrame

      public void setColocalizationEMFrame(boolean colocalizationEMFrame)
      Deprecated.
      if true parentFrame is a ViewJFrameColocalizationEM.
      Parameters:
      colocalizationEMFrame - DOCUMENT ME!
    • setColocalizationRegFrame

      public void setColocalizationRegFrame(boolean colocalizationRegFrame)
      Deprecated.
      if true parentFrame is a ViewJFrameColocalizationRegression.
      Parameters:
      colocalizationRegFrame - DOCUMENT ME!
    • windowActivated

      public void windowActivated(WindowEvent event)
      Deprecated.
      Unchanged.
      Specified by:
      windowActivated in interface WindowListener
      Overrides:
      windowActivated in class JDialogBase
      Parameters:
      event - WindowEvent
    • windowClosed

      public void windowClosed(WindowEvent event)
      Deprecated.
      Unchanged.
      Specified by:
      windowClosed in interface WindowListener
      Overrides:
      windowClosed in class JDialogBase
      Parameters:
      event - WindowEvent
    • windowClosing

      public void windowClosing(WindowEvent event)
      Deprecated.
      Disposes of error dialog, then frame. Sets cancelled to true.
      Specified by:
      windowClosing in interface WindowListener
      Overrides:
      windowClosing in class JDialogBase
      Parameters:
      event - WindowEvent
    • windowDeactivated

      public void windowDeactivated(WindowEvent event)
      Deprecated.
      Unchanged.
      Specified by:
      windowDeactivated in interface WindowListener
      Overrides:
      windowDeactivated in class JDialogBase
      Parameters:
      event - WindowEvent
    • windowDeiconified

      public void windowDeiconified(WindowEvent event)
      Deprecated.
      Unchanged.
      Specified by:
      windowDeiconified in interface WindowListener
      Overrides:
      windowDeiconified in class JDialogBase
      Parameters:
      event - WindowEvent
    • windowIconified

      public void windowIconified(WindowEvent event)
      Deprecated.
      Unchanged.
      Specified by:
      windowIconified in interface WindowListener
      Overrides:
      windowIconified in class JDialogBase
      Parameters:
      event - WindowEvent
    • windowOpened

      public void windowOpened(WindowEvent event)
      Deprecated.
      Unchanged.
      Specified by:
      windowOpened in interface WindowListener
      Overrides:
      windowOpened in class JDialogBase
      Parameters:
      event - WindowEvent