Class ToUnsignedByte


public class ToUnsignedByte extends ChannelConverter<UnsignedByteBuffer>
Converts a 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.

Author:
Owen Feehan
  • Constructor Details

    • ToUnsignedByte

      public ToUnsignedByte()
      Converting without scaling any values.
    • ToUnsignedByte

      public ToUnsignedByte(VoxelsConverter<UnsignedByteBuffer> voxelsConverter)
      Convert with a particular VoxelsConverter.
      Parameters:
      voxelsConverter - the converter.