public abstract class ArithmeticWithConstantBase extends UnaryWithValueBase
Constructor and Description |
---|
ArithmeticWithConstantBase() |
Modifier and Type | Method and Description |
---|---|
Channel |
createFromChannelWithConstant(Channel channel,
double value) |
protected abstract int |
performBinaryOperation(int voxel,
int constant)
The binary arithmetic operation that combines the voxel-value and the constant-value
|
createFromChannel, getValue, setValue
get, getChannel, setChannel
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Channel createFromChannelWithConstant(Channel channel, double value) throws ProvisionFailedException
createFromChannelWithConstant
in class UnaryWithValueBase
ProvisionFailedException
protected abstract int performBinaryOperation(int voxel, int constant)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.