<< im2int32 Image Types and Color Space Conversions im2uint16 >>

IPCV >> Image Types and Color Space Conversions > im2int8

im2int8

Convert image to 8-bit signed integers

Syntax

im2 = im2int8(im)

Parameters

im :

An matrix/image, which can be ANY image supported by IPCV.

im2 :

Output image, an 8-bit signed integer matrix.

Description

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.

See also

Authors


Report an issue
<< im2int32 Image Types and Color Space Conversions im2uint16 >>