Class RasterGeneratorDelegateToDisplayStack<T>
Object
RasterGenerator<T>
RasterGeneratorSelectFormat<T>
RasterGeneratorDelegateToDisplayStack<T>
- Type Parameters:
T- element-type
- All Implemented Interfaces:
Generator<T>,TransformingGenerator<T,,Stack> ElementWriter<T>
Delegates a
RasterGeneratorSelectFormat to a SingleFileTypeGenerator<T,
DisplayStack>.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionRasterGeneratorDelegateToDisplayStack(SingleFileTypeGenerator<T, DisplayStack> delegate, boolean rgb) Creates a newRasterGeneratorDelegateToDisplayStackinstance. -
Method Summary
Modifier and TypeMethodDescriptionGuarantees on the attributes of all images created by the generator.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
-
RasterGeneratorDelegateToDisplayStack
public RasterGeneratorDelegateToDisplayStack(SingleFileTypeGenerator<T, DisplayStack> delegate, boolean rgb) Creates a newRasterGeneratorDelegateToDisplayStackinstance.- Parameters:
delegate-rgb- Whether the raster image that is produced is RGB or not.RGB-A images should never be produced.
-
-
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<T>- Returns:
- options that are guaranteed to be true of all images by the generator.
-