Class ToUnsignedByteScaleByMinMaxValue

Object
ChannelConverter<UnsignedByteBuffer>
ToUnsignedByteScaleByMinMaxValue

public class ToUnsignedByteScaleByMinMaxValue extends ChannelConverter<UnsignedByteBuffer>
Converts a Channel to have a voxel data type of UnsignedByteBuffer (unsigned 8-bit) scaling from the range of the source data-type.
Author:
Owen Feehan
  • Constructor Details

    • ToUnsignedByteScaleByMinMaxValue

      public ToUnsignedByteScaleByMinMaxValue(int min, int max)
      Creates with the minimum- and maximum-values which existing values are scaled against.
      Parameters:
      min - the minimum-value that will be represented in the scaled-values (inclusive).
      max - the maximum-value that will be represented in the scaled-values (inclusive).