Package org.anchoranalysis.image.voxel
Class VoxelsUnsignedByte
Implementation of
Voxels
whose voxels are of type unsigned byte (8-bit).- Author:
- Owen Feehan
-
Field Summary
Fields inherited from class org.anchoranalysis.image.voxel.Voxels
MAX_IN_TO_STRING
-
Constructor Summary
ConstructorsConstructorDescriptionCreate from a buffer, indexed by slice. -
Method Summary
Modifier and TypeMethodDescriptionassignValue
(int valueToAssign) Interface that allows assignment of a particular value to all or subsets of the voxels.extract()
Interface that allows read/copy/duplication operations to be performed regarding the voxels intensities.Methods inherited from class org.anchoranalysis.image.voxel.Voxels
arithmetic, dataType, duplicate, equalsDeep, extent, factory, replaceSlice, slice, sliceBuffer, slices, toString
-
Constructor Details
-
VoxelsUnsignedByte
Create from a buffer, indexed by slice.- Parameters:
buffer
- the buffer.
-
-
Method Details
-
assignValue
Description copied from class:Voxels
Interface that allows assignment of a particular value to all or subsets of the voxels.- Specified by:
assignValue
in classVoxels<UnsignedByteBuffer>
- Parameters:
valueToAssign
- the value to assign.- Returns:
- the interface.
-
extract
Description copied from class:Voxels
Interface that allows read/copy/duplication operations to be performed regarding the voxels intensities.- Specified by:
extract
in classVoxels<UnsignedByteBuffer>
- Returns:
- the interface.
-