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 void
Copies a value from the current position in aUnsignedByteBuffer
to 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:VoxelsConverter
Copies a value from the current position in aUnsignedByteBuffer
to the current position in a buffer of typeT
.- Specified by:
convertUnsignedByte
in 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.
-