Class UnsignedShortFromUnsignedShort
Convert to an unsigned short buffer, given an unsigned short source buffer.
- Author:
- Owen Feehan
-
Field Summary
Fields inherited from class org.anchoranalysis.io.bioformats.copyconvert.ConvertTo
destinationSize, extent, sourceIncrement, sourceSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected short
convertValue
(short value) Converts a value retrieved from the source buffer to the destination form.Methods inherited from class org.anchoranalysis.io.bioformats.copyconvert.toshort.ToUnsignedShort
bytesPerVoxel, copyChangeOrientation, copyKeepOrientation, supportsMultipleChannelsPerSourceBuffer
Methods inherited from class org.anchoranalysis.io.bioformats.copyconvert.ConvertTo
convert, convertSliceOfSingleChannel, copyAllChannels, setupBefore
-
Constructor Details
-
UnsignedShortFromUnsignedShort
public UnsignedShortFromUnsignedShort()
-
-
Method Details
-
convertValue
protected short convertValue(short value) Description copied from class:ToUnsignedShort
Converts a value retrieved from the source buffer to the destination form.- Specified by:
convertValue
in classToUnsignedShort
- Parameters:
value
- the value retrieved from the source buffer.- Returns:
- the converted value in the form to match the destination.
-