Class MaskAnd
Object
MaskAnd
Performs a logical and operation on corresponding voxels in two
Masks.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidPerforms a logical and operation on each voxel in two masks, writing the result onto the second mask.static voidapply(Voxels<UnsignedByteBuffer> voxelsFirst, Voxels<UnsignedByteBuffer> voxelsSecond, BinaryValuesByte binaryValuesFirst, BinaryValuesByte binaryValuesSecond) Performs a logical and operation on each voxel in twoVoxels(considered to be masks), writing the result onto the second mask.
-
Method Details
-
apply
Performs a logical and operation on each voxel in two masks, writing the result onto the second 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(Voxels<UnsignedByteBuffer> voxelsFirst, Voxels<UnsignedByteBuffer> voxelsSecond, BinaryValuesByte binaryValuesFirst, BinaryValuesByte binaryValuesSecond) Performs a logical and operation on each voxel in twoVoxels(considered to be masks), writing the result onto the second mask.- Parameters:
voxelsFirst- the first voxels for the operation (and in which the result is written).voxelsSecond- the second voxels for the operation.binaryValuesFirst- binary-values to mask first voxels.binaryValuesSecond- binary-values to mask second voxels.
-