Class RepeatSlice

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

public class RepeatSlice extends FromDimensionsBase
Creates a new channel with specific dimensions that repeatedly duplicates a slice from an existing channel

The incoming slice must have the same extent in XY as specified in dimension.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Channel
    createFromDimensions(Dimensions dimensions)
    Creates a channel from the given dimensions.
    ChannelProvider
     
    void
    setSlice(ChannelProvider slice)
     

    Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.FromDimensionsBase

    get, getDimensions, setDimensions

    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

    • RepeatSlice

      public RepeatSlice()
  • Method Details

    • createFromDimensions

      protected Channel createFromDimensions(Dimensions dimensions) throws ProvisionFailedException
      Description copied from class: FromDimensionsBase
      Creates a channel from the given dimensions.
      Specified by:
      createFromDimensions in class FromDimensionsBase
      Parameters:
      dimensions - the Dimensions to use for creating the channel
      Returns:
      a new Channel with the specified dimensions
      Throws:
      ProvisionFailedException - if the channel creation fails
    • getSlice

      public ChannelProvider getSlice()
    • setSlice

      public void setSlice(ChannelProvider slice)