Package org.anchoranalysis.image.voxel
Class VoxelsUnsignedShort
Object
org.anchoranalysis.image.voxel.Voxels<UnsignedShortBuffer>
org.anchoranalysis.image.voxel.VoxelsUnsignedShort
public final class VoxelsUnsignedShort extends Voxels<UnsignedShortBuffer>
Implementation of
Voxels whose voxels are of type unsigned short (16-bit).- Author:
- Owen Feehan
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VoxelsUnsignedShort(SliceBufferIndex<UnsignedShortBuffer> buffer)Create from a buffer, indexed by slice. -
Method Summary
Modifier and Type Method Description VoxelsAssignerassignValue(int valueToAssign)Interface that allows assignment of a particular value to all or subsets of the voxels.VoxelsExtracter<UnsignedShortBuffer>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
-
VoxelsUnsignedShort
Create from a buffer, indexed by slice.- Parameters:
buffer- the buffer.
-
-
Method Details
-
assignValue
Description copied from class:VoxelsInterface that allows assignment of a particular value to all or subsets of the voxels.- Specified by:
assignValuein classVoxels<UnsignedShortBuffer>- Parameters:
valueToAssign- the value to assign.- Returns:
- the interface.
-
extract
Description copied from class:VoxelsInterface that allows read/copy/duplication operations to be performed regarding the voxels intensities.- Specified by:
extractin classVoxels<UnsignedShortBuffer>- Returns:
- the interface.
-