Image Processing Toolbox Release Notes Previous page   Next Page

New ICC Color Profile Export Function

The toolbox includes a new function, iccwrite, that you can use to write International Color Consortium (ICC) color profile data to a file. ICC profiles provide color management systems with the information necessary to convert color data between native device color spaces and device-independent color spaces, called Profile Connection Space (PCS).

The toolbox also includes a function, isicc, that can verify whether the data is a valid ICC profile. The iccwrite function can output profile data in accordance with both Version 2 (ICC.1:2001-04) and Version 4 (ICC.1:2001-12) of the ICC specification. For more information about the changes between Version 2 and Version 4 of the specification, go to the ICC Web site, www.color.org.

In addition, iccread, makecform, and applycform all now work with Version 4 profiles as well as Version 2 profiles, and with color profiles with more than four channels.

Changes to iccread

To add color profile export support, and to accommodate Version 4 of the specification, there are some differences in the way data is returned by iccread. In the structure returned by iccread some of the fields that contained text strings in previous releases are now structures. Accessing the text string in the fields requires an additional level of dereferencing. For example, the value of the Description field was a text string.

Now, the value of this field is a structure with two fields: String and Optional. To access the text string, you must access the String field in this structure.


Previous page  Texture Analysis New Demos Next page

© 1994-2005 The MathWorks, Inc.