Class DLGraphics


public class DLGraphics extends PamDetectionOverlayGraphics
The detection graphics for the DL localiser. Forces the graphics to be one colour and paints some translucent boxes on the spectrogram depending on the classification model result.
Author:
Jamie Macaulay
  • Field Details

    • dashed

      public Stroke dashed
    • normal

      public Stroke normal
    • alpha

      public int alpha
    • detColor

      public Color detColor
  • Constructor Details

    • DLGraphics

      public DLGraphics(PamDataBlock parentDataBlock)
  • Method Details

    • getPamSymbol

      public PamSymbol getPamSymbol(PamDataUnit pamDataUnit, GeneralProjector projector)
      Override to forget all symbol chooser stuff.
      Overrides:
      getPamSymbol in class PamDetectionOverlayGraphics
      Returns:
      PamSymbol to use in plotting. Generally this is just the set symbol for the overlay, but can be overridden if a detector has some complicated way of using different symbols for different dataUnits.