public class IfHighLow extends CombineBase
iff first==HIGH and second==LOW then LOW
voxelwise on both
masks, modifying {mask} with the result.
Specifically the truth table is:
First | Second | Output |
---|---|---|
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 1 |
1 | 1 | 0 |
Constructor and Description |
---|
IfHighLow() |
Modifier and Type | Method and Description |
---|---|
protected Mask |
createFromTwoMasks(Mask maskToModify,
Mask maskReceiver)
Creates masks from some combination of two masks
|
createFromMask, getReceive, setReceive
get, getMask, setMask
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected Mask createFromTwoMasks(Mask maskToModify, Mask maskReceiver)
CombineBase
createFromTwoMasks
in class CombineBase
maskToModify
- first-mask (which is also the mask modified with the result)maskReceiver
- second-mask (which is not modified)maskToModify
or maskOther
depending on implementationCopyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.