Uses of Interface
org.anchoranalysis.io.output.outputter.InputOutputContext
Packages that use InputOutputContext
Package
Description
Defines a task,
which is a set of operations run on an input, that may or may not generate an output.
Interfaces for replacing attributes of an experiment: input, output, task etc.
Non-bean classes related to a
Task
.Writes feature-calculation results in different formats, also grouped results.
Reading and writing of image-related data objects to and from the filesystem.
Beans to specify the outputting of features into CSV from a
ObjectCollection
.Classes for outputting to particular directories.
Beans to combine two or more annotations.
Task to compare a set of annotations to a segmentation or another set of annotations.
Pairs annotations from two different sets, creating an assignment of some type.
A parent package for many different kinds of tasks.
Combining multiple images together into a single image.
Tasks pertaining to
Feature
s.Tasks for converting image-formats.
Tasks that involved stacks (usually each channel from an image) that are somehow
grouped-together.
Task(s) to export histograms of intensity values.
Associating labels with images.
Tasks to scale an image.
Tasks to segment an image.
Tasks that process on one or more slices from a z-stack.
Non-bean classes pertaining to
Feature
s as used in tasks.Non-beans for calculating
Feature
s.Non-bean classes about grouping channels or other inputs.
Non-bean classes about labelling images.
Non-bean classes for image-segmentation.
Implementations of
Task
related to file-system
I/O.Converting from
NamedChannelsInput
to the
input-type expected by a Task
.Testing utilities and fixtures with no greater downstream dependency than anchor-image-io
or anchor-io-bioformats or anchor-imagej.
-
Uses of InputOutputContext in org.anchoranalysis.experiment.bean.task
Methods in org.anchoranalysis.experiment.bean.task with parameters of type InputOutputContextModifier and TypeMethodDescriptionabstract void
Task.afterAllJobsAreExecuted
(S sharedState, InputOutputContext context) Called once after all calls toTask.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
.final void
TaskWithoutSharedState.afterAllJobsAreExecuted
(NoSharedState sharedState, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.experiment.io
Methods in org.anchoranalysis.experiment.io that return InputOutputContextModifier and TypeMethodDescriptionInitializationContext.getInputOutput()
The input-output context.Constructors in org.anchoranalysis.experiment.io with parameters of type InputOutputContextModifierConstructorDescriptionInitializationContext
(InputOutputContext inputOutputContext) Create with anInputOutputContext
.InitializationContext
(InputOutputContext inputOutput, Optional<ImageSizeSuggestion> suggestedSize) Creates a newInitializationContext
instance. -
Uses of InputOutputContext in org.anchoranalysis.experiment.task
Classes in org.anchoranalysis.experiment.task that implement InputOutputContextModifier and TypeClassDescriptionclass
This exists as an implementation ofInputOutputContext
that exposes aStatefulMessageLogger
. -
Uses of InputOutputContext in org.anchoranalysis.feature.io.results
Methods in org.anchoranalysis.feature.io.results with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
LabelledResultsCollector.flushAndClose
(Optional<NamedFeatureStore<FeatureInputResults>> featuresAggregate, boolean includeGroups, Function<InputOutputContext, FeatureCSVWriterFactory> csvWriterCreator, FeatureOutputMetadata outputMetadata, InputOutputContext context) Writes any queued (but not yet written elements to the file-system), and closes open file-handles.Method parameters in org.anchoranalysis.feature.io.results with type arguments of type InputOutputContextModifier and TypeMethodDescriptionvoid
LabelledResultsCollector.flushAndClose
(Optional<NamedFeatureStore<FeatureInputResults>> featuresAggregate, boolean includeGroups, Function<InputOutputContext, FeatureCSVWriterFactory> csvWriterCreator, FeatureOutputMetadata outputMetadata, InputOutputContext context) Writes any queued (but not yet written elements to the file-system), and closes open file-handles. -
Uses of InputOutputContext in org.anchoranalysis.image.io
Methods in org.anchoranalysis.image.io with parameters of type InputOutputContextModifier and TypeMethodDescriptionstatic ImageInitialization
ImageInitializationFactory.create
(InputOutputContext context) Create from anInputOutputContext
- without any suggested size.static ImageInitialization
ImageInitializationFactory.create
(InputOutputContext context, Optional<ImageSizeSuggestion> suggestedSize) Create from anInputOutputContext
- with a suggested size. -
Uses of InputOutputContext in org.anchoranalysis.image.io.bean.object.feature
Methods in org.anchoranalysis.image.io.bean.object.feature with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
OutputFeatureTable.output
(InputOutputContext context) Outputs the feature-table. -
Uses of InputOutputContext in org.anchoranalysis.io.output.outputter
Methods in org.anchoranalysis.io.output.outputter that return InputOutputContextModifier and TypeMethodDescriptionGets (from the cache if it's already there) a context for a subdirectory of given-namedefault InputOutputContext
InputOutputContext.maybeSubdirectory
(Optional<String> subdirectoryName, boolean inheritOutputRulesAndRecording) Optionally creates a new context like withsubdirectory(java.lang.String, boolean)
but only if a directory-name is defineddefault InputOutputContext
InputOutputContext.subdirectory
(String subdirectoryName, boolean inheritOutputRulesAndRecording) Creates a new context that writes instead to a subdirectory.Constructors in org.anchoranalysis.io.output.outputter with parameters of type InputOutputContextModifierConstructorDescriptionInputOutputContextSubdirectoryCache
(InputOutputContext parentContext, boolean inheritOutputRulesAndRecording) Creates a newInputOutputContextSubdirectoryCache
instance. -
Uses of InputOutputContext in org.anchoranalysis.plugin.annotation.bean.aggregate
Methods in org.anchoranalysis.plugin.annotation.bean.aggregate with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
AggregateAnnotations.afterAllJobsAreExecuted
(AggregateSharedState sharedState, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.annotation.bean.comparison
Methods in org.anchoranalysis.plugin.annotation.bean.comparison with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
CompareAnnotations.afterAllJobsAreExecuted
(ComparisonSharedState<T> sharedState, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.annotation.bean.comparison.assigner
Methods in org.anchoranalysis.plugin.annotation.bean.comparison.assigner with parameters of type InputOutputContextModifier and TypeMethodDescriptionabstract T
AnnotationComparisonAssigner.createAssignment
(ObjectsToCompare objectsToCompare, Dimensions dimensions, boolean useMIP, InputOutputContext context) Creates an assignment based on the objects to compare.FeatureCostAssigner.createAssignment
(ObjectsToCompare objectsToCompare, Dimensions dimensions, boolean useMIP, InputOutputContext context) MaskIntersectionAssigner.createAssignment
(ObjectsToCompare objectsToCompare, Dimensions dimensions, boolean useMIP, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean
Methods in org.anchoranalysis.plugin.image.task.bean with parameters of type InputOutputContextModifier and TypeMethodDescriptionprotected abstract U
RasterTask.createSharedStateJob
(InputOutputContext context) Creates a shared-state for the duration of a particular input-job.abstract void
RasterTask.doStack
(InputBound<NamedChannelsInput, S> input, U sharedStateJob, int seriesIndex, int numberSeries, InputOutputContext context) Processes one stack from a series.abstract void
RasterTask.endSeries
(S sharedStateTask, U sharedStateJob, InputOutputContext context) Ends processing of a series.abstract void
RasterTask.startSeries
(S sharedStateTask, U sharedStateJob, InputOutputContext context) Starts processing of a series. -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.combine
Methods in org.anchoranalysis.plugin.image.task.bean.combine with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
Montage.afterAllJobsAreExecuted
(MontageSharedState sharedState, InputOutputContext context) protected void
AggregateChannelTask.processIndividual
(String name, Channel individual, boolean partOfGroup, CheckedBiConsumer<String, Channel, OperationFailedException> consumeIndividual, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.feature
Methods in org.anchoranalysis.plugin.image.task.bean.feature with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
ExportFeatures.afterAllJobsAreExecuted
(FeatureExporter<S> sharedState, InputOutputContext context) ExportFeaturesStyle.deriveContext
(InputOutputContext context) Derives aFeatureExporterContext
from the current style and given context. -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.format
Methods in org.anchoranalysis.plugin.image.task.bean.format with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
ConvertImageFormat.afterAllJobsAreExecuted
(NoSharedState sharedState, InputOutputContext context) protected OutputSequenceIndexed
<Stack, String> ConvertImageFormat.createSharedStateJob
(InputOutputContext context) Sets a new output-sequence for the series.void
ConvertImageFormat.doStack
(InputBound<NamedChannelsInput, NoSharedState> input, OutputSequenceIndexed<Stack, String> sharedStateJob, int seriesIndex, int numberSeries, InputOutputContext context) void
ConvertImageFormat.endSeries
(NoSharedState sharedStateTask, OutputSequenceIndexed<Stack, String> sharedStateJob, InputOutputContext context) void
ConvertImageFormat.startSeries
(NoSharedState sharedStateTask, OutputSequenceIndexed<Stack, String> sharedStateJob, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.grouped
Methods in org.anchoranalysis.plugin.image.task.bean.grouped with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
GroupedStackBase.afterAllJobsAreExecuted
(GroupedSharedState<S, T> sharedState, InputOutputContext context) protected abstract void
GroupedStackBase.processIndividual
(String name, S individual, boolean partOfGroup, CheckedBiConsumer<String, S, OperationFailedException> consumeIndividual, InputOutputContext context) Processes each derived individual element from aChannel
, callingconsumeIndividual
one or more times. -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.grouped.histogram
Methods in org.anchoranalysis.plugin.image.task.bean.grouped.histogram with parameters of type InputOutputContextModifier and TypeMethodDescriptionprotected void
ExportImageHistograms.processIndividual
(String name, Histogram individual, boolean partOfGroup, CheckedBiConsumer<String, Histogram, OperationFailedException> consumeIndividual, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.labeller
Methods in org.anchoranalysis.plugin.image.task.bean.labeller with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
ImageAssignLabel.afterAllJobsAreExecuted
(SharedStateFilteredImageOutput<T> sharedState, InputOutputContext context) BinaryClassifierImageLabeller.labelFor
(NoSharedState sharedState, ProvidesStackInput input, InputOutputContext context) Determines the label for a given input image.DescriptiveNameContainsImageLabeller.labelFor
(NoSharedState sharedState, ProvidesStackInput input, InputOutputContext context) ImageCSVLabeller.labelFor
(ImageCSVLabellerInitialization sharedState, ProvidesStackInput input, InputOutputContext context) abstract String
ImageLabeller.labelFor
(T sharedState, ProvidesStackInput input, InputOutputContext context) Determines a particular group-identifier (label) for an input.ImageLabellerStringMap.labelFor
(ImageLabellerStringMapInitialization<T> sharedState, ProvidesStackInput input, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.scale
Methods in org.anchoranalysis.plugin.image.task.bean.scale with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
ScaleImage.afterAllJobsAreExecuted
(S sharedState, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.segment
Methods in org.anchoranalysis.plugin.image.task.bean.segment with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
SegmentInstanceWithModel.afterAllJobsAreExecuted
(SharedStateSegmentInstance<T> sharedState, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.bean.slice
Methods in org.anchoranalysis.plugin.image.task.bean.slice with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
ExtractSlice.afterAllJobsAreExecuted
(SharedStateSelectedSlice sharedState, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.feature
Methods in org.anchoranalysis.plugin.image.task.feature that return InputOutputContextModifier and TypeMethodDescriptionFeatureCalculationContext.getContext()
The input-output context for the operation.FeatureExporterContext.getContext()
Context for reading from or writing outputs to the file-system.Methods in org.anchoranalysis.plugin.image.task.feature with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
FeatureExporter.closeAndWriteOutputs
(Optional<NamedFeatureStore<FeatureInputResults>> featuresAggregate, boolean includeGroups, Function<InputOutputContext, FeatureCSVWriterFactory> csvWriterCreator, InputOutputContext context) Writes all the results that have been collected as a CSV file, and closes open I/O handles and memory structures.FeatureExporter.createCalculationContext
(Optional<String> groupName, ExecutionTimeRecorder executionTimeRecorder, InputOutputContext ioContext) Creates aFeatureCalculationContext
for calculating features to later use this exporter.void
FeatureResultsAndThumbnails.writeGroupedResults
(Optional<NamedFeatureStore<FeatureInputResults>> featuresAggregate, boolean includeGroups, Function<InputOutputContext, FeatureCSVWriterFactory> csvWriterCreator, InputOutputContext context) Writes all the results that have been collected as a CSV file.Method parameters in org.anchoranalysis.plugin.image.task.feature with type arguments of type InputOutputContextModifier and TypeMethodDescriptionvoid
FeatureExporter.closeAndWriteOutputs
(Optional<NamedFeatureStore<FeatureInputResults>> featuresAggregate, boolean includeGroups, Function<InputOutputContext, FeatureCSVWriterFactory> csvWriterCreator, InputOutputContext context) Writes all the results that have been collected as a CSV file, and closes open I/O handles and memory structures.void
FeatureResultsAndThumbnails.writeGroupedResults
(Optional<NamedFeatureStore<FeatureInputResults>> featuresAggregate, boolean includeGroups, Function<InputOutputContext, FeatureCSVWriterFactory> csvWriterCreator, InputOutputContext context) Writes all the results that have been collected as a CSV file.Constructors in org.anchoranalysis.plugin.image.task.feature with parameters of type InputOutputContextModifierConstructorDescriptionFeatureCalculationContext
(FeatureResultsAndThumbnails results, S rowSource, FeatureNameList featureNames, Optional<String> groupGeneratorName, ExecutionTimeRecorder executionTimeRecorder, boolean suppressErrors, InputOutputContext context) Creates a newFeatureCalculationContext
.FeatureExporterContext
(InputOutputContext context, boolean removeNaNColumns, boolean visuallyShortenDecimals, boolean suppressErrors) Creates a newFeatureExporterContext
instance. -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.feature.calculator
Methods in org.anchoranalysis.plugin.image.task.feature.calculator with parameters of type InputOutputContextModifier and TypeMethodDescriptionstatic EnergyStack
FeatureCalculatorRepeated.extractStack
(ProvidesStackInput input, StackProvider stackEnergy, InputOutputContext context) Extracts anEnergyStack
from the given input and stack provider.Constructors in org.anchoranalysis.plugin.image.task.feature.calculator with parameters of type InputOutputContextModifierConstructorDescriptionFeatureCalculatorFromProvider
(ProvidesStackInput stackInput, Optional<StackProvider> stackEnergy, InputOutputContext context) Creates a newFeatureCalculatorFromProvider
. -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.grouped
Method parameters in org.anchoranalysis.plugin.image.task.grouped with type arguments of type InputOutputContextModifier and TypeMethodDescriptionprotected abstract void
GroupMapByName.outputGroupIntoSubdirectory
(Collection<Map.Entry<String, T>> namedAggregators, Function<Boolean, InputOutputContext> createContext, Optional<String> outputNameSingle) Output a particular group into a subdirectory. -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.labeller
Methods in org.anchoranalysis.plugin.image.task.labeller with parameters of type InputOutputContextModifier and TypeMethodDescriptionSharedStateFilteredImageOutput.labelFor
(ProvidesStackInput input, InputOutputContext context) Determines a particular group-identifier for an input. -
Uses of InputOutputContext in org.anchoranalysis.plugin.image.task.segment
Methods in org.anchoranalysis.plugin.image.task.segment with parameters of type InputOutputContextModifier and TypeMethodDescriptionSharedStateSegmentInstance.createCalculationContext
(ExecutionTimeRecorder executionTimeRecorder, InputOutputContext ioContext) Creates aFeatureCalculationContext
for calculating features to later use this exporter. -
Uses of InputOutputContext in org.anchoranalysis.plugin.io.bean.task
Methods in org.anchoranalysis.plugin.io.bean.task with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
CombineCSV.afterAllJobsAreExecuted
(CSVWriter writer, InputOutputContext context) void
CopyFiles.afterAllJobsAreExecuted
(RecordingCounter<T> sharedState, InputOutputContext context) void
SummarizeBase.afterAllJobsAreExecuted
(Summarizer<S> sharedState, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.plugin.mpp.bean.convert
Methods in org.anchoranalysis.plugin.mpp.bean.convert with parameters of type InputOutputContextModifier and TypeMethodDescriptionvoid
ConvertNamedChannels.afterAllJobsAreExecuted
(SharedStateRememberConverted<U, S> sharedState, InputOutputContext context) -
Uses of InputOutputContext in org.anchoranalysis.test.image
Methods in org.anchoranalysis.test.image that return InputOutputContextModifier and TypeMethodDescriptionstatic InputOutputContext
InputOutputContextFixture.withLogger
(Logger logger) Creates an InputOutputContext with a specified logger.static InputOutputContext
InputOutputContextFixture.withSuppressedLogger()
Creates an InputOutputContext with a suppressed logger.static InputOutputContext
InputOutputContextFixture.withSuppressedLogger
(Path modelDir) Creates an InputOutputContext with a suppressed logger and a specified model directory.