public class ToUnsignedByteScaleByMinMaxValue extends ChannelConverter<UnsignedByteBuffer>
Channel
to have a voxel data type of UnsignedByteBuffer
(unsigned
8-bit) scaling from the range of the source data-type.Constructor and Description |
---|
ToUnsignedByteScaleByMinMaxValue(int min,
int max)
Creates with the minimum- and maximum-values which existing values are scaled against.
|
public ToUnsignedByteScaleByMinMaxValue(int min, int max)
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).Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.