im2uint16
Convert image to 16-bit unsigned integers
Description
converts the grayscale, RGB, or binary image J = im2uint16(I)I to data type
uint16, rescaling or offsetting the data as
necessary.
If the input image is of data type uint16, then the output
image is identical. If the input image is of data type
logical, then im2uint16 changes
true-valued elements to 65535.