| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>mpplu</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>xicc/mpplu</b></h2> |
| 11 | <h3>Summary</h3> |
| 12 | Lookup individual color values though an <a |
| 13 | href="File_Formats.html#MPP">MPP</a> profile. Also create MPP |
| 14 | gamut files or <a href="File_Formats.html#X3DOM">X3DOM</a> |
| 15 | views.<br> |
| 16 | <h3>Usage</h3> |
| 17 | <tt>mpplu [-v level] [-f func] [-i intent] [-o order] <i>profile.mpp</i></tt><tt><br> |
| 18 | </tt><tt> |
| 19 | -v |
| 20 | |
| 21 | |
| 22 | |
| 23 | Verbose</tt><tt><br> |
| 24 | </tt><tt> -f function f = forward, b = backwards</tt><tt><br> |
| 25 | </tt><tt> -p oride x = XYZ_PCS, |
| 26 | l = Lab_PCS, y = Yxy, s = spectral,</tt><tt><br> |
| 27 | </tt><tt> -l limit override default ink |
| 28 | limit, 1 - N00%</tt><tt><br> |
| 29 | </tt><tt> -i illum Choose illuminant for |
| 30 | print/transparency spectral data:</tt><tt><br> |
| 31 | </tt><tt> |
| 32 | |
| 33 | A, C, D50 (def.), D50M2, D65, F5, F8, F10 or |
| 34 | file.sp</tt><tt><br> |
| 35 | </tt><tt> -o observ Choose CIE Observer for |
| 36 | spectral data:</tt><tt><br> |
| 37 | </tt><tt> |
| 38 | |
| 39 | 1931_2 (def.), 1964_10, 2015_2, 2015_10, |
| 40 | S&B |
| 41 | 1955_2, shaw, J&V 1978_2 or file.cmf</tt><tt><br> |
| 42 | </tt><tt> -u |
| 43 | Use Fluorescent Whitening Agent compensation</tt><tt><br> |
| 44 | </tt><tt> |
| 45 | -s |
| 46 | |
| 47 | Print spectrum for each lookup</tt><tt><br> |
| 48 | </tt><tt> |
| 49 | -S |
| 50 | |
| 51 | Plot spectrum for each lookup</tt><tt><br> |
| 52 | </tt><tt> -g |
| 53 | Create gamut output</tt><tt><br> |
| 54 | </tt><tt> -w |
| 55 | Create gamut X3DOM as well</tt><tt><br> |
| 56 | </tt><tt> |
| 57 | -n |
| 58 | Don't |
| 59 | |
| 60 | |
| 61 | |
| 62 | add X3DOM axes</tt><tt><br> |
| 63 | </tt><tt> -a |
| 64 | n |
| 65 | Gamut transparency level</tt><tt><br> |
| 66 | </tt><tt> -d n |
| 67 | Gamut surface detail level</tt><tt><br> |
| 68 | </tt><tt> |
| 69 | -e |
| 70 | |
| 71 | Create VRML edge plot</tt><tt><br> |
| 72 | </tt><tt> |
| 73 | -E |
| 74 | |
| 75 | Create VRML all possible edge plot</tt><tt><br> |
| 76 | </tt><tt> |
| 77 | -F |
| 78 | |
| 79 | Create VRML face plot</tt><br> |
| 80 | |
| 81 | |
| 82 | <tt> -t num Invoke |
| 83 | debugging test code "num" 1..n</tt><tt><br> |
| 84 | </tt><tt> |
| 85 | |
| 86 | 1 - check partial derivative for device input</tt><tt><br> |
| 87 | </tt><tt> |
| 88 | |
| 89 | 2 - create overlap diagnostic X3DOM gamut |
| 90 | surface</tt><tt><br> |
| 91 | </tt><tt> <i>profile.mpp</i> Profile to be used</tt><br |
| 92 | style="font-family: monospace;"> |
| 93 | <br style="font-family: monospace;"> |
| 94 | The colors to be translated should be fed into |
| 95 | standard input,<br style="font-family: monospace;"> |
| 96 | one input color per line, white space separated.<br |
| 97 | style="font-family: monospace;"> |
| 98 | A line starting with a # will be ignored.<br |
| 99 | style="font-family: monospace;"> |
| 100 | A line not starting with a number will terminate |
| 101 | the program. <br> |
| 102 | <h3>Usage Details and Discussion</h3> |
| 103 | This is an analogous tool to <a href="icclu.html"> icclu </a>, but |
| 104 | applying to <a href="File_Formats.html#MPP">MPP</a> profile, rather |
| 105 | than <a href="File_Formats.html#ICC">ICC</a> profiles. Because MPP |
| 106 | profiles can also contain a spectral description of device behavior, |
| 107 | there are extra options in mpplu to describe how to convert spectral |
| 108 | values into CIE tristimulus values.<br> |
| 109 | Some additional functionality is included in mpplu, analogous to <a |
| 110 | href="iccgamut.html"> iccgamut</a>, allowing gamut files and |
| 111 | images to be generated from MPP profiles.<br> |
| 112 | <br> |
| 113 | The <b>-v</b> flag causes extra information about the profile to be |
| 114 | printed.<br> |
| 115 | <br> |
| 116 | The <b>-f</b> flag is experimental, and should be ignored.<br> |
| 117 | <br> |
| 118 | Normally L*a*b* is displayed, but this can be changed using the the |
| 119 | <b>-p</b> flag and XYZ, Yxy, or spectral values to be be displayed.<br> |
| 120 | <br> |
| 121 | If an illuminant, observer or Fluorescent Whitening Agent |
| 122 | compensation is selected, then the CIE tristimulus values will be |
| 123 | computed from the spectral information in the MPP profile (if |
| 124 | present).<br> |
| 125 | <br> |
| 126 | The <b>-l</b> flag overrides any default ink limit (Total Area |
| 127 | Coverage) recorded in the profile. The ink limit has an effect on |
| 128 | the results of a gamut generated from the profile.<br> |
| 129 | <br> |
| 130 | The <b>-i</b> flag allows specifying a standard or custom |
| 131 | illumination spectrum, applied to reflective spectral profile data |
| 132 | to compute CIE tristimulus values. <b>A</b>, <b>D50</b>, <b>D65</b>, |
| 133 | <b>F5</b>, <b>F8</b>, <b>F10</b> are a selection of standard |
| 134 | illuminant spectrums, with <b>D50</b> being the default. If a |
| 135 | filename is specified instead, it will be assumed to be an Argyll |
| 136 | specific <a href="File_Formats.html#.sp">.sp</a> spectrum file.<br> |
| 137 | <br> |
| 138 | <a name="o"></a> The <b>-o</b> flag allows specifying a tristimulus |
| 139 | observer, and is used to compute PCS (Profile Connection Space) |
| 140 | tristimulus values. The following choices are available:<br> |
| 141 | <b> 1931_2</b> selects the standard CIE 1931 2 degree |
| 142 | observer. The default.<br> |
| 143 | <b>1964_10</b> selects the standard CIE 1964 10 degree |
| 144 | observer.<br> |
| 145 | <b> 2015_2</b> selects the standard CIE 2015 2 degree observer<br> |
| 146 | <b>2015_10</b> selects the standard CIE 2015 10 degree |
| 147 | observer<br> |
| 148 | <b>1955_2</b> selects the Stiles and Birch 1955 2 degree |
| 149 | observer<br> |
| 150 | <b>1978_2 </b>selects the Judd and Voss 1978 2 degree |
| 151 | observer<br> |
| 152 | <b>shaw</b> selects the Shaw and Fairchild 1997 2 degree |
| 153 | observer<br> |
| 154 | <i><b>file.cmf</b></i> selects an observer specified by the |
| 155 | given <a href="File_Formats.html#.cmf">.cmf</a> file.<br> |
| 156 | <br> |
| 157 | The <b>-u</b> flag enables Fluorescent Whitening Agent |
| 158 | compensation, which compensates for the effect a different |
| 159 | illuminant will have, on any Fluorescent Whitening Agent present in |
| 160 | the reflective media.<br> |
| 161 | <br> |
| 162 | The <b>-s</b> flag causes the spectral values for each lookup to be |
| 163 | printed, if the profile supports this.<br> |
| 164 | <br> |
| 165 | The <b>-S</b> flag causes the spectral values for each lookup to be |
| 166 | ploitted, if the profile supports this.<br> |
| 167 | <br> |
| 168 | The <b>-g</b> flag causes mpplu to simply generate a gamut surface |
| 169 | description from the profile, creating a <a |
| 170 | href="File_Formats.html#.gam">.gam</a> file with the same base |
| 171 | name as the given profile.<br> |
| 172 | <br> |
| 173 | The <b>-w</b> flag causes the gamut surface to be generated in <a |
| 174 | href="File_Formats.html#X3DOM">X3DOM</a> format as well as <a |
| 175 | href="File_Formats.html#.gam">.gam</a> format.<br> |
| 176 | <br> |
| 177 | The -n flag suppresses the X3DOM axes.<br> |
| 178 | <br> |
| 179 | The -a n parameter sets a transparency level in the X3DOM surface.<br> |
| 180 | <br> |
| 181 | The <b>-d</b> parameter controls the level of detail displayed in |
| 182 | the gamut surface. The parameter roughly corresponds to a deltaE |
| 183 | value, so smaller values give greater detail. The default value is |
| 184 | around 10, and is a good place to start. Small values may take a lot |
| 185 | of time to generate, and will produce big files.<br> |
| 186 | <br> |
| 187 | The <b>-e</b> flag creates an X3DOM file named profile_e.x3d.html |
| 188 | file containing a plot of the device cube/hyper-cube edges in |
| 189 | colorspace. This can be useful in visualizing how the colorants |
| 190 | interact.<br> |
| 191 | <br> |
| 192 | The <b>-E</b> flag creates an X3DOM file named profile_e.x3d.html |
| 193 | file containing a plot of all possible device cube/hyper-cube vertex |
| 194 | paths in colorspace. This can be useful in visualizing how the |
| 195 | colorants interact.<br> |
| 196 | <br> |
| 197 | The <b>-F</b> flag creates an X3DOM file named profile_f.x3d.html |
| 198 | file containing a plot of all possible device cube/hyper-cube 2 |
| 199 | dimensional faces in colorspace. The faces will be randomly colored. |
| 200 | This can be useful in visualizing how the colorants interact.<br> |
| 201 | |
| 202 | |
| 203 | <br> |
| 204 | The <b>-t</b> parameter invokes special MPP test and diagnostic |
| 205 | output.<br> |
| 206 | <br> |
| 207 | <br> |
| 208 | <br> |
| 209 | <br> |
| 210 | </body> |
| 211 | </html> |