public class DefineOutputter extends AnchorBean<DefineOutputter>
Define
on inputs, output produced entities (images, histograms,
objects etc.)
The following outputs are produced:
Output Name | Default? | Description |
---|---|---|
yes | Image-stacks that are produced. | |
yes | Collections of ObjectMask s that are produced as HDF5 | |
yes | Histograms that are produced as CSV. | |
yes | Collections of Mark s that are produced as serialized XML. |
Modifier and Type | Class and Description |
---|---|
static interface |
DefineOutputter.Processor<T> |
Constructor and Description |
---|
DefineOutputter() |
Modifier and Type | Method and Description |
---|---|
void |
addAllOutputNamesTo(OutputEnabledMutable outputEnabled)
Adds all possible output-names to a
OutputEnabledMutable . |
protected ImageInitialization |
createInitialization(InitializationContext context,
ExportSharedObjects input) |
protected ImageInitialization |
createInitialization(InitializationContext context,
Optional<SharedObjects> sharedObjects,
Optional<Dictionary> dictionary) |
Define |
getDefine() |
boolean |
isSuppressSubfolders() |
protected void |
outputSharedObjects(SharedObjects sharedObjects,
Optional<EnergyStack> energyStack,
Outputter outputter) |
<S> void |
process(InputBound<MultiInput,S> input,
DefineOutputter.Processor<ImageInitialization> operation) |
void |
setDefine(Define define) |
void |
setSuppressSubfolders(boolean suppressSubfolders) |
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void addAllOutputNamesTo(OutputEnabledMutable outputEnabled)
OutputEnabledMutable
.outputEnabled
- where to add all possible output-namespublic <S> void process(InputBound<MultiInput,S> input, DefineOutputter.Processor<ImageInitialization> operation) throws OperationFailedException
OperationFailedException
protected ImageInitialization createInitialization(InitializationContext context, ExportSharedObjects input) throws CreateException
CreateException
protected ImageInitialization createInitialization(InitializationContext context, Optional<SharedObjects> sharedObjects, Optional<Dictionary> dictionary) throws CreateException
CreateException
protected void outputSharedObjects(SharedObjects sharedObjects, Optional<EnergyStack> energyStack, Outputter outputter) throws OutputWriteFailedException
OutputWriteFailedException
public Define getDefine()
public void setDefine(Define define)
public boolean isSuppressSubfolders()
public void setSuppressSubfolders(boolean suppressSubfolders)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.