Debian Codegraph @

doc/html-original/ALE/download/ale-0.7.x-user/rendering/chains/index.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>ALE User Manual: Rendering Chains</title>
5
6 <style type="text/css">
7 TABLE.ba { max-width: 678; text-align: center; padding-bottom: 15; padding-top: 5}
8 TABLE.inline { padding-right: 300; clear: left}
9 TD.text_table {padding-left: 2; padding-right: 2; border-width: 1}
10 H2 {clear: left}
11 P {max-width: none; padding-right: 300; clear: left}
12 BLOCKQUOTE {padding-right: 400 }
13 LI {max-width: 640; clear: left}
14 P.footer {max-width: none; width: auto; padding-left: 0}
15 P.header {max-width: none; width: auto; padding-left: 0}
16 HR.main {max-width: 640; clear: left; padding-left: 0; margin-left: 0}
17 HR.footer {clear: both}
18 </style>
19 </head><body>
20
21
22
23 <table align=right valign=top width=160>
24 <td valign=top height=600 width=160>
25 <a href="http://auricle.dyndns.org/ALE/">
26 <big>ALE</big>
27 <br>
28 Image Processing Software
29 <br>
30 <br>
31 <small>Deblurring, Anti-aliasing, and Superresolution.</small></a>
32 <br><br>
33 <big>
34 Local Operation
35 </big>
36 <hr>
37 localhost<br>
38 2684415918<br>
39 </table>
40
41
42
43 <p><b>[ <a href="../">Up</a> ]</b></p>
44 <h1>ALE Rendering Chains</h1>
45
46 <p>The ALE incremental renderer is configured using rendering chains. Rendering chains are
47 constructed hierarchically from: invariants, SSFEs (scaled sampling filters
48 with exclusion), SSFs (scaled sampling filters), and sampling filters. Each of
49 these components is described in a section below. Defaults are outlined in the
50 final section.
51
52 <h2>Chains</h2>
53
54 <p>The chain is the top level of the rendering chain hierarchy, and is composed of a
55 sequence of invariants. Syntactically, a chain is specified as a number of
56 invariants separated by commas:
57
58 <blockquote>
59 <code>invariant<sub>1</sub>,invariant<sub>2</sub>,invariant<sub>3</sub>,...,invariant<sub>n</sub></code>
60 </blockquote>
61
62 <p>Each rendered pixel is assigned a value at the first invariant whose weight
63 exceeds the weight threshold, or otherwise at the last invariant in the sequence.
64
65 <h3>Chain Options</h3>
66
67 <pre>
68 --wt &lt;w&gt; Set weight threshold for defined pixels (default is 0.8).
69 --dchain &lt;g&gt; Use chain &lt;g&gt; to render the default output.
70 --ochain &lt;g&gt; &lt;o&gt; Use chain &lt;g&gt; to render output file &lt;o&gt;.
71 --achain &lt;g&gt; Use chain &lt;g&gt; to render the alignment reference image.
72 </pre>
73
74 <h3>Chain Examples</h3>
75
76 <pre>
77 triangle:2 ALE 0.6.0 merging (roughly)
78 fine:box:1 Drizzling (roughly)
79 fine:sinc*lanc:8 High-frequency preservation
80 last:nex:sinc*lanc:8 Useful for video stabilization
81 fine:box:1,triangle:2 Multi-resolution rendering
82 fine:sinc*lanc:8,sinc*lanc:8 Multi-resolution rendering
83 </pre>
84
85 <h2>Invariants</h2>
86
87 <p>Invariants determine whether the rendered pixel value should be taken from a
88 single frame, or from an average of all frames. If from a single frame, it can
89 be the first, last, minimal, or maximal pixel value. By default, the average
90 is used. The syntax is as follows:
91
92 <blockquote>
93 <table>
94 <tr><th align=left>Syntax</th><th><pre> </pre></th><th align=left>Description</th></tr>
95 <tr><td>avg:&lt;SSFE&gt;<td><td>Average value
96 <tr><td>max:&lt;SSFE&gt;<td><td>Maximum value
97 <tr><td>min:&lt;SSFE&gt;<td><td>Minimum value
98 <tr><td>first:&lt;SSFE&gt;<td><td>First value
99 <tr><td>last:&lt;SSFE&gt;<td><td>Last value
100 <tr><td>&lt;SSFE&gt;<td><td>Same as avg:&lt;SSFE&gt;
101 </table>
102 </blockquote>
103
104 <h2>Scaled Sampling Filter with Exclusion (SSFE)</h2>
105
106 <p>SSFEs qualify SSFs, indicating whether exclusion regions should be honored.
107
108 <blockquote>
109 <table>
110 <tr><th align=left>Syntax</th><th><pre> </pre></th><th align=left>Description</th></tr>
111 <tr><td>ex:&lt;SSF&gt;<td><td>Honor exclusion regions
112 <tr><td>nex:&lt;SSF&gt;<td><td>Don't honor exclusion regions
113 <tr><td>&lt;SSF&gt;<td><td>Same as ex:&lt;SSF&gt;
114 </table>
115 </blockquote>
116
117 <h2>Scaled Sampling Filter (SSF)</h2>
118
119 <p>SSFs indicate whether filtering should occur at the resolution of the output
120 image, or at the minimum of input and output image resolutions. The former prevents loss
121 of details; the latter prevents aliasing.
122
123 <blockquote>
124 <table>
125 <tr><th align=left>Syntax</th><th><pre> </pre></th><th align=left>Description</th></tr>
126 <tr><td>fine:&lt;SF&gt;<td><td>Filter at full output image resolution
127 <tr><td>coarse:&lt;SF&gt;<td><td>Filter at minimum resolution
128 <tr><td>&lt;SF&gt;<td><td>Same as coarse:&lt;SF&gt;
129 </table>
130 </blockquote>
131
132 <h3>SSF Options</h3>
133 <pre>
134 --afilter &lt;s&gt; Use SSF &lt;s&gt; to interpolate points in alignment.
135 </pre>
136
137 <h2>Sampling Filter (SF)</h2>
138
139 <p>SFs are used to limit bandwidth. Primitive functions and pointwise multiplication of these
140 functions (windowing) are available.
141
142 <blockquote>
143 <table>
144 <tr><th align=left>Syntax</th><th><pre> </pre></th><th align=left>Description</th></tr>
145 <tr><td>sinc<td><td>Sinc filter: (sin &pi;x) / (&pi;x)</td>
146 <tr><td>lanc:&lt;x&gt;<td><td>Lanczos, diameter x.
147 <tr><td>triangle:&lt;x&gt;<td><td>Triangle, diameter x.
148 <tr><td>box:&lt;x&gt;<td><td>Box, diameter x.
149 <tr><td>zero<td><td>Zero function
150 <tr><td>&lt;f&gt;*&lt;f&gt;<td><td>Pointwise multiplication (windowing)
151 </table>
152 </blockquote>
153
154 <h2>Defaults</h2>
155
156 <p>ALE defaults are as follows:</p>
157
158 <pre>
159 dchain Varies by <a href="../../defaults/">default setting</a>
160 achain Varies by <a href="../../defaults/">default setting</a>
161 afilter internal (approximates triangle:2)
162 </pre>
163
164
165 <br>
166 <hr>
167 <i>Copyright 2003, 2004 <a href="mailto:[email protected]">David Hilvert</a></i>
168 <p>Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
169
170
171 </body>
172 </html>