Class FromMask

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

public class FromMask extends FromMaskBase
Creates a Channel directly from a Mask without any modification.

This class extends FromMaskBase to provide a simple implementation that returns the channel associated with the mask.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Channel
    createFromMask(Mask mask)
    Creates a Channel from the provided Mask.

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

    get, getMask, setMask

    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

    • FromMask

      public FromMask()
  • Method Details

    • createFromMask

      protected Channel createFromMask(Mask mask)
      Description copied from class: FromMaskBase
      Creates a Channel from the provided Mask.
      Specified by:
      createFromMask in class FromMaskBase
      Parameters:
      mask - the Mask to create the channel from
      Returns:
      the created Channel