Class DLSymbolModifier

java.lang.Object
PamView.symbol.modifier.SymbolModifier
rawDeepLearningClassifier.dataPlotFX.DLSymbolModifier

public class DLSymbolModifier extends SymbolModifier
The DL symbol modifier. Colours symbols by either the value of the prediction by a user selected class or by the class with the highest prediction value.
Author:
Jamie Macaulay.
  • Field Details Link icon

    • DL_MODIFIER_NAME Link icon

      public static String DL_MODIFIER_NAME
  • Constructor Details Link icon

  • Method Details Link icon

    • getSymbolData Link icon

      public SymbolData getSymbolData(GeneralProjector projector, PamDataUnit dataUnit)
      Description copied from class: SymbolModifier
      This is the symbol data to use if this modifier were to change everything. the Symbolchooser will actually be calling the modifySymbol function, which calls this, then based on which bits are set for modification, will transfer over the appropriate information.

      Must be able to respond to a null projector and dataUnit for tree vies.

      Specified by:
      getSymbolData in class SymbolModifier
      Parameters:
      projector -
      dataUnit -
      Returns:
    • checkColourArray Link icon

      public void checkColourArray()
      Check the correct colour array is being used and, if not, change it.
    • getSymbolModifierParams Link icon

      public DLSymbolModifierParams getSymbolModifierParams()
      Description copied from class: SymbolModifier
      Get the symbol modifier parameters associated with the symbol modifier.

      Note that this function should create a new instance of the settings class if the settings class is null. This allows subclasses to override this function to return custom parameter objects.

      Overrides:
      getSymbolModifierParams in class SymbolModifier
      Returns:
      the symbol modifier parameters.
    • setSymbolModifierParams Link icon

      public void setSymbolModifierParams(SymbolModifierParams symbolModifierParams)
      Description copied from class: SymbolModifier
      Set the symbol modifier paramters.
      Overrides:
      setSymbolModifierParams in class SymbolModifier
      Parameters:
      symbolModifierParams - - the symbol modifiers paramters.
    • getOptionsPane Link icon

      public SymbolModifierPane getOptionsPane()
      Get the JavaFX symbol options pane that has options for the symbol pane.
      Overrides:
      getOptionsPane in class SymbolModifier
      Returns:
      the symbol options pane.
    • getDialogPanel Link icon

      public PamDialogPanel getDialogPanel()
      Overrides:
      getDialogPanel in class SymbolModifier
    • showOptionsDialog Link icon

      protected void showOptionsDialog(ActionEvent e, PamDialogPanel dialogPanel)
      Default behaviour to show the dialog panel.
      Overrides:
      showOptionsDialog in class SymbolModifier
      Parameters:
      e -
      dialogPanel -
    • getDLAnnotType Link icon

      public DLAnnotationType getDLAnnotType()