Class JDialogLoadProstateMask

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

public class JDialogLoadProstateMask extends JDialogBase implements AlgorithmInterface
See Also:
  • Field Details

    • image

      private ModelImage image
      DOCUMENT ME!
    • UI

      private ViewUserInterface UI
      The main user interface.
    • thresholdAlgo

      private AlgorithmThresholdDual thresholdAlgo
      DOCUMENT ME!
    • particleAlgo2D

      private AlgorithmMorphology2D particleAlgo2D
    • idObjectsAlgo2D

      private AlgorithmMorphology2D idObjectsAlgo2D
    • smoothAlgo

      private AlgorithmBSmooth smoothAlgo
    • outputType

      private int outputType
      Same data-type, binary, or unsigned byte mask.
    • min

      private float min
      DOCUMENT ME!
    • max

      private float max
      DOCUMENT ME!
    • VOIs

      private ViewVOIVector VOIs
      DOCUMENT ME!
    • groupNum

      private int groupNum
      DOCUMENT ME!
    • voiColor

      private Color voiColor
      DOCUMENT ME!
    • elementNum

      private int elementNum
      DOCUMENT ME!
    • defaultPts

      private int defaultPts
    • trim

      private boolean trim
      DOCUMENT ME!
    • originalBuffer

      private double[] originalBuffer
  • Constructor Details

    • JDialogLoadProstateMask

      public JDialogLoadProstateMask(Frame theParentFrame, ModelImage im)
  • Method Details

    • init

      public void init()
    • readMaskfile

      public void readMaskfile(String fileName, String directory)
    • morphologyPostProcessing

      public void morphologyPostProcessing()
    • particleSystem

      public void particleSystem()
    • threshold

      public void threshold()
    • IDobjects

      public void IDobjects()
    • maskToVOI

      public void maskToVOI()
    • smoothVOI

      public void smoothVOI()
    • algorithmPerformed

      public void algorithmPerformed(AlgorithmBase algorithm)
      Description copied from interface: AlgorithmInterface
      Called after an algorithm this listener is registered to exits (maybe successfully, maybe not). If the algorithm is run in a separate thread, this call will be made within that thread. If not, this call will be made from that same, shared thread.
      Specified by:
      algorithmPerformed in interface AlgorithmInterface
      Parameters:
      algorithm - the algorithm which has just completed