Class TwoVoxelMappingBase
- All Implemented Interfaces:
Provider<Channel>
,ProviderAsStack
- Direct Known Subclasses:
MaxTwoChannels
,MinTwoChannels
,MultiplyTwoChannels
,SubtractTwoChannels
Takes the two channels and creates a NEW third channel whose pixels are a function of the two
channels
Both the two input channels and the output channel are identically-sized.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionTwoVoxelMappingBase
(IntBinaryOperator operation) Creates a newTwoVoxelMappingBase
instance. -
Method Summary
Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderBinary
get, getChannel1, getChannel2, setChannel1, setChannel2
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
-
TwoVoxelMappingBase
Creates a newTwoVoxelMappingBase
instance.- Parameters:
operation
- How to form an output voxel from the respective two input voxels.
-
-
Method Details
-
process
Description copied from class:ChannelProviderBinary
Creates aChannel
given the two entities provided by the delegates.- Specified by:
process
in classChannelProviderBinary
- Parameters:
channel1
- the entity provided by the first delegate.channel2
- the entity provided by the second delegate.- Returns:
- the created
Channel
that is returned by the provider. - Throws:
ProvisionFailedException
- if the provider cannot complete successfully.
-