Class ThreeColoredObjects
Object
AnchorBean<StackProvider>
InitializableBean<StackProvider, ImageInitialization>
ImageBean<StackProvider>
BeanProviderAsStackBase<StackProvider, Stack>
StackProvider
ColoredBase
ThreeColoredObjects
- All Implemented Interfaces:
Provider<Stack>,ProviderAsStack
Colors three collections of objects in RED, GREEN, BLUE channels on top of 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 TypeMethodDescriptionvoidcheckMisconfigured(BeanInstanceMap defaultInstances) protected ColoredObjectCollectioncoloredObjectsToDraw(Dimensions backgroundDimensions) Creates colored-objects to be drawn.ObjectCollectionProviderObjectCollectionProviderObjectCollectionProvidervoidsetObjectsBlue(ObjectCollectionProvider objectsBlue) voidsetObjectsGreen(ObjectCollectionProvider objectsGreen) voidsetObjectsRed(ObjectCollectionProvider objectsRed) 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
describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ThreeColoredObjects
public ThreeColoredObjects()
-
-
Method Details
-
checkMisconfigured
public void checkMisconfigured(BeanInstanceMap defaultInstances) throws BeanMisconfiguredException - Overrides:
checkMisconfiguredin classAnchorBean<StackProvider>- Throws:
BeanMisconfiguredException
-
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.
-
getObjectsRed
public ObjectCollectionProvider getObjectsRed() -
setObjectsRed
public void setObjectsRed(ObjectCollectionProvider objectsRed) -
getObjectsBlue
public ObjectCollectionProvider getObjectsBlue() -
setObjectsBlue
public void setObjectsBlue(ObjectCollectionProvider objectsBlue) -
getObjectsGreen
public ObjectCollectionProvider getObjectsGreen() -
setObjectsGreen
public void setObjectsGreen(ObjectCollectionProvider objectsGreen)
-