| Image Processing Toolbox User's Guide | ![]() |
Return true for valid ICC color profile
Syntax
Description
TF = isicc(P)
returns True if structure P is a valid ICC color profile; otherwise False.
isicc checks if P has a complete set of the tags required for an ICC profile. P must contain a Header field, which in turn must contain a Version field and a DeviceClass field. These fields, and others, are used to determine the set of required tags according to the ICC Profile Specification, either Version 2 (ICC.1:2001-04) or Version 4 (ICC.1:2001-12), which are available at www.color.org. The set of required tags is given in Section 6.3 in either version.
Example
Read in a profile and test its validity.
Create a MATLAB structure and test its validity.
See Also
applycform, iccread, iccwrite, makecform
| isgray | isind | ![]() |
© 1994-2005 The MathWorks, Inc.