Class ObjectWithBoundingBoxGenerator
Object
org.anchoranalysis.io.generator.combined.CombinedListGenerator<org.anchoranalysis.image.voxel.object.ObjectMask>
org.anchoranalysis.image.io.object.output.mask.ObjectWithBoundingBoxGenerator
- All Implemented Interfaces:
Generator<org.anchoranalysis.image.voxel.object.ObjectMask>,MultipleFileTypeGenerator<org.anchoranalysis.image.voxel.object.ObjectMask>,ElementWriter<org.anchoranalysis.image.voxel.object.ObjectMask>
public class ObjectWithBoundingBoxGenerator extends CombinedListGenerator<org.anchoranalysis.image.voxel.object.ObjectMask>
Like
ObjectAsMaskGenerator but additionally outputs a serialized bounding box.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ObjectWithBoundingBoxGenerator(Optional<Resolution> resolution)Create with a resolution, if it is known. -
Method Summary
Methods inherited from class org.anchoranalysis.io.generator.combined.CombinedListGenerator
write, writeWithIndex
-
Constructor Details
-
ObjectWithBoundingBoxGenerator
Create with a resolution, if it is known.- Parameters:
resolution- the resolution, if it is known.
-