| Image Processing Toolbox User's Guide | ![]() |
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.
whos Name Size Bytes Class I 291x240 69840 uint8 array Grand total is 69840 elements using 69840 bytes
For more information about image storage classes, see Reading a Graphics Image.
| Example 1 -- Some Basic Concepts | 3. Improve Image Contrast | ![]() |
© 1994-2005 The MathWorks, Inc.