Class ToUnsignedByteScaleByMinMaxValue
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 Summary
ConstructorsConstructorDescriptionToUnsignedByteScaleByMinMaxValue
(int min, int max) Creates with the minimum- and maximum-values which existing values are scaled against. -
Method Summary
Methods inherited from class org.anchoranalysis.image.core.channel.convert.ChannelConverter
convert, convert, getVoxelsConverter
-
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).
-