| Graphics | ![]() |
Other 8-Bit and 16-Bit Array Support
MATLAB supports several other operations on uint8 and uint16 arrays, including
reshape, cat, permute, and the [] and ' operators
uint8 and uint16 arrays in MAT-files using save and load. (Remember that if you are loading or saving a graphics file format image, you must use the commands imread and imwrite instead.)
uint8 and uint16 arrays using find. However, the returned array is always of class double.
| Mathematical Operations Support for uint8 and uint16 | Converting an 8-Bit RGB Image to Grayscale | ![]() |
© 1994-2005 The MathWorks, Inc.