Graphics    

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.


  8-Bit and 16-Bit Indexed Images 8-Bit and 16-Bit RGB Images