Class ChannelProviderUnary
- All Implemented Interfaces:
Provider<Channel>
,ProviderAsStack
- Direct Known Subclasses:
AnisotropicDiffusion
,AssignFromDictionary
,AssignFromIntersectingObjects
,Blur
,ConvertBase
,Duplicate
,EdgeFilterIJ
,ExtractCenterSlice
,ExtractSliceRange
,GaussianBlur2D
,GradientBase
,IfParamEquals
,IfVoxelZero
,Invert
,LevelPerObjectBase
,MaximumIntensityProjection
,MeanIntensityProjection
,Median
,MedianFilter3D
,MinimumFilter
,QuantileStretch
,ScaleXY
,UnaryWithMaskBase
,UnaryWithObjectsBase
,UnaryWithValueBase
,WithRadiusBase
Implementation of
ChannelProvider
that calls a single delegate ChannelProvider
.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Channel
createFromChannel
(Channel channel) Creates aChannel
given the entity provided by the delegate.get()
Gets or creates an object of typeT
.The delegateChannelProvider
that is called.void
setChannel
(ChannelProvider channel) The delegateChannelProvider
that is called.Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
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
-
ChannelProviderUnary
protected ChannelProviderUnary()
-
-
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.
-
createFromChannel
Creates aChannel
given the entity provided by the delegate.- Parameters:
channel
- the entity provided by the delegate.- Returns:
- the created
Channel
that is returned by the provider. - Throws:
ProvisionFailedException
- if the provider cannot complete successfully.
-
getChannel
The delegateChannelProvider
that is called. -
setChannel
The delegateChannelProvider
that is called.
-