Class JDialogCumulativeHistogram

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

public class JDialogCumulativeHistogram extends JDialogBase implements AlgorithmInterface
DOCUMENT ME!
Author:
pandyan

This class is the main dialog for the CumulativeHistogram Algorithm The dialog is never visible

See Also:
  • Field Details

    • serialVersionUID

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

      private ModelHistogram hist
      MoelHistogram object.*
    • histoBuffer

      private int[] histoBuffer
      int array of histogram values.
    • image

      private ModelImage image
      Source Image.
    • RGBValue

      private int RGBValue
      int vlaue indicating RGB channel.
  • Constructor Details

    • JDialogCumulativeHistogram

      public JDialogCumulativeHistogram(Frame theParentFrame, ModelImage im)
      Constructor.
      Parameters:
      theParentFrame - DOCUMENT ME!
      im - DOCUMENT ME!
  • Method Details

    • algorithmPerformed

      public void algorithmPerformed(AlgorithmBase algorithm)
      method that is called after algorithm is finished.
      Specified by:
      algorithmPerformed in interface AlgorithmInterface
      Parameters:
      algorithm - DOCUMENT ME!
    • callAlgorithm

      private void callAlgorithm()
      Calls the CumulativeHistogram Algorithm.