Package util

Class AnnotationData

java.lang.Object
util.AnnotationData

public class AnnotationData extends Object
Annotation Data handler responsible for collecting and saving the annotated data Singleton because we only want one instance of this, at a time.
  • Method Details Link icon

    • addAnnotation Link icon

      public void addAnnotation(String path, double middlePointX, double middlePointY, double boundingBoxWidth, double boundingBoxHeight)
    • getAnnotation Link icon

      public javafx.scene.shape.Rectangle getAnnotation(String path)
    • deleteAnnotation Link icon

      public boolean deleteAnnotation(String path)
      Function to delete the Annotation of one Image
      Parameters:
      path - Image path (Key for the Map)
      Returns:
    • getInstance Link icon

      public static AnnotationData getInstance()
    • getAnnotations Link icon

      public Map<String,AnnotationData.PublicAnnotation> getAnnotations()
    • getAnnotationEntry Link icon

      public AnnotationData.PublicAnnotation getAnnotationEntry(String path)