Class Outline
Object
org.anchoranalysis.bean.AnchorBean<DrawObject>
org.anchoranalysis.overlay.bean.DrawObject
org.anchoranalysis.image.io.bean.object.draw.Outline
public class Outline extends DrawObject
Draws the outline of each object-mask.
- Author:
- Owen Feehan
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description voiddrawSingle(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, org.anchoranalysis.spatial.box.BoundingBox restrictTo)intgetOutlineWidth()The size of the outline, in terms of the number of voxels.booleanisIncludeZ()If true the outline is also applied in the z-dimension, otherwise this is ignored as possible boundaryvoidsetIncludeZ(boolean includeZ)If true the outline is also applied in the z-dimension, otherwise this is ignored as possible boundaryvoidsetOutlineWidth(int outlineWidth)The size of the outline, in terms of the number of voxels.Methods inherited from class org.anchoranalysis.overlay.bean.DrawObject
drawCollection, drawCollectionMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Method Details
-
drawSingle
public void drawSingle(ObjectWithProperties object, RGBStack stack, ObjectDrawAttributes attributes, int iteration, org.anchoranalysis.spatial.box.BoundingBox restrictTo) throws OperationFailedException- Specified by:
drawSinglein classDrawObject- Throws:
OperationFailedException
-
getOutlineWidth
public int getOutlineWidth()The size of the outline, in terms of the number of voxels. -
setOutlineWidth
public void setOutlineWidth(int outlineWidth)The size of the outline, in terms of the number of voxels. -
isIncludeZ
public boolean isIncludeZ()If true the outline is also applied in the z-dimension, otherwise this is ignored as possible boundary -
setIncludeZ
public void setIncludeZ(boolean includeZ)If true the outline is also applied in the z-dimension, otherwise this is ignored as possible boundary
-