public abstract class Overlay extends Object
Modifier | Constructor and Description |
---|---|
protected |
Overlay() |
Modifier and Type | Method and Description |
---|---|
abstract BoundingBox |
box(DrawOverlay overlayWriter,
Dimensions dimensions)
A bounding-box around the overlay.
|
abstract ObjectWithProperties |
createObject(Dimensions dimensionsEntireImage,
BinaryValuesByte binaryValuesOut)
Derives an object-mask representation of the overlay to be drawn with
overlayWriter . |
abstract boolean |
equals(Object obj) |
abstract int |
hashCode() |
public abstract BoundingBox box(DrawOverlay overlayWriter, Dimensions dimensions)
overlayWriter
- writes the overlay on the image.dimensions
- the dimensions of the containing-image or scene.public abstract ObjectWithProperties createObject(Dimensions dimensionsEntireImage, BinaryValuesByte binaryValuesOut) throws CreateException
overlayWriter
.dimensionsEntireImage
- how large the image is onto which the overlay will be drawn.binaryValuesOut
- what constitutes on and off pixels in the produced object-mask.CreateException
- if the object cannot be created successfully.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.