<< im2uint16 SIVP - Scilab Image and Video Processing Toolbox imabsdiff >>

SIVP - Scilab Image and Video Processing Toolbox >> SIVP - Scilab Image and Video Processing Toolbox > im2uint8

im2uint8

Convert image to 8-bit unsigned integers

Calling Sequence

im2 = im2uint8(im)

Parameters

im
An matrix/image, which can be ANY image supported by SIVP.
im2
Output image, an 8-bit unsigned integer matrix.

Description

im2uint8 convert intensity or RGB images to 8-bit unsigned integers. If the input is of class uint8, the output image is identical to it. Otherwise, im2uint8 rescales or offsets the data, and returns the equivalent image of class uint8.

Authors

Availability

The latest version of SIVP can be found at

http://sivp.sf.net

See Also

<< im2uint16 SIVP - Scilab Image and Video Processing Toolbox imabsdiff >>