im2int16
Convert image to 16-bit signed integers
Syntax
Description
converts the grayscale, RGB, or binary image J = im2int16(I)I to data type
int16, rescaling the data if necessary.
If the input image is of data type int16, then the output
image is identical to the input image. If the input image is of data type
logical, then the im2int16 function
changes false-valued elements to -32768 and true-valued elements to
32767.