Class ObjectsAsUniqueValueGenerator

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>

public class ObjectsAsUniqueValueGenerator
extends ObjectsAsGrayscaleGenerator
Writes objects as an image with an incrementing unique integer id value for each object.

Note that a maximum of 254 objects are allowed to be written on a channel in this way (for a 8-bit image)

Author:
Owen Feehan