Using MATLAB Graphics     Search    Help Desk 

8-Bit and 16-Bit Intensity Images

Whereas the range of double image arrays is usually [0, 1], the range of 8-bit intensity images is usually [0, 255] and the range of 16-bit intensity images is usually [0, 65535]. Use the following command to display an 8-bit intensity image with a gray scale colormap:

To convert an intensity image from double to uint16, first multiply by 65535.

Conversely, divide by 65535 after converting a uint16 intensity image to double.



[ Previous | Help Desk | Next ]