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
getAsStack
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods 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:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
createFromMask
Creates aMask
given the entity provided by the delegate.- Parameters:
mask
- the entity provided by the delegate.- Returns:
- the created
Mask
that 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.
-