Class DLGraphics
java.lang.Object
PamView.PanelOverlayDraw
PamView.PamDetectionOverlayGraphics
rawDeepLearningClassifier.layoutFX.DLGraphics
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 Summary
FieldsFields inherited from class PamView.PamDetectionOverlayGraphics
lineColour, locColour, pamSymbol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Rectangle
drawOnSpectrogram
(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) Draw on spectrogram changed March 2010 so that the default time unit is milliseconds (Java time from 1970) rather than samples.getPamSymbol
(PamDataUnit pamDataUnit, GeneralProjector projector) Override to forget all symbol chooser stuff.Methods inherited from class PamView.PamDetectionOverlayGraphics
canDraw, canDraw, canDrawOnMap, canDrawOnRadar, canDrawOnSpectrogram, createKeyItem, drawAmplitudeOnRadar, drawDataUnit, drawLineAndSymbol, drawLineAndSymbol, drawLineAndSymbol, drawLineOnly, drawOnMap, drawRangeOnRadar, drawSlantOnRadar, getDefaultRange, getHoverImage, getHoverText, getHoverTextWithoutWrap, getHydrophones, getLineColor, getLineColour, getLocColour, getMenuKeyItem, getParentDataBlock, getPerspectiveSymbol, getSymbolInfo, hasOptionsDialog, isDetectionData, setDefaultRange, setDetectionData, setLineColor, setLineColour, setLocColour, showOptions
Methods inherited from class PamView.PanelOverlayDraw
getDefaultSymbol, preDrawAnything, setDefaultSymbol
-
Field Details
-
Constructor Details
-
Method Details
-
getPamSymbol
Override to forget all symbol chooser stuff.- Overrides:
getPamSymbol
in classPamDetectionOverlayGraphics
- Parameters:
pamDataUnit
-- 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.
-
drawOnSpectrogram
protected Rectangle drawOnSpectrogram(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) Description copied from class:PamDetectionOverlayGraphics
Draw on spectrogram changed March 2010 so that the default time unit is milliseconds (Java time from 1970) rather than samples. This makes it posible to work with data collected over multiple files when operating in viewer mode.- Overrides:
drawOnSpectrogram
in classPamDetectionOverlayGraphics
- Parameters:
g
-pamDataUnit
-generalProjector
-- Returns:
- updated rectangle
-