Class FromChannel

Object
AnchorBean<HistogramProvider>
InitializableBean<HistogramProvider, ImageInitialization>
ImageBean<HistogramProvider>
HistogramProvider
FromChannel
All Implemented Interfaces:
Provider<Histogram>

public class FromChannel extends HistogramProvider
Creates a Histogram from a Channel, optionally using a mask.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Histogram
    get()
     
    ChannelProvider
    The provider for the channel from which to create the histogram.
    MaskProvider
    An optional mask provider to restrict the histogram creation to specific areas.
    void
    setChannel(ChannelProvider channel)
    The provider for the channel from which to create the histogram.
    void
    setMask(MaskProvider mask)
    An optional mask provider to restrict the histogram creation to specific areas.

    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

    • FromChannel

      public FromChannel()
  • Method Details

    • get

      public Histogram get() throws ProvisionFailedException
      Throws:
      ProvisionFailedException
    • getChannel

      public ChannelProvider getChannel()
      The provider for the channel from which to create the histogram.
    • setChannel

      public void setChannel(ChannelProvider channel)
      The provider for the channel from which to create the histogram.
    • getMask

      public MaskProvider getMask()
      An optional mask provider to restrict the histogram creation to specific areas.
    • setMask

      public void setMask(MaskProvider mask)
      An optional mask provider to restrict the histogram creation to specific areas.