Class AnnotationsAndPredictions

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, SizeOfHandler, Serializable

    public class AnnotationsAndPredictions
    extends AbstractDrawOperation
    Overlays the image with annotations and predictions from storage with their respective draw operations.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -storage-annotations <adams.flow.control.StorageName> (property: storageAnnotations)
        The storage item containing the annotations report.
        default: annotations
     
    -draw-annotations <adams.flow.transformer.draw.AbstractDrawOperation> (property: drawAnnotations)
        The draw operation to apply to the annotations.
        default: adams.flow.transformer.draw.ObjectLocationsFromReport -color #0000ff -type-color-provider adams.gui.visualization.core.DefaultColorProvider -label-format \"\"
     
    -storage-predictions <adams.flow.control.StorageName> (property: storagePredictions)
        The storage item containing the predictions report.
        default: predictions
     
    -draw-predictions <adams.flow.transformer.draw.AbstractDrawOperation> (property: drawPredictions)
        The draw operation to apply to the predictions.
        default: adams.flow.transformer.draw.ObjectLocationsFromReport -type-color-provider adams.gui.visualization.core.DefaultColorProvider -label-format {score}
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_StorageAnnotations

        protected StorageName m_StorageAnnotations
        the storage item with the annotations report.
      • m_DrawAnnotations

        protected AbstractDrawOperation m_DrawAnnotations
        the draw operation to use for the annotations.
      • m_StoragePredictions

        protected StorageName m_StoragePredictions
        the storage item with the predictions report.
      • m_DrawPredictions

        protected AbstractDrawOperation m_DrawPredictions
        the draw operation to use for the predictions.
    • Constructor Detail

      • AnnotationsAndPredictions

        public AnnotationsAndPredictions()
    • Method Detail

      • setStorageAnnotations

        public void setStorageAnnotations​(StorageName value)
        Sets the storage item with the annotations report.
        Parameters:
        value - the storage item
      • getStorageAnnotations

        public StorageName getStorageAnnotations()
        Returns the storage item with the annotations report.
        Returns:
        the storage item
      • storageAnnotationsTipText

        public String storageAnnotationsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDefaultDrawAnnotations

        protected AbstractDrawOperation getDefaultDrawAnnotations()
        Returns the default draw operation setup for the annotations.
        Returns:
        the default
      • setDrawAnnotations

        public void setDrawAnnotations​(AbstractDrawOperation value)
        Sets the draw operation for the annotations.
        Parameters:
        value - the operation
      • getDrawAnnotations

        public AbstractDrawOperation getDrawAnnotations()
        Returns the draw operation for the annotations.
        Returns:
        the operation
      • drawAnnotationsTipText

        public String drawAnnotationsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setStoragePredictions

        public void setStoragePredictions​(StorageName value)
        Sets the storage item with the predictions report.
        Parameters:
        value - the storage item
      • getStoragePredictions

        public StorageName getStoragePredictions()
        Returns the storage item with the predictions report.
        Returns:
        the storage item
      • storagePredictionsTipText

        public String storagePredictionsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDefaultDrawPredictions

        protected AbstractDrawOperation getDefaultDrawPredictions()
        Returns the default draw operation setup for the predictions.
        Returns:
        the default
      • setDrawPredictions

        public void setDrawPredictions​(AbstractDrawOperation value)
        Sets the draw operation for the predictions.
        Parameters:
        value - the operation
      • getDrawPredictions

        public AbstractDrawOperation getDrawPredictions()
        Returns the draw operation for the predictions.
        Returns:
        the operation
      • drawPredictionsTipText

        public String drawPredictionsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.