Class RasterGeneratorDelegateToDisplayStack<T>
Object
org.anchoranalysis.image.io.stack.output.generator.RasterGenerator<T>
org.anchoranalysis.image.io.stack.output.generator.RasterGeneratorSelectFormat<T>
org.anchoranalysis.image.io.stack.output.generator.RasterGeneratorDelegateToDisplayStack<T>
- Type Parameters:
T- element-type
- All Implemented Interfaces:
Generator<T>,TransformingGenerator<T,Stack>,ElementWriter<T>
public class RasterGeneratorDelegateToDisplayStack<T> extends RasterGeneratorSelectFormat<T>
Delegates a
RasterGeneratorSelectFormat to a SingleFileTypeGenerator<T,
DisplayStack>.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description RasterGeneratorDelegateToDisplayStack(SingleFileTypeGenerator<T,DisplayStack> delegate, boolean rgb) -
Method Summary
Modifier and Type Method Description StackWriteAttributesguaranteedImageAttributes()Guarantees on the attributes of all images created by the generator.Stacktransform(T 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
-
RasterGeneratorDelegateToDisplayStack
public RasterGeneratorDelegateToDisplayStack(SingleFileTypeGenerator<T,DisplayStack> delegate, boolean rgb)
-
-
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.
-