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
ConstructorsModifierConstructorDescriptionprotectedObjectsAsGrayscaleGenerator(Dimensions dimensions) Creates a newObjectsAsGrayscaleGeneratorinstance. -
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, writeToFileMethods inherited from class org.anchoranalysis.image.io.stack.output.generator.RasterGenerator
write, writeWithIndexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.io.generator.TransformingGenerator
transform
-
Constructor Details
-
ObjectsAsGrayscaleGenerator
Creates a newObjectsAsGrayscaleGeneratorinstance.- Parameters:
dimensions- The dimensions associated with the objects (assumed to be constant across any change in element).
-
-
Method Details
-
guaranteedImageAttributes
Description copied from class:RasterGeneratorGuarantees on the attributes of all images created by the generator.- Specified by:
guaranteedImageAttributesin 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).
-