Class FromMask
Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider, ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider, Channel>
ChannelProvider
FromMaskBase
FromMask
- All Implemented Interfaces:
Provider<Channel>,ProviderAsStack
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected ChannelcreateFromMask(Mask mask) Creates aChannelfrom the providedMask.Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.mask.FromMaskBase
get, getMask, setMaskMethods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
getAsStackMethods 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
-
FromMask
public FromMask()
-
-
Method Details
-
createFromMask
protected Channel createFromMask(Mask mask) Description copied from class:FromMaskBaseCreates aChannelfrom the providedMask.- Specified by:
createFromMaskin classFromMaskBase- Parameters:
mask- theMaskto create the channel from- Returns:
- the created
Channel
-