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 -
Method Summary
Modifier and TypeMethodDescriptionHistogramget()ChannelProviderThe provider for the channel from which to create the histogram.MaskProvidergetMask()An optional mask provider to restrict the histogram creation to specific areas.voidsetChannel(ChannelProvider channel) The provider for the channel from which to create the histogram.voidsetMask(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, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
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.
-