Class ObjectsAsGrayscaleGenerator
Object
org.anchoranalysis.image.io.stack.output.generator.RasterGenerator<T>
org.anchoranalysis.image.io.stack.output.generator.RasterGeneratorSelectFormat<org.anchoranalysis.image.voxel.object.ObjectCollection>
org.anchoranalysis.image.io.object.output.grayscale.ObjectsAsGrayscaleGenerator
- All Implemented Interfaces:
Generator<org.anchoranalysis.image.voxel.object.ObjectCollection>,TransformingGenerator<org.anchoranalysis.image.voxel.object.ObjectCollection,Stack>,ElementWriter<org.anchoranalysis.image.voxel.object.ObjectCollection>
- Direct Known Subclasses:
ObjectsAsUniqueValueGenerator,ObjectsMergedAsMaskGenerator
public abstract class ObjectsAsGrayscaleGenerator extends RasterGeneratorSelectFormat<org.anchoranalysis.image.voxel.object.ObjectCollection>
Base class for generators that accept a set of objects as input.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Modifier Constructor Description protectedObjectsAsGrayscaleGenerator(Dimensions dimensions) -
Method Summary
Modifier and Type Method Description Dimensionsdimensions()The dimensions associated with the objects (assumed to be constant across any change in element).StackWriteAttributesguaranteedImageAttributes()Guarantees 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
-
Method Details
-
guaranteedImageAttributes
Description copied from class:RasterGeneratorGuarantees on the attributes of all images created by the generator.- Specified by:
guaranteedImageAttributesin classRasterGenerator<org.anchoranalysis.image.voxel.object.ObjectCollection>- Returns:
- options that are guaranteed to be true of all images by the generator.
-
dimensions
The dimensions associated with the objects (assumed to be constant across any change in element).
-