Class ExtractBoundingBoxAreaFromStackGenerator
Object
org.anchoranalysis.image.io.stack.output.generator.RasterGenerator<T>
org.anchoranalysis.image.io.stack.output.generator.RasterGeneratorSelectFormat<org.anchoranalysis.spatial.box.BoundingBox>
org.anchoranalysis.image.io.stack.output.box.ExtractBoundingBoxAreaFromStackGenerator
- All Implemented Interfaces:
Generator<org.anchoranalysis.spatial.box.BoundingBox>,TransformingGenerator<org.anchoranalysis.spatial.box.BoundingBox,Stack>,ElementWriter<org.anchoranalysis.spatial.box.BoundingBox>
public class ExtractBoundingBoxAreaFromStackGenerator extends RasterGeneratorSelectFormat<org.anchoranalysis.spatial.box.BoundingBox>
An iterable-generator that outputs the portion of a stack corresponding to a bounding-box
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ExtractBoundingBoxAreaFromStackGenerator(ScaleableBackground background) -
Method Summary
Modifier and Type Method Description StackWriteAttributesguaranteedImageAttributes()Guarantees on the attributes of all images created by the generator.Stacktransform(org.anchoranalysis.spatial.box.BoundingBox element)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
-
transform
public Stack transform(org.anchoranalysis.spatial.box.BoundingBox element) throws OutputWriteFailedException- Throws:
OutputWriteFailedException
-
guaranteedImageAttributes
Description copied from class:RasterGeneratorGuarantees on the attributes of all images created by the generator.- Specified by:
guaranteedImageAttributesin classRasterGenerator<org.anchoranalysis.spatial.box.BoundingBox>- Returns:
- options that are guaranteed to be true of all images by the generator.
-