All Implemented Interfaces:
Provider<Histogram>

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

    • FromChannel

      public FromChannel()
  • Method Details

    • get

      public Histogram get() throws ProvisionFailedException
      Description copied from interface: Provider
      Gets or creates an object of type T.
      Returns:
      the object returned by the provider.
      Throws:
      ProvisionFailedException - if the object cannot be returned.
    • 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.