Class ToUnsignedByte
Object
org.anchoranalysis.image.voxel.convert.VoxelsConverter<UnsignedByteBuffer>
org.anchoranalysis.image.voxel.convert.ToUnsignedByte
- Direct Known Subclasses:
ToUnsignedByteNoScaling,ToUnsignedByteScaleByMaxValue,ToUnsignedByteScaleByMinMaxValue,ToUnsignedByteScaleByType
public abstract class ToUnsignedByte extends VoxelsConverter<UnsignedByteBuffer>
Base class for conversion to unsigned 8-bit.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ToUnsignedByte() -
Method Summary
Modifier and Type Method Description protected voidconvertUnsignedByte(UnsignedByteBuffer in, UnsignedByteBuffer out)Copies a value from the current position in aUnsignedByteBufferto the current position in a buffer of typeT.Methods inherited from class org.anchoranalysis.image.voxel.convert.VoxelsConverter
convertFloat, convertFrom, convertUnsignedInt, convertUnsignedShort, copyFrom, copyFromFloat, copyFromUnsignedByte, copyFromUnsignedInt, copyFromUnsignedShort
-
Constructor Details
-
ToUnsignedByte
public ToUnsignedByte()
-
-
Method Details
-
convertUnsignedByte
Description copied from class:VoxelsConverterCopies a value from the current position in aUnsignedByteBufferto the current position in a buffer of typeT.- Specified by:
convertUnsignedBytein classVoxelsConverter<UnsignedByteBuffer>- Parameters:
in- the current position of this buffer gives the value to convert, and the position is incremented.out- the converted value is written to the current position of this buffer, and the position is incremented.
-