Class Flatten
Performs a flattening (maximum intensity projection in each channel) of the output of another
writer
Note it doesn't cache the underlying writer.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawSingle
(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) Draws a single-object on top of a RGB-stack.void
setWriter
(DrawObject writer) Methods inherited from class org.anchoranalysis.overlay.bean.DrawObject
drawCollection, drawCollection
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Flatten
public Flatten() -
Flatten
-
-
Method Details
-
drawSingle
public void drawSingle(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, BoundingBox restrictTo) throws OperationFailedException Description copied from class:DrawObject
Draws a single-object on top of a RGB-stack.- Specified by:
drawSingle
in classDrawObject
- Parameters:
object
- the object to draw.stack
- the image to draw on.attributes
- attributes for each object when drawing.iteration
- the current iteration.restrictTo
- a restriction on which part of stack we draw onto to (considered in terms of the possibly-zoomed pixel coordinates).- Throws:
OperationFailedException
- if the object cannot be successfully drawn.
-
getWriter
-
setWriter
-