| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
mmwrite( f, filename ) f: Gray-scale (uint8 or uint16) or binary image (logical uint8). filename: String. Name of the file. Possible extensions: tif, hdf, jpg, bmp, pcx, xwd. 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') uint8 gray-scale image 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 |
| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||