Class ColoredMask
Object
AnchorBean<StackProvider>
InitializableBean<StackProvider, ImageInitialization>
ImageBean<StackProvider>
BeanProviderAsStackBase<StackProvider, Stack>
StackProvider
ColoredBase
ColoredMask
- All Implemented Interfaces:
Provider<Stack>,ProviderAsStack
Draws a colored representation (outline or filled) of a
ObjectMask on a background- Author:
- Owen Feehan
-
Field Summary
Fields inherited from class org.anchoranalysis.plugin.image.bean.stack.provider.color.ColoredBase
DEFAULT_COLOR_SET_GENERATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ColoredObjectCollectioncoloredObjectsToDraw(Dimensions backgroundDimensions) Creates colored-objects to be drawn.RGBColorBeangetColor()MaskProvidergetMask()voidsetColor(RGBColorBean color) voidsetMask(MaskProvider mask) Methods inherited from class org.anchoranalysis.plugin.image.bean.stack.provider.color.ColoredBase
get, getBackground, getDisplayer, getOutlineWidth, isFlatten, isOutline, isSuppressOutlineZ, setBackground, setDisplayer, setFlatten, setOutline, setOutlineWidth, setSuppressOutlineZMethods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProvider
getAsStackMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ColoredMask
public ColoredMask()
-
-
Method Details
-
coloredObjectsToDraw
protected ColoredObjectCollection coloredObjectsToDraw(Dimensions backgroundDimensions) throws CreateException Description copied from class:ColoredBaseCreates colored-objects to be drawn.- Specified by:
coloredObjectsToDrawin classColoredBase- Parameters:
backgroundDimensions- dimensions of the background on which objects are drawn.- Returns:
- a
ColoredObjectCollectiondescribing the objects to be drawn. - Throws:
CreateException- if the colored objects cannot be created.
-
getMask
public MaskProvider getMask() -
setMask
public void setMask(MaskProvider mask) -
getColor
public RGBColorBean getColor()
-