T
- element-typepublic class RasterGeneratorDelegateToDisplayStack<T> extends RasterGeneratorSelectFormat<T>
RasterGeneratorSelectFormat
to a SingleFileTypeGenerator<T,
DisplayStack>
.Constructor and Description |
---|
RasterGeneratorDelegateToDisplayStack(SingleFileTypeGenerator<T,DisplayStack> delegate,
boolean rgb) |
Modifier and Type | Method and Description |
---|---|
StackWriteAttributes |
guaranteedImageAttributes()
Guarantees on the attributes of all images created by the generator.
|
Stack |
transform(T element)
Applies any necessary preprocessing to create an element suitable for writing to the
filesystem.
|
selectFileExtension, writeToFile
write, writeWithIndex
public RasterGeneratorDelegateToDisplayStack(SingleFileTypeGenerator<T,DisplayStack> delegate, boolean rgb)
public Stack transform(T element) throws OutputWriteFailedException
TransformingGenerator
element
- element to be assigned and then transformedOutputWriteFailedException
- if anything goes wrongpublic StackWriteAttributes guaranteedImageAttributes()
RasterGenerator
guaranteedImageAttributes
in class RasterGenerator<T>
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.