Convert image to 16-bit unsigned integers
im2 = im2uint16(im)
im2uint16
convert intensity or RGB images to 16-bit unsigned integers.
If the input is of class uint16
, the output image is identical to it.
Otherwise, im2uint16
rescales or offsets the data, and returns the equivalent image of class uint16
.
http://sivp.sf.net