Image Processing Toolbox User's Guide Previous page   Next Page

2. Check How the Image Appears in the Workspace

To see how the imread function stores the image data in the workspace, check the Workspace browser in the MATLAB desktop. The Workspace browser displays information about all the variables you create during a MATLAB session. The imread function returned the image data in the variable I, which is a 291-by-240 element array of uint8 data. MATLAB can store images as uint8, uint16, or double arrays.

You can also get information about variables in the workspace by calling the whos command.

For more information about image storage classes, see Reading a Graphics Image.


Previous page  Example 1 -- Some Basic Concepts 3. Improve Image Contrast Next page

© 1994-2005 The MathWorks, Inc.