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

    Constructors
    Constructor
    Description
    Creates a new TwoVoxelMappingBase instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Channel
    process(Channel channel1, Channel channel2)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TwoVoxelMappingBase

      public TwoVoxelMappingBase(IntBinaryOperator operation)
      Creates a new TwoVoxelMappingBase instance.
      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:
      process in class ChannelProviderBinary
      Throws:
      ProvisionFailedException