public class ToUnsignedByte extends ChannelConverter<UnsignedByteBuffer>
Channel
to have a voxel data type of UnsignedByteBuffer
(unsigned
8-bit) without scaling.
This implies undefined behaviour for values in the source data-type that lie outside the range
of UnsignedByteBuffer
.
Constructor and Description |
---|
ToUnsignedByte()
Converting without scaling any values.
|
ToUnsignedByte(VoxelsConverter<UnsignedByteBuffer> voxelsConverter)
Convert with a particular
VoxelsConverter . |
public ToUnsignedByte()
public ToUnsignedByte(VoxelsConverter<UnsignedByteBuffer> voxelsConverter)
VoxelsConverter
.voxelsConverter
- the converter.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.