<< im2int8 Image Types and Color Space Conversions im2uint8 >>

IPCV >> Image Types and Color Space Conversions > im2uint16

im2uint16

Convert image to 16-bit unsigned integers

Syntax

im2 = im2uint16(im)

Parameters

im :

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

im2 :

Output image, a 16-bit unsigned integer matrix.

Description

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.

See also

Authors


Report an issue
<< im2int8 Image Types and Color Space Conversions im2uint8 >>