Class MultiInput
Object
MultiInput
- All Implemented Interfaces:
ProvidesStackInput,InputFromManager,ExportSharedObjects
An input to an experiment that combines a particular
Stack with other types of entities.
These entities each have a unique name, and must be one of the following types:
Stack(in addition to the primary stack that forms the input).MarkCollection.ObjectCollection.Dictionary.Histogram.Path.
- Author:
- Owen Feehan
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultiInput(String mainObjectName, ProvidesStackInput mainInputObject) Creates a newMultiInputwith a specified name for the main input object.MultiInput(ProvidesStackInput mainInputObject) Creates a newMultiInputwith a default name for the main input object. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToStoreInferNames(NamedProviderStore<TimeSeries> stacks, int seriesIndex, Logger logger) voidaddToStoreWithName(String name, NamedProviderStore<TimeSeries> stacks, int seriesIndex, Logger logger) voidclose(ErrorReporter errorReporter) voidcopyTo(SharedObjects target, Logger logger) Adds any exported shared objects to the target container.Gets the map ofDictionarys.filePath()Gets the map ofPaths.Gets the name of the main input object.Gets the map ofHistograms.marks()Gets the map ofMarkCollections.intobjects()Gets the map ofObjectCollections.stack()Gets the map ofTimeSeries(stacks).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.io.input.InputFromManager
allAssociatedPaths, asFile, identifierAsPath, pathForBindingRequiredMethods inherited from interface org.anchoranalysis.image.io.stack.input.ProvidesStackInput
addToStoreInferNames, asSet, asStack
-
Field Details
-
DEFAULT_IMAGE_INPUT_NAME
The default name for the input image stack.- See Also:
-
-
Constructor Details
-
MultiInput
Creates a newMultiInputwith a default name for the main input object.- Parameters:
mainInputObject- the main input object that provides the stack
-
MultiInput
Creates a newMultiInputwith a specified name for the main input object.- Parameters:
mainObjectName- the name for the main input objectmainInputObject- the main input object that provides the stack
-
-
Method Details
-
addToStoreInferNames
public void addToStoreInferNames(NamedProviderStore<TimeSeries> stacks, int seriesIndex, Logger logger) throws OperationFailedException - Specified by:
addToStoreInferNamesin interfaceProvidesStackInput- Throws:
OperationFailedException
-
addToStoreWithName
public void addToStoreWithName(String name, NamedProviderStore<TimeSeries> stacks, int seriesIndex, Logger logger) throws OperationFailedException - Specified by:
addToStoreWithNamein interfaceProvidesStackInput- Throws:
OperationFailedException
-
identifier
- Specified by:
identifierin interfaceInputFromManager
-
pathForBinding
- Specified by:
pathForBindingin interfaceInputFromManager
-
close
- Specified by:
closein interfaceInputFromManager
-
marks
Gets the map ofMarkCollections.- Returns:
- the
MultiInputSubMapofMarkCollections
-
objects
Gets the map ofObjectCollections.- Returns:
- the
MultiInputSubMapofObjectCollections
-
dictionary
Gets the map ofDictionarys.- Returns:
- the
MultiInputSubMapofDictionarys
-
histogram
Gets the map ofHistograms.- Returns:
- the
MultiInputSubMapofHistograms
-
filePath
Gets the map ofPaths.- Returns:
- the
MultiInputSubMapofPaths
-
stack
Gets the map ofTimeSeries(stacks).- Returns:
- the
MultiInputSubMapofTimeSeries
-
getMainObjectName
Gets the name of the main input object.- Returns:
- the name of the main input object
-
numberFrames
- Specified by:
numberFramesin interfaceProvidesStackInput- Throws:
OperationFailedException
-