File: nipguidese2.html

package info (click to toggle)
nip2 8.9.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,352 kB
  • sloc: ansic: 64,077; sh: 4,681; yacc: 1,133; makefile: 927; lex: 386; xml: 40; perl: 17
file content (228 lines) | stat: -rw-r--r-- 10,933 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>nip2 for reflectogram mosaics</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<!-- 3,html --> 
<meta name="src" content="nipguide.tex"> 
<link rel="stylesheet" type="text/css" href="nipguide.css"> 
</head><body 
>
  <!--l. 226--><div class="crosslinks"><p class="noindent">[<a 
href="nipguidese3.html" >next</a>] [<a 
href="nipguidese1.html" >prev</a>] [<a 
href="nipguidese1.html#tailnipguidese1.html" >prev-tail</a>] [<a 
href="#tailnipguidese2.html">tail</a>] [<a 
href="nipguidech2.html#nipguidese2.html" >up</a>] </p></div>
  <h3 class="sectionHead"><span class="titlemark">2.2    </span> <a 
 id="x8-70002.2"></a><span 
class="phvr7t-x-x-80">nip2 </span>for reflectogram mosaics</h3>
<!--l. 227--><p class="noindent" ><a name="nip_label_sec:irtut"></a>
<!--l. 229--><p class="indent" >  This section quickly builds an infrared reflectogram
mosaic using the sample images that come with <span 
class="phvr7t-x-x-80">nip2</span>. See
Chapter&#x00A0;<a 
href="nipguidech3.html#x10-90003">3<!--tex4ht:ref: sec:ir --></a> for detailed coverage.
<!--l. 233--><p class="indent" >  Click on <span 
class="phvr7t-x-x-80">File </span>/ <span 
class="phvr7t-x-x-80">Open Examples</span>. You should see a directory
called <span 
class="phvr7t-x-x-80">1</span><span 
class="phvr7t-x-x-80">_point</span><span 
class="phvr7t-x-x-80">_mosaic</span>. Doubleclick and you&#8217;ll see a file
called <span 
class="phvr7t-x-x-80">1pt</span><span 
class="phvr7t-x-x-80">_mosaic.ws</span>. Doubleclick that and you&#8217;ll load the
workspace for this example.
<!--l. 238--><p class="indent" >  If you&#8217;d rather make the workspace yourself, click on the
file type filter and select <span 
class="phvr7t-x-x-80">All files</span>. A set of 8 images should
appear. Click on the first file, shift-click on the last, and
click <span 
class="phvr7t-x-x-80">Open</span>. This will create a group of all eight images.
Right-click on the row and select <span 
class="phvr7t-x-x-80">Ungroup </span>to unpack to a set
of rows. See Figure&#x00A0;<a 
href="#x8-70018">2.8<!--tex4ht:ref: fg:loadsamples --></a>.
<!--l. 244--><p class="indent" >  <hr class="figure"><div class="figure" 
>
                                           
                                                                                       

                                                                                       
<a 
 id="x8-70018"></a>
                                           
                                                                                       

                                                                                       
<div class="center" 
>
<!--l. 245--><p class="noindent" >
<!--l. 245--><p class="noindent" ><img 
src="figs/snap14.jpg" alt="PIC"  
></div>
<br /> <div class="caption" 
><span class="id">Figure&#x00A0;2.8: </span><span  
class="content">Loading the sample images</span></div><!--tex4ht:label?: x8-70018 -->
<!--l. 247--><p class="noindent" ><a name="nip_label_fg:loadsamples"></a>
                                           
                                                                                       

                                                                                       
<!--l. 248--><p class="indent" >  </div><hr class="endfigure">
<!--l. 250--><p class="indent" >  The images have been named to match their positions in
the mosaic, so for example <span 
class="phvr7t-x-x-80">cd2.1.jpg </span>is the first image in row
two. Open up viewing windows for the first two images by
double clicking on the thumbnails. Move the two opened
images viewers so that they are side by side. Adjust the
zoom (using the <span 
class="phvr7t-x-x-80">i </span>and <span 
class="phvr7t-x-x-80">o </span>keys) and the pan (by dragging with
the middle mouse button) so that the overlap area is visible
in both images.
<!--l. 258--><p class="indent" >  Mark a tie-point on each image by Ctrl-left-clicking on a
feature you can see in both images, see Figure&#x00A0;<a 
href="#x8-70029">2.9<!--tex4ht:ref: fg:readyjoin --></a>. Move a
point after you&#8217;ve marked it by dragging on the label. You
don&#8217;t need to be exact: <span 
class="phvr7t-x-x-80">nip2 </span>just uses the point you select as
the start point for a search. It can cope with misses of up to
about 10 pixels. To mosaic the two images together, click on
<span 
class="phvr7t-x-x-80">Toolkits </span>/ <span 
class="phvr7t-x-x-80">Tasks </span>/ <span 
class="phvr7t-x-x-80">Mosaic </span>/ <span 
class="phvr7t-x-x-80">One Point </span>/ <span 
class="phvr7t-x-x-80">Left to Right</span>. See
Figure&#x00A0;<a 
href="#x8-700310">2.10<!--tex4ht:ref: fg:joined --></a>.
<!--l. 266--><p class="indent" >  <hr class="figure"><div class="figure" 
>
                                           
                                                                                       

                                                                                       
<a 
 id="x8-70029"></a>
                                           
                                                                                       

                                                                                       
