Class MeanThreeChannels

Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider, ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider, Channel>
ChannelProvider
ChannelProviderTernary
MeanThreeChannels
All Implemented Interfaces:
Provider<Channel>, ProviderAsStack

public class MeanThreeChannels extends ChannelProviderTernary
Creates a new channel that is the mean of three input channels.

This class extends ChannelProviderTernary to compute the pixel-wise mean of three input channels, producing a new channel with unsigned byte voxel type.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderTernary

    get, getChannel1, getChannel2, getChannel3, setChannel1, setChannel2, setChannel3

    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

    • MeanThreeChannels

      public MeanThreeChannels()
  • Method Details

    • process

      protected Channel process(Channel channel1, Channel channel2, Channel channel3) throws ProvisionFailedException
      Specified by:
      process in class ChannelProviderTernary
      Throws:
      ProvisionFailedException