| Image Processing Toolbox User's Guide | ![]() |
Getting the Display Range of an Image
The Image Tool provides information about the display range of pixels in an grayscale image. The display range is the value of the axes CLim property, which controls the mapping of image CData to the figure colormap. CLim is a two-element vector [cmin cmax] specifying the CData value to map to the first color in the colormap (cmin) and the CData value to map to the last color in the colormap (cmax). Data values in between are linearly scaled.
The Image Tool displays this information in the Display Range tool at the bottom right corner of the window. The Image Tool does not show the display range for indexed, truecolor, or binary images.
For example, view an image in the Image Tool.
The following figure shows the Image Tool displaying the image with display range information.
Display Range Information in Image Tool
| Determining the Value of Individual Pixels | Viewing Pixel Values with the Pixel Region Tool | ![]() |
© 1994-2005 The MathWorks, Inc.