Class JDialogProstateBoundaryFeatureTrain

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

public class JDialogProstateBoundaryFeatureTrain extends JDialogScriptableBase
See Also:
  • Field Details

    • trainFilePanel

      private JPanel trainFilePanel
    • textTrainFileName

      private JTextField textTrainFileName
    • buttonTrainFileName

      private JButton buttonTrainFileName
    • featuresTrainingPanel

      private JPanel featuresTrainingPanel
    • svmOptionsPanel

      private JPanel svmOptionsPanel
    • radioButtonSVMBinary

      private JRadioButton radioButtonSVMBinary
    • radioButtonSVMMulticlass

      private JRadioButton radioButtonSVMMulticlass
    • group

      private ButtonGroup group
    • modelFilePanel

      private JPanel modelFilePanel
    • textModelFileName

      private JTextField textModelFileName
    • buttonModelFileName

      private JButton buttonModelFileName
    • modelFileDirAbs

      private String modelFileDirAbs
    • modelFileName

      private String modelFileName
    • trainFileDirAbs

      private String trainFileDirAbs
    • trainFileName

      private String trainFileName
    • svmTrainingBinary

      private boolean svmTrainingBinary
  • Constructor Details

    • JDialogProstateBoundaryFeatureTrain

      public JDialogProstateBoundaryFeatureTrain()
      Empty constructor needed for dynamic instantiation.
    • JDialogProstateBoundaryFeatureTrain

      public JDialogProstateBoundaryFeatureTrain(Frame theParentFrame)
      Creates a new JDialogHaralickTexture object.
      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.
    • init

      private void init()
      Sets up the GUI (panels, buttons, etc) and displays it on the screen.
    • buildTrainFilePanel

      private void buildTrainFilePanel()
    • setGUIFromParams

      protected void setGUIFromParams()
      Description copied from class: JDialogScriptableBase
      Set the dialog GUI using the script parameters while running this algorithm as part of a script.
      Specified by:
      setGUIFromParams in class JDialogScriptableBase
    • storeParamsFromGUI

      protected void storeParamsFromGUI() throws ParserException
      Description copied from class: JDialogScriptableBase
      Record the parameters just used to run this algorithm in a script.
      Specified by:
      storeParamsFromGUI in class JDialogScriptableBase
      Throws:
      ParserException - If there is a problem creating/recording the new parameters.
    • callAlgorithm

      protected void callAlgorithm()
      Once all the necessary variables are set, call the Gaussian Haralick feature algorithm.
      Specified by:
      callAlgorithm in class JDialogScriptableBase