<div class="center" 
>
<!--l. 267--><p class="noindent" >
<!--l. 267--><p class="noindent" ><img 
src="figs/snap15.jpg" alt="PIC"  
></div>
<br /> <div class="caption" 
><span class="id">Figure&#x00A0;2.9: </span><span  
class="content">Ready to join</span></div><!--tex4ht:label?: x8-70029 -->
<!--l. 269--><p class="noindent" ><a name="nip_label_fg:readyjoin"></a>
                                           
                                                                                       

                                                                                       
<!--l. 270--><p class="indent" >  </div><hr class="endfigure">
<!--l. 272--><p class="indent" >  <hr class="figure"><div class="figure" 
>
                                           
                                                                                       

                                                                                       
<a 
 id="x8-700310"></a>
                                           
                                                                                       

                                                                                       
<div class="center" 
>
<!--l. 273--><p class="noindent" >
<!--l. 273--><p class="noindent" ><img 
src="figs/snap16.jpg" alt="PIC"  
></div>
<br /> <div class="caption" 
><span class="id">Figure&#x00A0;2.10: </span><span  
class="content">Joined images</span></div><!--tex4ht:label?: x8-700310 -->
<!--l. 275--><p class="noindent" ><a name="nip_label_fg:joined"></a>
                                           
                                                                                       

                                                                                       
<!--l. 276--><p class="indent" >  </div><hr class="endfigure">
<!--l. 278--><p class="indent" >  Picking items deep in the toolkit menu is fiddly, so <span 
class="phvr7t-x-x-80">nip2</span>
has several shortcuts. First, you can tear off any toolkit
menu by clicking on the dotted line at the top. Secondly,
you can assign any keyboard accelerator to any menu item.
Navigate to the menu item and while it is selected, press the
key combination you want to use as a shortcut (for
example, Ctrl-L might be good for <span 
class="phvr7t-x-x-80">Mosaic </span>/ <span 
class="phvr7t-x-x-80">One Point</span>
/ <span 
class="phvr7t-x-x-80">Left to Right</span>). Now whenever you press Ctrl-L with
the keyboard focus in the main window, you will do a
left-right mosaic join. Finally, you can use the toolkit
browser to display a selection of the tools in a pane on the
right-hand side of the main window. Click on <span 
class="phvr7t-x-x-80">View </span>/
<span 
class="phvr7t-x-x-80">Browse Toolkits</span>, then type &#8220;mosaic&#8221; into the search box
at the top. The toolkit browser will display all items
related to mosaicing. Double-click an item to do that
action.
<!--l. 292--><p class="indent" >  Some systems won&#8217;t let you edit menu shortcuts by
default. For example, on GNOME, you need to enable this
in <span 
class="phvr7t-x-x-80">System </span>/ <span 
class="phvr7t-x-x-80">Preferences </span>/ <span 
class="phvr7t-x-x-80">Menus &amp; Toolbars</span>.
<!--l. 296--><p class="indent" >  Join the rest of the pairs of sample images together
left-right. Once you have made all the rows, join the rows
together in turn to make the complete image using <span 
class="phvr7t-x-x-80">Mosaic </span>/
<span 
class="phvr7t-x-x-80">One Point </span>/ <span 
class="phvr7t-x-x-80">Top to Bottom</span>.
<!--l. 301--><p class="indent" >  When you&#8217;ve built the whole thing you&#8217;ll see that there
are differences in brightness between the tiles that make up
your composite image. You can fix most problems like this
automatically by selecting your final mosaiced image and
clicking on <span 
class="phvr7t-x-x-80">Mosaic </span>/ <span 
class="phvr7t-x-x-80">Balance</span>. This operation takes your
mosaic apart, examines the overlap areas for differences
in brightness, calculates a set of adjustment factors
to minimise these differences, and then rebuilds the
mosaic.
<!--l. 309--><p class="indent" >  There can be some problems left even after mosaic
balance. Use <span 
class="phvr7t-x-x-80">Mosaic </span>/ <span 
class="phvr7t-x-x-80">Tilt Brightness </span>to remove any left-right
or up-down graduations in brightness.
<!--l. 313--><p class="indent" >  Save your mosaic workspace for future reference by
clicking on <span 
class="phvr7t-x-x-80">File </span>/ <span 
class="phvr7t-x-x-80">Save Workspace</span>. To save just the mosaiced
image, right click on the thumbnail and select <span 
class="phvr7t-x-x-80">Save</span>
<span 
class="phvr7t-x-x-80">As</span>.
                                           
                                                                                       

                                                                                       
  <!--l. 317--><div class="crosslinks"><p class="noindent">[<a 
href="nipguidese3.html" >next</a>] [<a 
href="nipguidese1.html" >prev</a>] [<a 
href="nipguidese1.html#tailnipguidese1.html" >prev-tail</a>] [<a 
href="nipguidese2.html" >front</a>] [<a 
href="nipguidech2.html#nipguidese2.html" >up</a>] </p></div>
<!--l. 317--><p class="indent" >  <a 
 id="tailnipguidese2.html"></a>  
</body></html>