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

    • DL_MODIFIER_NAME

      public static String DL_MODIFIER_NAME
  • Constructor Details

  • Method Details

    • getSymbolData

      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
      Returns:
    • checkColourArray

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

      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

      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

      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

      public PamDialogPanel getDialogPanel()
      Overrides:
      getDialogPanel in class SymbolModifier
    • getDLAnnotType

      public DLAnnotationType getDLAnnotType()