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