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