Class AssignValue
- All Implemented Interfaces:
Provider<Channel>
,ProviderAsStack
Assigns a constant (scalar) value to the portion of the image covered by a mask
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.mask.UnaryWithMaskBase
createFromChannel, getMask, setMask
Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderUnary
get, getChannel, setChannel
Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
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
-
AssignValue
public AssignValue()
-
-
Method Details
-
createFromMaskedChannel
Description copied from class:UnaryWithMaskBase
Creates a newChannel
from the input channel and mask.- Specified by:
createFromMaskedChannel
in classUnaryWithMaskBase
- Parameters:
channel
- the inputChannel
mask
- theMask
to apply to the channel- Returns:
- a new
Channel
created from the input channel and mask
-
getValue
public double getValue() -
setValue
public void setValue(double value)
-