Class MaskXor
Object
MaskXor
Performs a logical xor (exclusive or) operation on corresponding voxels in two
Mask
s.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Performs a logical xor (exclusive or) operation on each voxel in two masks, writing the result onto the first mask.static void
apply
(BinaryVoxels<UnsignedByteBuffer> voxelsFirst, BinaryVoxels<UnsignedByteBuffer> voxelsSecond) Performs a logical xor (exclusive or) operation on each voxel in twoVoxels
(considered to be masks), writing the result onto the second mask.
-
Method Details
-
apply
Performs a logical xor (exclusive or) operation on each voxel in two masks, writing the result onto the first mask.- Parameters:
first
- the first channel for operation (and in which the result is written)second
- the second channel for operation
-
apply
public static void apply(BinaryVoxels<UnsignedByteBuffer> voxelsFirst, BinaryVoxels<UnsignedByteBuffer> voxelsSecond) Performs a logical xor (exclusive or) operation on each voxel in twoVoxels
(considered to be masks), writing the result onto the second mask.- Parameters:
voxelsFirst
- the first voxels for operationvoxelsSecond
- the second voxels for operation (and in which the result is written)
-