| [mmreadgray] [Up] [mmisbinary] | Image file I/O |
| User Feedback |
mmwrite writes the image f in the file filename. This function calls the MATLAB function imwrite. If the format generated is BMP, PCX or XWD, a colormap is created to keep the compatibility with imwrite.
a= uint8( ones(5,5) );
mmwrite(a, 'ones5.bmp');
b = mmreadgray('ones5.bmp')
b =
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
| mmreadgray | Read an image from a commercial file format and stores it as a gray-scale image. |
| [mmreadgray] [Up] [mmisbinary] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |