Class SinglePathStrategy
Object
AnchorBean<AnnotatorStrategy>
AnnotatorStrategy
SinglePathStrategy
- Direct Known Subclasses:
ImageLabelStrategy,MarkProposerStrategy
public abstract class SinglePathStrategy
extends AnnotatorStrategy
A base class for implementations of
AnnotatorStrategy where a single unique path exists
for every annotation.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDerivePathDerives the path to the corresponding annotation files, given a path to the image to be annotated.pathFor(ProvidesStackInput input) voidsetPathAnnotation(DerivePath pathAnnotation) Derives the path to the corresponding annotation files, given a path to the image to be annotated.Methods inherited from class org.anchoranalysis.annotation.io.bean.AnnotatorStrategy
annotationLabelFor, getBackground, getStackReader, setBackground, setStackReader, weightWidthDescriptionMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
SinglePathStrategy
public SinglePathStrategy()
-
-
Method Details
-
pathFor
- Specified by:
pathForin classAnnotatorStrategy- Throws:
OperationFailedException
-
getPathAnnotation
public DerivePath getPathAnnotation()Derives the path to the corresponding annotation files, given a path to the image to be annotated. -
setPathAnnotation
public void setPathAnnotation(DerivePath pathAnnotation) Derives the path to the corresponding annotation files, given a path to the image to be annotated.
-