Class MaskProviderUnary
- All Implemented Interfaces:
Provider<Mask>,ProviderAsStack
- Direct Known Subclasses:
CombineBase,ConvexHullBase,Duplicate,ExteriorContour,FillHoles,FitBoxToOnVoxels,FlattenZ,IfPredicateBase,Invert,MorphologicalOperation,MorphologicalOperatorBase,RepeatSlice,ScaleXY
Implementation of
MaskProvider that calls a single delegate MaskProvider.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.image.bean.provider.MaskProvider
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
-
MaskProviderUnary
protected MaskProviderUnary()
-
-
Method Details
-
get
Description copied from interface:ProviderGets or creates an object of typeT.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException- if the object cannot be returned.
-
createFromMask
Creates aMaskgiven the entity provided by the delegate.- Parameters:
mask- the entity provided by the delegate.- Returns:
- the created
Maskthat is returned by the provider. - Throws:
ProvisionFailedException- if the provider cannot complete successfully.
-
getMask
The delegateProvider<Mask>that is called. -
setMask
The delegateProvider<Mask>that is called.
-