MATLAB Release Notes Previous page   Next Page

Reading and Writing L*a*b* Color Data

The imread function can now read color data that uses the L*a*b* color space from TIFF files. The TIFF files can contain L*a*b* values that are in 8-bit or 16-bit CIELAB encodings or in 8-bit or 16-bit ICCLAB encodings.

If a file contains 8-bit or 16-bit CIELAB data, imread automatically converts the data into 8-bit or 16-bit ICCLAB encoding. The 8-bit or 16-bit CIELAB data cannot be represented as a MATLAB array because it contains a combination of signed and unsigned values.

The imwrite function can write L*a*b* data to a file using either the 8-bit or 16-bit CIELAB encoding or the 8-bit or 16-bit ICCLAB encoding. You select the encoding by specifying the value of the ColorSpace parameter.


Previous page  MATLAB 6.5.1 Release Notes Major Bug Fixes Next page

© 1994-2005 The MathWorks, Inc.