| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>profcheck</title> |
| 5 | <meta http-equiv="content-type" content="text/html; |
| 6 | charset=windows-1252"> |
| 7 | <meta name="author" content="Graeme Gill"> |
| 8 | </head> |
| 9 | <body> |
| 10 | <h2><b>profile/profcheck</b></h2> |
| 11 | <h3>Summary</h3> |
| 12 | Check an <a href="File_Formats.html#ICC">ICC</a> profile |
| 13 | against <a href="File_Formats.html#.ti3">.ti3</a> test chart |
| 14 | data, and optionally create a pruned .ti3 file.<br> |
| 15 | <h3>Usage Summary</h3> |
| 16 | <small><span style="font-family: monospace;">profcheck |
| 17 | [-options] data.ti3 iccprofile.icm</span><br style="font-family: |
| 18 | monospace;"> |
| 19 | <span style="font-family: monospace;"></span></small><small><span |
| 20 | style="font-family: monospace;">-v |
| 21 | [level] Verbosity level (default |
| 22 | 1), 2 to print each DE</span></small><small><span |
| 23 | style="font-family: monospace;"></span><br style="font-family: |
| 24 | monospace;"> |
| 25 | <span style="font-family: monospace;"> -c |
| 26 | |
| 27 | Show |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | CIE94 delta E values</span><br style="font-family: monospace;"> |
| 38 | <span style="font-family: monospace;"> -k |
| 39 | |
| 40 | Show CIEDE2000 delta E values</span><br |
| 41 | style="font-family: monospace;"> |
| 42 | <span style="font-family: monospace;"> -w |
| 43 | |
| 44 | create |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | X3DOM visualization (iccprofile.x3d.html)</span><br |
| 55 | style="font-family: monospace;"> |
| 56 | <span style="font-family: monospace;"> -x |
| 57 | |
| 58 | Use |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | X3DOM axes<br> |
| 69 | -m |
| 70 | Make |
| 71 | X3DOM |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | lines a minimum of 0.5<br style="font-family: monospace;"> |
| 82 | </span><span style="font-family: monospace;"> -e |
| 83 | Color |
| 84 | vectors |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | acording to delta E<br> |
| 95 | -s |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | Sort output by delta E<br> |
| 101 | -h |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | Plot a histogram of delta E's<br> |
| 111 | -P |
| 112 | de |
| 113 | Create a pruned .ti3 with points less or equal to de delta E<br |
| 114 | style="font-family: monospace;"> |
| 115 | </span> <span style="font-family: monospace;"> -d |
| 116 | devval1,deval2,devvalN</span><br style="font-family: monospace;"> |
| 117 | <span style="font-family: monospace;"> |
| 118 | |
| 119 | Specify |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | |
| 125 | |
| 126 | |
| 127 | |
| 128 | |
| 129 | a device value to sort against</span><br style="font-family: |
| 130 | monospace;"> |
| 131 | <span style="font-family: monospace;"> -p |
| 132 | |
| 133 | Sort |
| 134 | |
| 135 | |
| 136 | |
| 137 | |
| 138 | |
| 139 | |
| 140 | |
| 141 | |
| 142 | |
| 143 | device value by PCS/Lab target</span><br style="font-family: |
| 144 | monospace;"> |
| 145 | <span style="font-family: monospace;">-f |
| 146 | [illum] Use Fluorescent Whitening |
| 147 | Agent compensation [opt. simulated inst. illum.:<br> |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | M0, M1, M2, A, C, D50 (def.), D50M2, D65, F5, F8, F10 or |
| 159 | file.sp]<br> |
| 160 | -i illum Choose |
| 161 | illuminant for computation of CIE XYZ from spectral data & |
| 162 | FWA:<br> |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | |
| 173 | A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp</span><span |
| 174 | style="font-family: monospace;"></span><br style="font-family: |
| 175 | monospace;"> |
| 176 | <span style="font-family: monospace;"> -o |
| 177 | observ Choose CIE Observer for |
| 178 | spectral data:</span><br style="font-family: monospace;"> |
| 179 | <span style="font-family: monospace;"></span></small><small><span |
| 180 | style="font-family: monospace;"> |
| 181 | |
| 182 | |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | |
| 188 | |
| 189 | |
| 190 | 1931_2 </span></small><small><span style="font-family: |
| 191 | monospace;">(def.)</span></small><small><span |
| 192 | style="font-family: monospace;">, 1964_10, </span></small><small><span |
| 193 | style="font-family: monospace;"><tt><small>2015_2, 2015_10, </small></tt>S&B |
| 194 | |
| 195 | |
| 196 | 1955_2, shaw, J&V 1978_2</span></small><small><span |
| 197 | style="font-family: monospace;"> or file.cmf<br> |
| 198 | -I intent r = relative |
| 199 | colorimetric, a = absolute (default)<br style="font-family: |
| 200 | monospace;"> |
| 201 | </span><i style="font-family: monospace;"> data.ti3</i><span |
| 202 | style="font-family: monospace;"> |
| 203 | Test point data file</span><br style="font-family: |
| 204 | monospace;"> |
| 205 | <i style="font-family: monospace;"> iccprofile.icm</i><span |
| 206 | style="font-family: monospace;"> Profile to check</span></small> |
| 207 | <br> |
| 208 | <h3>Usage Details and Discussion</h3> |
| 209 | <b> profcheck</b> provides a way of checking how well an <a |
| 210 | href="File_Formats.html#ICC">ICC</a> profile conforms to the test |
| 211 | sample data that was used to create it (or other test samples that |
| 212 | are from the same device). This is the same sort of check done |
| 213 | within the profile making tool (<a href="colprof.html">colprof</a>), |
| 214 | but having a separate tool provides some flexibility. The |
| 215 | absolute forward table in the profile is used to create PCS values |
| 216 | from the sample points, and the profiles PCS value then compared to |
| 217 | the PCS values of the measured sample points. Note the lower delta E |
| 218 | values are not always a better measure of how good a profile is. The |
| 219 | aim of a profile is to model the underlying characteristics of a |
| 220 | device, not to slavishly reproduce the sampled data point values. |
| 221 | Sampled data point values contain device variation and instrument |
| 222 | reading inaccuracies, and a good profiler will try and filter out |
| 223 | this noise, resulting in some deliberate differences between the |
| 224 | profile and the sample points used to create it.<br> |
| 225 | <br> |
| 226 | The <b>-v</b> flag prints out extra information during the |
| 227 | checking. A value greater than 1 will print the color values of each |
| 228 | test point on a line. The line consists of:<br> |
| 229 | <b>[</b><i>Delta_E</i><b>]</b><i> Patch_no</i><b>:</b><i> |
| 230 | Device values </i><b>-></b><i> Profile PCS values </i><b>should |
| 231 | |
| 232 | |
| 233 | |
| 234 | be</b><i> .ti3 PCS values</i><br> |
| 235 | <br> |
| 236 | The <b>-c</b> option causes the differences between the test values |
| 237 | and the profile prediction of the color for each device value to be |
| 238 | displayed in CIE94 delta E, rather than plain L*a*b* delta E. CIE94 |
| 239 | delta E has a closer correspondence with perceived color differences |
| 240 | than the default CIE76 delta E values.<br> |
| 241 | <br> |
| 242 | The <b>-k</b> option causes the differences between the test values |
| 243 | and the profile prediction of the color for each device value to be |
| 244 | displayed in CIEDE2000 delta E, rather than plain L*a*b* delta E. |
| 245 | CIEDE2000 delta E has a closer correspondence with perceived color |
| 246 | differences than either CIE76 or CIE94 delta E values.<br> |
| 247 | <br> |
| 248 | The <b>-w</b> creates a <a href="File_Formats.html#X3DOM">X3DOM</a> |
| 249 | 3D visualization of the delta E's between the test points and the |
| 250 | profiles prediction of the resulting colors.<br> |
| 251 | <br> |
| 252 | The <b>-x</b> flag adds Lab axes to the X3DOM output.<br> |
| 253 | <br> |
| 254 | The <b>-m</b> flag makes each error line a minimum of 0.5 delta E |
| 255 | long, so that all the points are visible. This makes it easier to |
| 256 | view the distribution of test points in the reference set.<br> |
| 257 | <br> |
| 258 | The <span style="font-weight: bold;">-e</span> flag causes the |
| 259 | error vectors in the X3DOM output to be color coded according to |
| 260 | their lengths, from longest to shortest: yellow, red, magenta, blue, |
| 261 | cyan and green.<br> |
| 262 | <br> |
| 263 | The <b>-s</b> flag will cause the -v2 patch by patch delta E output |
| 264 | to be sort from largest to smallest. This is useful in identifying |
| 265 | badly read patches.<br> |
| 266 | <br> |
| 267 | The <b>-h</b> flag will display a histogram plot of the fit delta |
| 268 | E's, as well as print each bin's details. The X scale is delta E, |
| 269 | the Y scale is % area of each bin.<br> |
| 270 | <br> |
| 271 | The <b>-P N.NN</b> option will create a pruned .ti3 file called |
| 272 | data_pN.NN that contains just the measurement points that have a fit |
| 273 | delta E of less than or equal to the given delta E threshold. This |
| 274 | can be useful if you know that there are faulty or poor accuracy |
| 275 | readings in the data set. Use profcheck -h to examine the fit delta |
| 276 | E histogram to choose a threshold that cuts off the tail, and then |
| 277 | profcheck -P to create the pruned data set. You can check that this |
| 278 | is appropriate if a profcheck -h on the resulting profile no longer |
| 279 | has a long tail. <b>Note</b> that using this procedure will be of |
| 280 | no benefit if the tail is due to an inherently poor fit of the |
| 281 | profile to the data rather than reading inaccuracy, even if it makes |
| 282 | the fit appear to be better.<br> |
| 283 | <br> |
| 284 | <b>NOTE</b> that the pruning does not take any special care as to |
| 285 | what test points are pruned - it may prune important points such as |
| 286 | <b>white</b> and <b>black</b> points!<br> |
| 287 | <br> |
| 288 | The <b>-d</b> parameters allow the specification of a particular |
| 289 | device value, and the test point by test point output will be sorted |
| 290 | by distance from the given device value. This can be useful in |
| 291 | determining how well "supported" the profile is in a particular area |
| 292 | of the colorspace.<br> |
| 293 | <br> |
| 294 | If the <b>-p </b>flag is used in combination with the <b>-d</b> |
| 295 | parameters, then the test point by test point output will be sorted |
| 296 | by distance in PCS (Lab) space rather than distance in device space.<br> |
| 297 | <br> |
| 298 | The <b>-f</b> flag enables Fluorescent Whitening Agent (FWA) |
| 299 | compensation. This only works if spectral data is available and, the |
| 300 | instrument is not UV filtered. FWA compensation adjusts the |
| 301 | spectral samples so that they appear to have been measured using an |
| 302 | illuminant that has a different level of Ultra Violet to the one the |
| 303 | instrument actually used in the measurement. The optional |
| 304 | illumination parameter allows specifying a standard or custom |
| 305 | illumination spectrum to be used as the similated instrument |
| 306 | illuminant, overriding the default <b>D50</b> or CIE computation |
| 307 | illuminant used for FWA (see <b>-i</b> below<b>). </b>See <a |
| 308 | href="colprof.html#f">colprof -f</a> for a fuller explanation. The |
| 309 | same value should be used as was used during the creation of the |
| 310 | profile.<br> |
| 311 | <br> |
| 312 | The <b>-i</b> flag allows specifying a standard or custom |
| 313 | illumination spectrum, applied to the spectral test point values to |
| 314 | compute CIE tristimulus values. <b>A</b>, <b>D50</b>, <b>D50M2, |
| 315 | D65</b>, <b>F5</b>, <b>F8</b>, <b>F10</b> are a selection of |
| 316 | standard illuminant spectrums, with <b>D50</b> being the default. |
| 317 | If a filename is specified instead, it will be assumed to be an |
| 318 | Argyll specific <a href="File_Formats.html#.sp">.sp</a> spectrum |
| 319 | file. If FWA compensation is used during measurement, this |
| 320 | illuminant will be used by default as the simulated instrument |
| 321 | illuminant. The same value should be used as was used during the |
| 322 | creation of the profile.<br> |
| 323 | <br> |
| 324 | <a name="o"></a> The <b>-o</b> flag allows specifying a tristimulus |
| 325 | observer, and is used to compute PCS (Profile Connection Space) |
| 326 | tristimulus values. The following choices are available:<br> |
| 327 | <b> 1931_2</b> selects the standard CIE 1931 2 degree |
| 328 | observer. The default.<br> |
| 329 | <b>1964_10</b> selects the standard CIE 1964 10 degree |
| 330 | observer.<br> |
| 331 | <b> 2015_2</b> selects the standard CIE 2015 2 degree |
| 332 | observer.<br> |
| 333 | <b>2015_10</b> selects the standard CIE 2015 10 degree |
| 334 | observer.<br> |
| 335 | <b>1955_2</b> selects the Stiles and Birch 1955 2 degree |
| 336 | observer<br> |
| 337 | <b>1978_2 </b>selects the Judd and Voss 1978 2 degree |
| 338 | observer<br> |
| 339 | <b>shaw</b> selects the Shaw and Fairchild 1997 2 degree |
| 340 | observer<br> |
| 341 | <i><b>file.cmf</b></i> selects an observer specified by the |
| 342 | given <a href="File_Formats.html#.cmf">.cmf</a> file.<br> |
| 343 | <br> |
| 344 | The same parameter value should be used as was used during the |
| 345 | creation of the profile.<br> |
| 346 | <br> |
| 347 | The <span style="font-weight: bold;">-I</span> parameter allows |
| 348 | changing the intent used in looking up the ICC profile colors to |
| 349 | relative colorimetric. This would <span style="text-decoration: |
| 350 | underline;">not</span> be used if you are checking a profile |
| 351 | against the .ti3 file that was used to create it, since, since |
| 352 | profiles are always made from absolute colorimetric measurement |
| 353 | values.<br> |
| 354 | <br> |
| 355 | <br> |
| 356 | <br> |
| 357 | <br> |
| 358 | <br> |
| 359 | </body> |
| 360 | </html> |