Class AnnotationInputManager<T extends ProvidesStackInput,S extends AnnotatorStrategy>
- Type Parameters:
T- the input-type that provides image(s).S- indicates the process of how annotation occurs.
public class AnnotationInputManager<T extends ProvidesStackInput,S extends AnnotatorStrategy>
extends InputManager<AnnotationWithStrategy<S>>
An
InputManager that provides annotations corresponding to images.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe strategy to be used for annotating.getInput()The inputs to be annotated.inputs(InputManagerParameters parameters) Creates a list of inputs given particular parameters.voidsetAnnotatorStrategy(S annotatorStrategy) The strategy to be used for annotating.voidsetInput(InputManager<T> input) The inputs to be annotated.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
AnnotationInputManager
public AnnotationInputManager()
-
-
Method Details
-
inputs
public InputsWithDirectory<AnnotationWithStrategy<S>> inputs(InputManagerParameters parameters) throws InputReadFailedException Description copied from class:InputManagerCreates a list of inputs given particular parameters.- Specified by:
inputsin classInputManager<AnnotationWithStrategy<S extends AnnotatorStrategy>>- Parameters:
parameters- the parameters.- Returns:
- the list of inputs, together with any associated parent directory.
- Throws:
InputReadFailedException- if inputs cannot be successfully read from the file-system.
-
getInput
The inputs to be annotated. -
setInput
The inputs to be annotated. -
getAnnotatorStrategy
The strategy to be used for annotating. -
setAnnotatorStrategy
The strategy to be used for annotating.
-