Class TwoVoxelMappingBase
Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider, ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider, Channel>
ChannelProvider
ChannelProviderBinary
TwoVoxelMappingBase
- All Implemented Interfaces:
Provider<Channel>,ProviderAsStack
- Direct Known Subclasses:
MaxTwoChannels,MinTwoChannels,MultiplyTwoChannels,SubtractTwoChannels
public abstract class TwoVoxelMappingBase
extends ChannelProviderBinary
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
protected Channel process(Channel channel1, Channel channel2) throws ProvisionFailedException - Specified by:
processin classChannelProviderBinary- Throws:
ProvisionFailedException
-