| 1 | <!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/html; |
| 5 | charset=windows-1252"> |
| 6 | <meta http-equiv="content-type" content="text/html; |
| 7 | charset=windows-1252"> |
| 8 | <meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) |
| 9 | [Netscape]"> |
| 10 | <title>Argyll 'arts' ICC tag</title> |
| 11 | </head> |
| 12 | <body> |
| 13 | <br> |
| 14 | <h2> <u>ArgyllCMS's 'arts' (Absolute to media Relative Transform |
| 15 | Space matrix) ICC tag (V1.0)<br> |
| 16 | </u></h2> |
| 17 | ArgyllCMS uses a registered (private) ICC tag to solve a long |
| 18 | standing Display profile compatibility issue. <br> |
| 19 | <br> |
| 20 | Other CMM and profile creation providers are most welcome to |
| 21 | implement this tag to improve ICC profile color behavior and |
| 22 | interoperability.<br> |
| 23 | <h2>The problem</h2> |
| 24 | The ICC V2 format originally provided no clear mechanism for Display |
| 25 | profiles to use a modern chromatic adaptation transform in dealing |
| 26 | with the D65 white point of typical displays. V2 profile makers |
| 27 | ended up taking three different approaches :- <br> |
| 28 | <ol> |
| 29 | <li>Use a Bradford chromatic transform for the media (display) |
| 30 | white to PCS D50 conversion. This was used in creating the |
| 31 | widely deployed HP & Microsoft sRGB profile, as well as the |
| 32 | AdobeRGB profile. This provides a good chromatic adaptation, but |
| 33 | Absolute Colorimetric will have errors if the profile is used |
| 34 | with a CMM that implements the the ICC specified "Wrong Von |
| 35 | Kries" chromatic adaptation to map relative colorimetric back to |
| 36 | absolute colorimetric rather than using the Bradford transform |
| 37 | it was created with. <br> |
| 38 | </li> |
| 39 | <li>Use the ICC specified "Wrong Von Kries" chromatic transform |
| 40 | from D65 to D50. This leads to poor relative colorimetric |
| 41 | behavior (the most important case), but gives correct Absolute |
| 42 | Colorimetric behavior.<br> |
| 43 | </li> |
| 44 | <li>Apply the Bradford transform to the measurement data and then |
| 45 | disable Absolute Intent for display profiles by setting the |
| 46 | mediaWhitePoint tag to D50. The latter approach was supplemented |
| 47 | later on with the introduction of the ChromaticAdapation |
| 48 | ('chad') tag, but this did not restore the Absolute Colorimetric |
| 49 | capability to Display profiles, since the 'chad' tag is not |
| 50 | formally part of the specified mechanism for implementing |
| 51 | Absolute Colorimetric. Unfortunately, this approach has been |
| 52 | adopted in the ICC V4 specifications</li> |
| 53 | </ol> |
| 54 | The ICC standard "Wrong Von Kries" chromatic transform for media |
| 55 | white to/from PCS D50 has disadvantages in regard to color behavior |
| 56 | for Output (i.e. print) profiles as well as Display profiles. With |
| 57 | most normal, white media this is not of great significance, since |
| 58 | the white point shift is small, but it grows in significance as the |
| 59 | color of the paper differs from white (i.e. tinted papers).<br> |
| 60 | <br> |
| 61 | For all these reasons, and in the pursuit of the best possible color |
| 62 | quality, ArgyllCMS uses the more color accurate Bradford chromatic |
| 63 | transform for all profiles types instead of the the ICC standard |
| 64 | "Wrong Von Kries" transform. This improves compatibility with the |
| 65 | (extremely common use case) of HP & Microsoft sRGB, and AdobeRGB |
| 66 | profiles where the color behavior of Bradford vs. "Wrong Von Kries" |
| 67 | is more critical; provides good color behavior for creating Display |
| 68 | profiles while giving accurate Absolute Colorimetric Intent |
| 69 | behavior; slightly improves the quality of Output profiles, most |
| 70 | noticeable with tinted stock, while having minimum incompatibility |
| 71 | with Output profiles created for normal, white printed media by |
| 72 | other profiling programs because the white point shift is typically |
| 73 | small (But to enable perfect compatibility of ArgyllCMS Output (i.e. |
| 74 | print) profiles with other CMM's, the default behavior can be |
| 75 | changed by using the <a |
| 76 | href="Environment.html#ARGYLL_CREATE_WRONG_VON_KRIES_OUTPUT_CLASS_REL_WP">ARGYLL_CREATE_WRONG_VON_KRIES_OUTPUT_CLASS_REL_WP</a> |
| 77 | environment variable).<br> |
| 78 | <br> |
| 79 | So the problem is that it is impossible to know for sure whether an |
| 80 | ArgyllCMS create profile, ICC V2 Display profile, or other widely |
| 81 | used ICC profiles such as sRGB or AdobeRGB has used a Bradford or |
| 82 | "Wrong Von Kries" chromatic transform in computing Absolute to/from |
| 83 | Relative white point transform.<br> |
| 84 | <h2>The solution</h2> |
| 85 | The ArgyllCMS SigAbsToRelTransSpace 'arts' tag holds a 3x3 matrix in |
| 86 | the first 9 elements<sup>*</sup> of a SigS15Fixed16ArrayType in the |
| 87 | usual ICC order (i.e. the same element order as the |
| 88 | ChromaticAdaptationTag 'chad' tag). This matrix holds the Sharpened |
| 89 | Cone space transform that the Media White point to/from PCS D50 |
| 90 | chromatic Von Kries transform is computed in, rather than the "Wrong |
| 91 | Von Kries" transform specified by ICC.1:2001-04 (ICCV2.4) Annex A, |
| 92 | pp 66, equations A.1, A.2 & A.3. So by default ArgyllCMS will |
| 93 | write an 'arts' tag with the Bradford matrix in it: <br> |
| 94 | <blockquote> sig 'arts'<br> |
| 95 | type 'sf32'<br> |
| 96 | S15Fixed16Array:<br> |
| 97 | No. elements = 9<br> |
| 98 | 0: 0.89509583<br> |
| 99 | 1: 0.26640320<br> |
| 100 | 2: -0.16140747<br> |
| 101 | 3: -0.75019836<br> |
| 102 | 4: 1.71350098<br> |
| 103 | 5: 0.03669739<br> |
| 104 | 6: 0.03889465<br> |
| 105 | 7: -0.06849670<br> |
| 106 | 8: 1.02960205<br> |
| 107 | </blockquote> |
| 108 | In contrast, ICC standard behavior is the equivalent of a unity |
| 109 | matrix.<br> |
| 110 | <br> |
| 111 | [ Note that ArgyllCMS will write an 'arts' tag containing a Bradford |
| 112 | matrix even for Display profile written using the 'chad' tag where |
| 113 | the the MediaWhitePointTag is set to D50, representing the cone |
| 114 | space used in computing the 'chad' tag. (see <a |
| 115 | href="Environment.html#ARGYLL_CREATE_DISPLAY_PROFILE_WITH_CHAD">ARGYLL_CREATE_DISPLAY_PROFILE_WITH_CHAD</a>) |
| 116 | i.e. for Display profiles, the 'chad' tag is regarded as just an |
| 117 | alternate means of representing the true Media White Point. ]<br> |
| 118 | <br> |
| 119 | On reading a profile, ArgyllCMS uses the following logic to set its |
| 120 | Media white to/from PCS D50 chromatic transform:<br> |
| 121 | <br> |
| 122 | if 'arts' tag is present:<br> |
| 123 | use it to compute |
| 124 | absolute <-> media relative white point transform.<br> |
| 125 | else:<br> |
| 126 | if ArgyllCMS created |
| 127 | profile (ICC header Profile Creator signature = 'argl')<br> |
| 128 | or V2 Display |
| 129 | profile && Media W.P. != D50:<br> |
| 130 | |
| 131 | use Bradford matrix to compute absolute <-> media relative |
| 132 | white point transform.<br> |
| 133 | else:<br> |
| 134 | |
| 135 | use unity matrix to compute absolute <-> media relative white |
| 136 | point transform.<br> |
| 137 | <br> |
| 138 | The 'arts' tag need not be written if the profile contains no 'wtpt' |
| 139 | MediaWhitePointTag tag.<br> |
| 140 | <br> |
| 141 | This provides a safe level of backwards compatibility, together with |
| 142 | the elimination of all ambiguity when the 'arts' tag is present, |
| 143 | allowing CMM and profile creators to use the preferred Bradford (or |
| 144 | other Sharpened Cone) space for Von Kries chromatic adaptation of |
| 145 | the media white point to/from PCS D50, and provide perfect |
| 146 | compatibility for the widely used sRGB and AdobeRGB profiles and |
| 147 | similiar.<br> |
| 148 | <h2>Conclusion</h2> |
| 149 | The 'arts' tag allows unambiguous use of the recommended Bradford |
| 150 | cone space transform in computing the Absolute Colorimetric (Media |
| 151 | Relative) to/from Relative Colorimetric (PCS D50) chromatic |
| 152 | transform in ICC profiles, while for the first time also providing |
| 153 | an unambiguously means of marking the use of the Bradford transform |
| 154 | in the very widely used standard sRGB and AdobeRGB colorspaces. If |
| 155 | widely adopted, the use of "Wrong Von Kries" chromatic transform in |
| 156 | ICC profiles could be safely abandoned.<br> |
| 157 | <br> |
| 158 | * If the SigS15Fixed16ArrayType has more than 9 elements, then just |
| 159 | the first 9 should be interpreted as a 3x3 matrix, and any elements |
| 160 | beyond that should be ignored.<br> |
| 161 | <br> |
| 162 | <br> |
| 163 | <br> |
| 164 | <br> |
| 165 | <br> |
| 166 | </body> |
| 167 | </html> |