Class BackgroundSubtractor

Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider, ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider, Channel>
ChannelProvider
ChannelProviderUnary
WithRadiusBase
BackgroundSubtractor
All Implemented Interfaces:
Provider<Channel>, ProviderAsStack

public class BackgroundSubtractor extends WithRadiusBase
Subtracts background from a channel using ImageJ's BackgroundSubtracter.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Channel
    createFromChannel(Channel channel, int radius)
    Creates a new channel from an existing channel and a radius.

    Methods inherited from class org.anchoranalysis.plugin.imagej.bean.channel.provider.WithRadiusBase

    createFromChannel, getRadius, isRadiusInMeters, setRadius, setRadiusInMeters

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

    get, getChannel, setChannel

    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

    • BackgroundSubtractor

      public BackgroundSubtractor()
  • Method Details

    • createFromChannel

      protected Channel createFromChannel(Channel channel, int radius) throws ProvisionFailedException
      Description copied from class: WithRadiusBase
      Creates a new channel from an existing channel and a radius.
      Specified by:
      createFromChannel in class WithRadiusBase
      Parameters:
      channel - the input Channel
      radius - the radius in voxels
      Returns:
      the newly created Channel
      Throws:
      ProvisionFailedException - if the channel creation fails