| Image Processing Toolbox™ | ![]() |
To get information about the image displayed in the Image Tool, use the Image Information tool. The Image Information tool can provide two types of information about an image:
Basic information — Includes width, height, class, and image type. For grayscale and indexed images, this information also includes the minimum and maximum intensity values.
Image metadata — Displays all the metadata from the graphics file that contains the image. This is the same information returned by the imfinfo function or the dicominfo function.
Note The Image Information tool can display image metadata only when you specify the filename containing the image to Image Tool, e.g., imtool('moon.tif'). |
For example, view an image in the Image Tool.
imtool('moon.tif')Start the Image Information tool by clicking the Image Information
button
in the Image Tool toolbar or selecting
the Image Information option from the Tools menu in the Image Tool. (Another option
is to open a figure window using imshow and then
call imageinfo from the command
line.)
The following figure shows the Image Tool with the Image Information tool. In the figure, the Image Information tool displays both basic image information and image metadata because a file name was specified with imtool.
Image Tool with Image Information Tool

![]() | Measuring the Distance Between Two Pixels | Adjusting Image Contrast Using the Adjust Contrast Tool | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |