Class ChannelGenerator
Object
org.anchoranalysis.image.io.stack.output.generator.RasterGenerator<T>
org.anchoranalysis.image.io.stack.output.generator.RasterGeneratorSelectFormat<Channel>
org.anchoranalysis.image.io.channel.output.ChannelGenerator
- All Implemented Interfaces:
Generator<Channel>,TransformingGenerator<Channel,Stack>,ElementWriter<Channel>
public class ChannelGenerator extends RasterGeneratorSelectFormat<Channel>
Writes a single channel to a file.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ChannelGenerator() -
Method Summary
Modifier and Type Method Description StackWriteAttributesguaranteedImageAttributes()Guarantees on the attributes of all images created by the generator.Stacktransform(Channel element)Methods inherited from class org.anchoranalysis.image.io.stack.output.generator.RasterGeneratorSelectFormat
selectFileExtension, writeToFileMethods inherited from class org.anchoranalysis.image.io.stack.output.generator.RasterGenerator
write, writeWithIndex
-
Constructor Details
-
ChannelGenerator
public ChannelGenerator()
-
-
Method Details
-
transform
- Throws:
OutputWriteFailedException
-
guaranteedImageAttributes
Description copied from class:RasterGeneratorGuarantees on the attributes of all images created by the generator.- Specified by:
guaranteedImageAttributesin classRasterGenerator<Channel>- Returns:
- options that are guaranteed to be true of all images by the generator.
-