Debian Codegraph @

doc/html-original/ALE/download/ale-0.6.0-user/alignment/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: Alignment</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>Alignment</h1>
45
46 Alignment compares each supplemental frame in the sequence with an intermediate
47 rendering known as the reference image. Based on this comparison, a
48 transformation is assigned to the supplemental frame. Many different
49 transformations can be assigned before alignment of the frame is complete.
50
51 <h2>Match statistics</h2>
52
53 The match statistic is a single number indicating how well two frames are
54 aligned; this number is used to select or reject transformations during
55 alignment. After alignment is complete, ALE displays the final match
56 statistic. If the value is close to 100%, then the frames are well aligned.
57 Very low values can indicate misalignment. However, even frames that are very
58 well aligned do not usually achieve 100% alignment, and, for improving image
59 quality, ALE works most effectively when match values are less than 100%.
60
61 <h3>Match threshold</h3>
62
63 A match threshold can be specified; no images with final match statistics
64 falling below this threshold will contribute to the final output.
65
66 <pre>
67 --threshold=x Min. match threshold; a perfect match is 100. (0 is default)
68 </pre>
69
70 <h3>Alignment error metric exponent</h3>
71
72 The function calculated at each pixel to determine the match statistic is known
73 as the alignment error metric, and is of the form <i>(a-b)<sup>x</sup></i>.
74 The value <i>x</i> is known as the error metric exponent, and is 2 by default.
75 Larger numbers usually mean that alignment will be more influenced by smaller
76 image features.
77
78 <pre>
79 --metric=x Set the alignment error metric exponent. (2 is default)
80 </pre>
81
82 <h3>Alignment Channel Options</h3>
83
84 In calculating the per-pixel error metric, there are three ways in which ALE
85 can handle color channels. By default, ALE adds the channels before
86 calculating the match. However, ALE can also rely solely on the green color
87 channel or use all three channels separately.
88
89 <pre>
90 --align-all Align images using all color channels
91 --align-green Align images using the green channel
92 --align-sum Align images using a sum of channels [default]
93 </pre>
94
95 <h3>Monte Carlo Alignment</h3>
96
97 Aligning large images can take a very long time if all pixels are examined in
98 determining the match statistic, so it is often desirable to examine a smaller
99 number of pixels. The Monte Carlo alignment option allows this. The number of
100 pixels used is specified as a percentage, and smaller numbers usually mean
101 faster, but less precise, alignment.
102
103 <pre>
104 --mc &lt;x> Align using, on average, x% of available pixels (0 &lt; x &lt; 100)
105 --no-mc Align using all pixels. [default]
106 </pre>
107
108 <h2>Perturbation</h2>
109
110 Every dot displayed after an input filename indicates a change in perturbation
111 size. The size is initially set to be high, allowing large changes in
112 alignment to be evaluated, and is reduced as the locally optimal alignment is
113 found for each size. When this size drops below a specified lower bound, the
114 frame is considered to be aligned.
115
116 <h3>Perturbation bounds</h3>
117
118 These options determine the upper and lower bounds for perturbation size. The
119 perturb-upper and perturb-lower bounds apply to rotation (in degrees),
120 translation (in pixels), and the movement of the boundaries of a projected
121 frame (in pixels). The rot-upper bound disables rotational perturbation above
122 a certain perturbation size (in degrees). To disable alignment, set
123 perturb-upper to zero.
124
125 <pre>
126 --perturb-upper=x Perturbation upper bound in pixels/degrees (32.0 is default)
127 --perturb-lower=x Perturbation lower bound in pixels/degrees (.125 is default)
128 --rot-upper=x Rotation-specific perturbation upper bound (32.0 is default)
129 </pre>
130
131 <h3>Level of detail</h3>
132
133 <p>Alignment at large perturbation sizes is usually carried out on
134 reduced-detail images. To disable this, set lod-max to
135 log<sub>2</sub>(perturb-upper).
136
137 <pre>
138 --lod-max=x LOD scale factor is max(1, (2^floor(x))/perturb) (1 is def.)
139 </pre>
140
141 <h2>Transformations</h2>
142
143 The variables used to adjust alignment are called transformations, and map
144 points from a source image to a target image.
145
146 <p>There are three transformation classes that can be used by ALE. The
147 translational class applies only translations to the inputs, changing only the
148 position of images; the Euclidean class applies translations and rotations; and
149 the projective class applies general projective transformations, which are the
150 most general type of transformation supported by ALE.
151
152 <p>The Euclidean class is most appropriate for use with scanners and as a first
153 pass for projective transformations. The projective class is most appropriate
154 for use with cameras.
155
156 <p>Except when capturing flat scenes, ALE does not correct for perspective
157 changes, so movement of cameras should ideally be constrained so that no large
158 translations occur.
159
160 <h3>Transformation Class Options</h3>
161
162 <pre>
163 --translation Only adjust the position of images
164 --euclidean Adjust the position and orientation of images [default]
165 --projective Use projective transformations. Best quality, but slow.
166 </pre>
167
168 <h3>Transformation data file options</h3>
169
170 Transformations used in alignment can be loaded from a file or saved to a file.
171 This can be useful when performing alignment in several passes, or when
172 refining rendering options.
173
174 <p>Note that projective transformation data saved to a file cannot be used to
175 initialize other transformation types.
176
177 <pre>
178 --trans-load=x Load initial transformation settings from file x
179 --trans-save=x Save final transformation data in file x
180 </pre>
181
182 <h3>Alignment following</h3>
183
184 When frames are more closely aligned with adjacent frames in the sequence than
185 they are with the first frame in the sequence, alignment success can be
186 improved by specifying the --follow option. This option can be effective even
187 when initial alignment information is loaded from a file.
188
189 <pre>
190 --identity Frames align closely with the original frame. [default]
191 --follow Frames align closely with their immediate predecessor.
192 </pre>
193
194 <br>
195 <hr>
196 <i>Copyright 2003, 2004 <a href="mailto:[email protected]">David Hilvert</a></i>
197 <p>Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
198
199
200 </body>
201 </html>