Modifier and Type | Method and Description |
---|---|
static void |
apply(BinaryVoxels<UnsignedByteBuffer> voxelsFirst,
BinaryVoxels<UnsignedByteBuffer> voxelsSecond)
Performs a logical xor (exclusive or) operation on each voxel in two
Voxels
(considered to be masks), writing the result onto the second mask. |
static void |
apply(Mask first,
Mask second)
Performs a logical xor (exclusive or) operation on each voxel in two masks, writing
the result onto the first mask.
|
public static void apply(Mask first, Mask second)
first
- the first channel for operation (and in which the result is written)second
- the second channel for operationpublic static void apply(BinaryVoxels<UnsignedByteBuffer> voxelsFirst, BinaryVoxels<UnsignedByteBuffer> voxelsSecond)
Voxels
(considered to be masks), writing the result onto the second mask.voxelsFirst
- the first voxels for operationvoxelsSecond
- the second voxels for operation (and in which the result is written)Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.