Class JDialogProstate2DSlicesPngTextFileConverterTestCentralGland

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
gov.nih.mipav.view.dialogs.JDialogBase
gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.JDialogProstate2DSlicesPngTextFileConverterTestCentralGland
All Implemented Interfaces:
AlgorithmInterface, DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JDialogProstate2DSlicesPngTextFileConverterTestCentralGland extends JDialogBase implements AlgorithmInterface
The class converts the MRI and CED png slices into a file list. HED uses the list to train HED deep learning model. -------------------------------------------------------------------------------------------- Testing case only. Don't need it. For check-in purpose only. Will remove after check-in --------------------------------------------------------------------------------------------
Author:
Ruida Cheng
See Also:
  • Field Details

  • Constructor Details

    • JDialogProstate2DSlicesPngTextFileConverterTestCentralGland

      public JDialogProstate2DSlicesPngTextFileConverterTestCentralGland(Frame theParentFrame)
      Constructor.
      Parameters:
      theParentFrame -
  • Method Details

    • disposeLocal

      public void disposeLocal()
      dispose memory
    • algorithmPerformed

      public void algorithmPerformed(AlgorithmBase algorithm)
      This method is required if the AlgorithmPerformed interface is implemented. It is called by the algorithms 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.
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Dialog local actionPerformed handler.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
    • sortImageTable

      private void sortImageTable()
    • sortVOITable

      private void sortVOITable()
    • readKeyImageDir

      private void readKeyImageDir()
    • writePngPair

      private void writePngPair()
    • traverse_folder_5

      private void traverse_folder_5(File dir)
    • traverse_folder_5

      private void traverse_folder_5(File dir, int index)
    • processDir_folder_5

      private void processDir_folder_5(File dir, int index)
    • sortKeyImage

      public void sortKeyImage()
    • init

      public void init()
      Initial panel