Class MarkProposerStrategy
Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.annotation.io.bean.AnnotatorStrategy>
org.anchoranalysis.annotation.io.bean.AnnotatorStrategy
org.anchoranalysis.plugin.annotation.bean.strategy.SinglePathStrategy
org.anchoranalysis.plugin.annotation.bean.strategy.MarkProposerStrategy
public class MarkProposerStrategy extends SinglePathStrategy
Annotates each image with a mark using a mark proposer and points fitter.
-
Constructor Summary
Constructors Constructor Description MarkProposerStrategy() -
Method Summary
Modifier and Type Method Description Optional<String>annotationLabelFor(org.anchoranalysis.image.io.stack.input.ProvidesStackInput item, org.anchoranalysis.core.time.OperationContext operationContext)Optional<org.anchoranalysis.io.input.bean.path.DerivePath>dictionaryDeriver()Gets the dictionary deriver path if set.List<org.anchoranalysis.io.input.bean.path.DerivePath>getAdditionalBackgrounds()Additional background-stacks that are possible to use while annotating.org.anchoranalysis.bean.NamedBean<org.anchoranalysis.mpp.feature.bean.mark.MarkEvaluator>getMarkEvaluator()A mark-evaluator that is added to the GUI to support this annotationStringgetMarkProposer()Name of theMarkProposerto use.org.anchoranalysis.annotation.io.bean.comparer.MultipleComparergetMultipleComparer()Multiple comparer for comparing annotations.org.anchoranalysis.io.input.bean.path.DerivePathgetPathDefaultMarks()Path to derive default marks from.org.anchoranalysis.io.input.bean.path.DerivePathgetPathDictionary()Path to derive dictionary from.StringgetPointsFitter()Name of thePointsFitterto use.Optional<org.anchoranalysis.io.input.bean.path.DerivePath>marksDeriver()Gets the marks deriver path if set.voidsetAdditionalBackgrounds(List<org.anchoranalysis.io.input.bean.path.DerivePath> additionalBackgrounds)Additional background-stacks that are possible to use while annotating.voidsetMarkEvaluator(org.anchoranalysis.bean.NamedBean<org.anchoranalysis.mpp.feature.bean.mark.MarkEvaluator> markEvaluator)A mark-evaluator that is added to the GUI to support this annotationvoidsetMarkProposer(String markProposer)Name of theMarkProposerto use.voidsetMultipleComparer(org.anchoranalysis.annotation.io.bean.comparer.MultipleComparer multipleComparer)Multiple comparer for comparing annotations.voidsetPathDefaultMarks(org.anchoranalysis.io.input.bean.path.DerivePath pathDefaultMarks)Path to derive default marks from.voidsetPathDictionary(org.anchoranalysis.io.input.bean.path.DerivePath pathDictionary)Path to derive dictionary from.voidsetPointsFitter(String pointsFitter)Name of thePointsFitterto use.intweightWidthDescription()Methods inherited from class org.anchoranalysis.plugin.annotation.bean.strategy.SinglePathStrategy
getPathAnnotation, pathFor, setPathAnnotationMethods inherited from class org.anchoranalysis.annotation.io.bean.AnnotatorStrategy
getBackground, getStackReader, setBackground, setStackReader
-
Constructor Details
-
MarkProposerStrategy
public MarkProposerStrategy()
-
-
Method Details
-
dictionaryDeriver
Gets the dictionary deriver path if set.- Returns:
- an
Optionalcontaining theDerivePathfor the dictionary, or empty if not set.
-
marksDeriver
Gets the marks deriver path if set.- Returns:
- an
Optionalcontaining theDerivePathfor the marks, or empty if not set.
-
weightWidthDescription
public int weightWidthDescription()- Specified by:
weightWidthDescriptionin classorg.anchoranalysis.annotation.io.bean.AnnotatorStrategy
-
annotationLabelFor
public Optional<String> annotationLabelFor(org.anchoranalysis.image.io.stack.input.ProvidesStackInput item, org.anchoranalysis.core.time.OperationContext operationContext)- Specified by:
annotationLabelForin classorg.anchoranalysis.annotation.io.bean.AnnotatorStrategy
-
getMarkProposer
Name of theMarkProposerto use. -
setMarkProposer
Name of theMarkProposerto use. -
getPointsFitter
Name of thePointsFitterto use. -
setPointsFitter
Name of thePointsFitterto use. -
getPathDefaultMarks
public org.anchoranalysis.io.input.bean.path.DerivePath getPathDefaultMarks()Path to derive default marks from. -
setPathDefaultMarks
public void setPathDefaultMarks(org.anchoranalysis.io.input.bean.path.DerivePath pathDefaultMarks)Path to derive default marks from. -
getPathDictionary
public org.anchoranalysis.io.input.bean.path.DerivePath getPathDictionary()Path to derive dictionary from. -
setPathDictionary
public void setPathDictionary(org.anchoranalysis.io.input.bean.path.DerivePath pathDictionary)Path to derive dictionary from. -
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<org.anchoranalysis.io.input.bean.path.DerivePath> additionalBackgrounds)Additional background-stacks that are possible to use while annotating.These must have the same dimensions as the energy-stack.
-
getMultipleComparer
public org.anchoranalysis.annotation.io.bean.comparer.MultipleComparer getMultipleComparer()Multiple comparer for comparing annotations. -
setMultipleComparer
public void setMultipleComparer(org.anchoranalysis.annotation.io.bean.comparer.MultipleComparer multipleComparer)Multiple comparer for comparing annotations. -
getMarkEvaluator
public org.anchoranalysis.bean.NamedBean<org.anchoranalysis.mpp.feature.bean.mark.MarkEvaluator> getMarkEvaluator()A mark-evaluator that is added to the GUI to support this annotation -
setMarkEvaluator
public void setMarkEvaluator(org.anchoranalysis.bean.NamedBean<org.anchoranalysis.mpp.feature.bean.mark.MarkEvaluator> markEvaluator)A mark-evaluator that is added to the GUI to support this annotation
-