Class Threshold
- All Implemented Interfaces:
Provider<Mask>
,ProviderAsStack
Thresholds a channel to produce a mask, reusing (and modifying) the input-buffers of the channel
if possible.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Mask
createFromSource
(Channel source) The thresholder that will convert a channel into a binary-channelvoid
setThresholder
(Thresholder thresholder) The thresholder that will convert a channel into a binary-channelMethods inherited from class org.anchoranalysis.plugin.image.bean.mask.provider.FromChannelBase
get, getChannel, setChannel
Methods inherited from class org.anchoranalysis.image.bean.provider.MaskProvider
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
-
Constructor Details
-
Threshold
public Threshold()
-
-
Method Details
-
createFromSource
Description copied from class:FromChannelBase
- Specified by:
createFromSource
in classFromChannelBase
- Parameters:
source
- the source channel- Returns:
- the created mask
- Throws:
CreateException
- if the mask creation fails
-
getThresholder
The thresholder that will convert a channel into a binary-channel -
setThresholder
The thresholder that will convert a channel into a binary-channel
-