T
- the init-param-type of filter that is the delegatepublic class ImageLabellerStringMap<T> extends ImageLabeller<ImageLabellerStringMapInitialization<T>>
Constructor and Description |
---|
ImageLabellerStringMap() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
allLabels(ImageLabellerStringMapInitialization<T> initialization)
A set of identifiers for all groups that can be outputted by the labeller.
|
ImageLabeller<T> |
getFilter() |
StringMap |
getMap() |
ImageLabellerStringMapInitialization<T> |
initialize(Path pathForBinding)
Should be called once before calling any other methods
|
String |
labelFor(ImageLabellerStringMapInitialization<T> sharedState,
ProvidesStackInput input,
InputOutputContext context)
Determines a particular group-identifier for an input
|
void |
setFilter(ImageLabeller<T> filter) |
void |
setMap(StringMap map) |
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ImageLabellerStringMapInitialization<T> initialize(Path pathForBinding) throws InitializeException
ImageLabeller
initialize
in class ImageLabeller<ImageLabellerStringMapInitialization<T>>
pathForBinding
- a path that can be used by the labeller to make filePath decisionsInitializeException
public Set<String> allLabels(ImageLabellerStringMapInitialization<T> initialization)
ImageLabeller
allLabels
in class ImageLabeller<ImageLabellerStringMapInitialization<T>>
public String labelFor(ImageLabellerStringMapInitialization<T> sharedState, ProvidesStackInput input, InputOutputContext context) throws OperationFailedException
ImageLabeller
labelFor
in class ImageLabeller<ImageLabellerStringMapInitialization<T>>
OperationFailedException
public ImageLabeller<T> getFilter()
public void setFilter(ImageLabeller<T> filter)
public StringMap getMap()
public void setMap(StringMap map)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.