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 shortconvertValue(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, supportsMultipleChannelsPerSourceBufferMethods 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:ToUnsignedShortConverts a value retrieved from the source buffer to the destination form.- Specified by:
convertValuein classToUnsignedShort- Parameters:
value- the value retrieved from the source buffer.- Returns:
- the converted value in the form to match the destination.
-