Image Processing Toolbox | ![]() ![]() |
Intensity Images
An intensity image is a data matrix, I
, whose values represent intensities within some range. MATLAB stores an intensity image as a single matrix, with each element of the matrix corresponding to one image pixel. The matrix can be of class double
, uint8
, or uint16.
While intensity images are rarely saved with a colormap, MATLAB uses a colormap to display them.
The elements in the intensity matrix represent various intensities, or gray levels, where the intensity 0 usually represents black and the intensity 1, 255, or 65535 usually represents full intensity, or white.
The figure below depicts an intensity image of class double
.
Figure 2-2: Pixel Values in an Intensity Image Define Gray Levels
![]() | Indexed Images | Binary Images | ![]() |