Class ToUnsignedByte
- Direct Known Subclasses:
ToUnsignedByteNoScaling,ToUnsignedByteScaleByMaxValue,ToUnsignedByteScaleByMinMaxValue,ToUnsignedByteScaleByType
Base class for conversion to unsigned 8-bit.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCopies 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.
-