Debian Codegraph @

doc/viewgam.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>viewgam</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>gamut/viewgam</b></h2>
11 <h3>Summary</h3>
12 Convert one or more gamuts into a&nbsp;<a
13 href="File_Formats.html#X3DOM">X3DOM</a> 3D visualization file.
14 &nbsp;This allows visual comparison of several gamut surfaces.<br>
15 Also allows creating the intersection (overlap) between two gamuts.
16 This is useful in measuring and visualizing the coverage of one
17 gamut of another.<br>
18 <br>
19 See <a href="3dformat.html">3D Viewing Format</a> for switching to
20 VRML or X3D output format.<br>
21 <h3>Usage<br>
22 </h3>
23 <small><span style="font-family: monospace;">viewgam { [-c color]
24 [-t trans] [-w|s] </span><span style="font-style: italic;
25 font-family: monospace;">infile.gam</span><span
26 style="font-family: monospace;"> } ... </span><span
27 style="font-style: italic; font-family: monospace;">outfile.x3d.html</span><br
28 style="font-family: monospace;">
29 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
30 For
31
32
33
34
35 each input gamut file:</span><br style="font-family: monospace;">
36 <span style="font-family: monospace;">&nbsp;-c </span><i
37 style="font-family: monospace;">color</i><span
38 style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
39 Color
40 to
41 make
42
43
44
45
46 gamut, r = red, g = green, b = blue</span><br
47 style="font-family: monospace;">
48 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
49 &nbsp;&nbsp;
50 c
51
52
53
54
55 = cyan, m = magenta, y = yellow, w = white</span><br
56 style="font-family: monospace;">
57 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
58 n
59
60
61
62
63 = natural color</span><br style="font-family: monospace;">
64 <span style="font-family: monospace;">&nbsp;-t </span><i
65 style="font-family: monospace;">trans</i><span
66 style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
67 Set
68 transparency
69 from
70
71
72
73
74 0.0 (opaque) to 1.0 (invisible)</span><br style="font-family:
75 monospace;">
76 <span style="font-family: monospace;">&nbsp;-w&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
77 Show
78
79
80
81
82 as a wireframe</span><br style="font-family: monospace;">
83 <span style="font-family: monospace;">&nbsp;-s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
84 Show
85
86
87
88
89 as a solid surface</span><br style="font-family: monospace;">
90 <i style="font-family: monospace;"> &nbsp;infile.gam</i><span
91 style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
92 Name of </span><i style="font-family: monospace;">infile</i><a
93 style="font-family: monospace;" href="File_Formats.html#.gam">.gam</a><span
94 style="font-family: monospace;"> file</span><br
95 style="font-family: monospace;">
96 <br style="font-family: monospace;">
97 <span style="font-family: monospace;">&nbsp;-n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
98 Don't
99
100
101
102
103 add Lab axes<br>
104 &nbsp;-i &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Compute and
105 print intersecting volume of first 2 gamuts<br>
106 &nbsp;-I isect.gam&nbsp;&nbsp; Same as -i, but save intersection
107 gamut to isect.gam<br>
108 &nbsp;-o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
109
110 Print &amp; plot points on first gamut that are outside second
111 gamut<br style="font-family: monospace;">
112 </span><span style="font-family: monospace;">&nbsp;</span><i
113 style="font-family: monospace;">outfile&nbsp;</i><span
114 style="font-family: monospace;"><i> &nbsp; &nbsp;&nbsp;&nbsp; </i>Base
115
116
117
118 name of output </span><i style="font-family: monospace;">outfile.x3d.html</i><span
119 style="font-family: monospace;"> file</span></small> <br>
120 <h3>Usage Details and Discussion</h3>
121 <b>viewgam</b> creates a X3DOM file that allows the &nbsp;viewing
122 and comparing of multiple gamut files by representing them as solid
123 surfaces, wireframes, etc. It takes as input a list of gamut files,
124 each file preceded by any options that are to apply to the display
125 of &nbsp;that particular gamut. <br>
126 <br>
127 The options that can be specified for each input gamut are:<br>
128 <br>
129 <b>-c</b> <i>color</i> allows the color of the surface or wireframe
130 to be specified. Any of a number of predefined colors (red, green,
131 blue, cyan, magenta, yellow, white) can be used, as well as allowing
132 the color to reflect the natural color of that point in the
133 colorspace.<br>
134 <br>
135 <b>-t</b> <i>trans</i> allows the transparency of the surface&nbsp;
136 to be specified. A value of 0.2 might be a good place to start.
137 Using transparency generally leads to a slower display than the
138 default opaque surface treatment, but can make it possible to see
139 within a solid gamut surface.<br>
140 <br>
141 <b>-w</b> forces the gamut surface to be rendered as a wireframe.<br>
142 <br>
143 <b>-s</b> forces the gamut surface to be rendered as a solid
144 surface.<br>
145 <br>
146 By default, the first gamut is treated as a solid with natural
147 coloring, with the second and subsequent gamuts being wireframes
148 with colors of white, red, cyan, yellow, green and blue, with
149 decreasing visibility.<br>
150 <br>
151 The <b>-n</b> flag turns off display of the default L*a*b* axes in
152 the output.<br>
153 <br>
154 The <span style="font-weight: bold;">-i</span> flag computes the
155 intersecting volume of the first two gamuts (in cubic color units,
156 usually L*a*b*), as well as the volumes of the two gamuts and the
157 percentage the intersection is of the two gamuts. This is a useful
158 measure of the coverage one gamut has of another. If <span
159 style="font-weight: bold;">-I</span> is used, then as well as
160 printing the volume, the intersecting gamut will be saved to the <span
161 style="font-style: italic;">isect.gam</span> file.<br>
162 <br>
163 The <span style="font-weight: bold;">-o</span> flag checks points
164 on the surface of the first gamut, and prints them out if they are
165 outside the second gamut. The delta E outside the second gamut is
166 printed first in square brackets. It also creates a visualization
167 file outfile_oog.x3d.html of the portion of the first gamut that is
168 outside the second.<br>
169 <br>
170 The final argument is the base name of the X3DOM file to save the
171 resulting composite 3D visualization file to. If the name given
172 doesn't have an extension, one will be automatically added.<br>
173 <br>
174 </body>
175 </html>