| Using MATLAB Graphics | Search  Help Desk |
load and save to read and write a graphics file format image.
MATLAB provides special functions for reading and writing image data from graphics file formats. To read a graphic file format image use imread; to write a graphic file format image, use imwrite; to obtain information about the nature of a graphics file format image, use imfinfo.
See the next table for a clearer picture of which MATLAB commands should be used with which image types.| Procedure |
Function(s) to Use |
| Load or Save a Matrix as a MAT-file |
loadsave |
| Load or Save Graphics File Format Image, e.g. BMP, TIFF |
imreadimwrite |
| Display Any Image Loaded Into MATLAB |
imageimagesc |
| Utilities |
imfinfoind2rgb |