Class MarkProposerStrategy

Object
AnchorBean<AnnotatorStrategy>
AnnotatorStrategy
SinglePathStrategy
MarkProposerStrategy

public class MarkProposerStrategy extends SinglePathStrategy
Annotates each image with a mark using a mark proposer and points fitter.
  • Constructor Details

    • MarkProposerStrategy

      public MarkProposerStrategy()
  • Method Details

    • dictionaryDeriver

      public Optional<DerivePath> dictionaryDeriver()
      Gets the dictionary deriver path if set.
      Returns:
      an Optional containing the DerivePath for the dictionary, or empty if not set.
    • marksDeriver

      public Optional<DerivePath> marksDeriver()
      Gets the marks deriver path if set.
      Returns:
      an Optional containing the DerivePath for the marks, or empty if not set.
    • weightWidthDescription

      public int weightWidthDescription()
      Specified by:
      weightWidthDescription in class AnnotatorStrategy
    • annotationLabelFor

      public Optional<String> annotationLabelFor(ProvidesStackInput item, OperationContext operationContext)
      Specified by:
      annotationLabelFor in class AnnotatorStrategy
    • getMarkProposer

      public String getMarkProposer()
      Name of the MarkProposer to use.
    • setMarkProposer

      public void setMarkProposer(String markProposer)
      Name of the MarkProposer to use.
    • getPointsFitter

      public String getPointsFitter()
      Name of the PointsFitter to use.
    • setPointsFitter

      public void setPointsFitter(String pointsFitter)
      Name of the PointsFitter to use.
    • getPathDefaultMarks

      public DerivePath getPathDefaultMarks()
      Path to derive default marks from.
    • setPathDefaultMarks

      public void setPathDefaultMarks(DerivePath pathDefaultMarks)
      Path to derive default marks from.
    • getPathDictionary

      public DerivePath getPathDictionary()
      Path to derive dictionary from.
    • setPathDictionary

      public void setPathDictionary(DerivePath pathDictionary)
      Path to derive dictionary from.
    • getAdditionalBackgrounds

      public List<DerivePath> getAdditionalBackgrounds()
      Additional background-stacks that are possible to use while annotating.

      These must have the same dimensions as the energy-stack.

    • setAdditionalBackgrounds

      public void setAdditionalBackgrounds(List<DerivePath> additionalBackgrounds)
      Additional background-stacks that are possible to use while annotating.

      These must have the same dimensions as the energy-stack.

    • getMultipleComparer

      public MultipleComparer getMultipleComparer()
      Multiple comparer for comparing annotations.
    • setMultipleComparer

      public void setMultipleComparer(MultipleComparer multipleComparer)
      Multiple comparer for comparing annotations.
    • getMarkEvaluator

      public NamedBean<MarkEvaluator> getMarkEvaluator()
      A mark-evaluator that is added to the GUI to support this annotation
    • setMarkEvaluator

      public void setMarkEvaluator(NamedBean<MarkEvaluator> markEvaluator)
      A mark-evaluator that is added to the GUI to support this annotation