Debian Codegraph @

doc/html-original/ALE/download/ale-0.8.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 in v0.8.0; 0.1 in v0.8.1 and later]
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 --3d-chain &lt;g> Use chain <g> by default to render 3d output. [0.8.4 and later]
73
74 </pre>
75
76 <h3>Chain Examples</h3>
77
78 <pre>
79 triangle:2 ALE 0.6.0 merging (roughly)
80 fine:box:1 Drizzling (roughly)
81 fine:sinc*lanc:8 High-frequency preservation
82 last:nex:sinc*lanc:8 Useful for video stabilization
83 fine:box:1,triangle:2 Multi-resolution rendering
84 fine:sinc*lanc:8,sinc*lanc:8 Multi-resolution rendering
85 </pre>
86
87 <h2>Invariants</h2>
88
89 <p>Invariants determine whether the rendered pixel value should be taken from a
90 single frame, or from an average of all frames. If from a single frame, it can
91 be the first, last, minimal, or maximal pixel value. Averages include mean
92 and, in versions 0.8.1 and later, the median. By default, the mean is used.
93 (Note that using the median value may require allocation of a quantity of
94 memory linear in the number of frames.) The syntax is as follows:
95
96 <blockquote>
97 <table>
98 <tr><th align=left>Syntax</th><th><pre> </pre></th><th align=left>Description</th></tr>
99 <tr><td>avg:&lt;SSFE&gt;<td><td>Mean value
100 <tr><td>median:&lt;SSFE&gt;<td><td>Median value [0.8.1 and later]
101 <tr><td>max:&lt;SSFE&gt;<td><td>Maximum value
102 <tr><td>min:&lt;SSFE&gt;<td><td>Minimum value
103 <tr><td>first:&lt;SSFE&gt;<td><td>First value
104 <tr><td>last:&lt;SSFE&gt;<td><td>Last value
105 <tr><td>&lt;SSFE&gt;<td><td>Same as avg:&lt;SSFE&gt;
106 </table>
107 </blockquote>
108
109 <h2>Scaled Sampling Filter with Exclusion (SSFE)</h2>
110
111 <p>SSFEs qualify SSFs, indicating whether exclusion regions should be honored.
112
113 <blockquote>
114 <table>
115 <tr><th align=left>Syntax</th><th><pre> </pre></th><th align=left>Description</th></tr>
116 <tr><td>ex:&lt;SSF&gt;<td><td>Honor exclusion regions
117 <tr><td>nex:&lt;SSF&gt;<td><td>Don't honor exclusion regions
118 <tr><td>&lt;SSF&gt;<td><td>Same as ex:&lt;SSF&gt;
119 </table>
120 </blockquote>
121
122 <h2>Scaled Sampling Filter (SSF)</h2>
123
124 <p>SSFs indicate whether filtering should occur at the resolution of the output
125 image, or at the minimum of input and output image resolutions. The former prevents loss
126 of details; the latter prevents aliasing.
127
128 <blockquote>
129 <table>
130 <tr><th align=left>Syntax</th><th><pre> </pre></th><th align=left>Description</th></tr>
131 <tr><td>fine:&lt;SF&gt;<td><td>Filter at full output image resolution
132 <tr><td>coarse:&lt;SF&gt;<td><td>Filter at minimum resolution
133 <tr><td>&lt;SF&gt;<td><td>Same as coarse:&lt;SF&gt;
134 </table>
135 </blockquote>
136
137 <h3>SSF Options</h3>
138 <pre>
139 --afilter &lt;s&gt; Use SSF &lt;s&gt; to interpolate points in alignment.
140 </pre>
141
142 <h2>Sampling Filter (SF)</h2>
143
144 <p>SFs are used to limit bandwidth. Primitive functions and pointwise multiplication of these
145 functions (windowing) are available.
146
147 <blockquote>
148 <table>
149 <tr><th align=left>Syntax</th><th><pre> </pre></th><th align=left>Description</th></tr>
150 <tr><td>sinc<td><td>Sinc filter: (sin &pi;x) / (&pi;x)</td>
151 <tr><td>lanc:&lt;x&gt;<td><td>Lanczos, diameter x.
152 <tr><td>triangle:&lt;x&gt;<td><td>Triangle, diameter x.
153 <tr><td>box:&lt;x&gt;<td><td>Box, diameter x.
154 <tr><td>zero<td><td>Zero function
155 <tr><td>&lt;f&gt;*&lt;f&gt;<td><td>Pointwise multiplication (windowing)
156 </table>
157 </blockquote>
158
159 <h2>Defaults</h2>
160
161 <p>ALE defaults are as follows:</p>
162
163 <pre>
164 dchain Varies by <a href="../../defaults/">default setting</a>
165 achain Varies by <a href="../../defaults/">default setting</a>
166 afilter internal (approximates triangle:2)
167 </pre>
168
169
170 <br>
171 <hr>
172 <i>Copyright 2003, 2004 <a href="mailto:[email protected]">David Hilvert</a></i>
173 <p>Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
174
175
176 </body>
177 </html>