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 newTwoVoxelMappingBaseinstance. -
Method Summary
Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderBinary
get, getChannel1, getChannel2, setChannel1, setChannel2Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
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
-
TwoVoxelMappingBase
Creates a newTwoVoxelMappingBaseinstance.- Parameters:
operation- How to form an output voxel from the respective two input voxels.
-
-
Method Details
-
process
Description copied from class:ChannelProviderBinaryCreates aChannelgiven the two entities provided by the delegates.- Specified by:
processin classChannelProviderBinary- Parameters:
channel1- the entity provided by the first delegate.channel2- the entity provided by the second delegate.- Returns:
- the created
Channelthat is returned by the provider. - Throws:
ProvisionFailedException- if the provider cannot complete successfully.
-