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