Class LabelledWithConfidence<T>

Object
org.anchoranalysis.image.inference.segment.LabelledWithConfidence<T>
Type Parameters:
T - element to be associated with a confidence score.
All Implemented Interfaces:
Comparable<LabelledWithConfidence<T>>

public class LabelledWithConfidence<T>
extends Object
implements Comparable<LabelledWithConfidence<T>>
Like WithConfidence but additionally adds a label.
Author:
Owen Feehan
  • Constructor Details

    • LabelledWithConfidence

      public LabelledWithConfidence​(T element, double confidence, String label)
      Create for given element, confidence and label.
      Parameters:
      element - the underlying element with whom a confidence and label is associated.
      confidence - the confidence associated with element.
      label - the label associated with the element.
    • LabelledWithConfidence

      public LabelledWithConfidence​(String label, WithConfidence<T> withConfidence)
  • Method Details