Class ObjectsAsGrayscaleGenerator
- All Implemented Interfaces:
Generator<ObjectCollection>
,TransformingGenerator<ObjectCollection,
,Stack> ElementWriter<ObjectCollection>
- Direct Known Subclasses:
ObjectsAsUniqueValueGenerator
,ObjectsMergedAsMaskGenerator
public abstract class ObjectsAsGrayscaleGenerator
extends RasterGeneratorSelectFormat<ObjectCollection>
Base class for generators that accept a set of objects as input.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ObjectsAsGrayscaleGenerator
(Dimensions dimensions) Creates a newObjectsAsGrayscaleGenerator
instance. -
Method Summary
Modifier and TypeMethodDescriptionThe dimensions associated with the objects (assumed to be constant across any change in element).Guarantees on the attributes of all images created by the generator.Methods inherited from class org.anchoranalysis.image.io.stack.output.generator.RasterGeneratorSelectFormat
selectFileExtension, writeToFile
Methods inherited from class org.anchoranalysis.image.io.stack.output.generator.RasterGenerator
write, writeWithIndex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.anchoranalysis.io.generator.TransformingGenerator
transform
-
Constructor Details
-
ObjectsAsGrayscaleGenerator
Creates a newObjectsAsGrayscaleGenerator
instance.- Parameters:
dimensions
- The dimensions associated with the objects (assumed to be constant across any change in element).
-
-
Method Details
-
guaranteedImageAttributes
Description copied from class:RasterGenerator
Guarantees on the attributes of all images created by the generator.- Specified by:
guaranteedImageAttributes
in classRasterGenerator<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).
-