public class FromImageMetadata extends SingleRowPerInput<ImageMetadataInput,FeatureInputImageMetadata>
The image voxels should not be loaded in memory, to keep this as computationally efficient as possible.
Each image's metadata produces a single row of features.
The columns produced are:
ExtensionUtilities
.
All dates are expressed in the current time-zone.
Constructor and Description |
---|
FromImageMetadata() |
Modifier and Type | Method and Description |
---|---|
protected Optional<String[]> |
additionalLabelsFor(ImageMetadataInput input)
Additional labels for an input to include (after the identifier, and before any group
labels).
|
protected ResultsVectorWithThumbnail |
calculateResultsForInput(ImageMetadataInput input,
FeatureCalculationContext<FeatureList<FeatureInputImageMetadata>> context)
Calculates feature-results for a particular input.
|
boolean |
includeGroupInExperiment(boolean groupGeneratorDefined)
Iff true, group columns are added to the CSV exports, and other group exports may occur in
sub-directories.
|
InputTypesExpected |
inputTypesExpected()
Highest class(es) that will function as a valid input.
|
calculateAndOutput, createExporter, headers
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public boolean includeGroupInExperiment(boolean groupGeneratorDefined)
FeatureSource
includeGroupInExperiment
in class FeatureSource<ImageMetadataInput,FeatureList<FeatureInputImageMetadata>,FeatureInputImageMetadata>
groupGeneratorDefined
- has a group-generator been defined for this experiment?public InputTypesExpected inputTypesExpected()
FeatureSource
This is usually the class of T (or sometimes the absolute base class InputFromManager)
inputTypesExpected
in class FeatureSource<ImageMetadataInput,FeatureList<FeatureInputImageMetadata>,FeatureInputImageMetadata>
protected Optional<String[]> additionalLabelsFor(ImageMetadataInput input) throws OperationFailedException
SingleRowPerInput
These should always correspond (when appended to the identifier) exactly to the nonGroupHeaders
.
additionalLabelsFor
in class SingleRowPerInput<ImageMetadataInput,FeatureInputImageMetadata>
input
- the input.OperationFailedException
protected ResultsVectorWithThumbnail calculateResultsForInput(ImageMetadataInput input, FeatureCalculationContext<FeatureList<FeatureInputImageMetadata>> context) throws NamedFeatureCalculateException
SingleRowPerInput
calculateResultsForInput
in class SingleRowPerInput<ImageMetadataInput,FeatureInputImageMetadata>
input
- the input.context
- context for calculating features.NamedFeatureCalculateException
- if any feature cannot calculate.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.