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 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title>Image view window</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. 10--><div class="crosslinks"><p class="noindent">[<a
href="nipguidese10.html" >next</a>] [<a
href="#tailnipguidese9.html">tail</a>] [<a
href="nipguidech4.html#nipguidese9.html" >up</a>] </p></div>
<h3 class="sectionHead"><span class="titlemark">4.1 </span> <a
id="x17-280004.1"></a>Image view window</h3>
<!--l. 11--><p class="noindent" ><a name="nip_label_sec:view"></a>
<!--l. 13--><p class="indent" > Figure <a
href="nipguidese1.html#x7-60022">2.2<!--tex4ht:ref: fg:imageview --></a> shows <span
class="phvr7t-x-x-80">nip2</span>’s image view window with all the
toolbars turned on.
<!--l. 16--><p class="indent" > If you press <span
class="phvr7t-x-x-80">i </span>(or <span
class="phvr7t-x-x-80">+</span>) with the keyboard focus on the
image you will zoom in on the pixel your mouse pointer
is over. Press <span
class="phvr7t-x-x-80">o </span>(or <span
class="phvr7t-x-x-80">-</span>) to zoom out again, or press the
number keys <span
class="phvr7t-x-x-80">1</span>, <span
class="phvr7t-x-x-80">2</span>, <span
class="phvr7t-x-x-80">4 </span>and <span
class="phvr7t-x-x-80">8 </span>to jump straight to a particular
magnification. If you hold down the Ctrl key while pressing
these numbers, <span
class="phvr7t-x-x-80">nip2 </span>will zoom out by that amount. If
you press <span
class="phvr7t-x-x-80">0 </span>(the number zero), then <span
class="phvr7t-x-x-80">nip2 </span>will pick a
magnification or reduction which fits the image to the size
of the window.
<!--l. 25--><p class="indent" > When the image is too large for the window, you can
use the scroll bars to move about the image. With the
keyboard focus on the image the cursor keys left, right, up
and down move a few pixels in each direction; hold
down Shift as well to move a screenful at a time; hold down Ctrl as well to jump to the extreme edges of the
image.
<!--l. 31--><p class="indent" > You can also drag with the middle mouse button to pan
around the image. Use the mousewheel to pan up and down,
hold down Shift and the mousewheel to pan left and
right. Use Ctrl and the mousewheel to zoom in and
out.
<!--l. 35--><p class="indent" > Use the <span
class="phvr7t-x-x-80">View </span>menu to add extra elements to the window.
You can turn the status bar on and off, and you can add a
display control bar, a paintbox and a set of rulers to the
window.
<!--l. 40--><p class="indent" > <a
id="x17-280011"></a><hr class="float"><div class="float"
>
<div class="center"
>
<!--l. 40--><p class="noindent" >
<!--l. 40--><p class="noindent" ><img
src="figs/ir2.jpg" alt="PIC"
></div>
<br /> <div class="caption"
><span class="id">Figure 4.1: </span><span
class="content">The display control bar</span></div><!--tex4ht:label?: x17-280011 -->
<!--l. 42--><p class="noindent" ><a name="nip_label_fg:scr3"></a>
</div><hr class="endfloat" />
<!--l. 45--><p class="indent" > If you select <span
class="phvr7t-x-x-80">View </span>/ <span
class="phvr7t-x-x-80">Toolbar </span>/ <span
class="phvr7t-x-x-80">Display Control</span>, <span
class="phvr7t-x-x-80">nip2 </span>will add a
bar to the top of the window which you can use to change
the contrast and brightness of the image you are viewing.
The left-hand slider and text box set the gain for the image:
each pixel is multiplied by this amount before display.
The right-hand slider and text box set the offset: each
pixel has this value added to it before display. This
is useful for boosting the brightness in dark areas of
images.
<!--l. 53--><p class="indent" > <hr class="figure"><div class="figure"
>
<a
id="x17-280022"></a>
<div class="center"
>
<!--l. 54--><p class="noindent" >
<!--l. 54--><p class="noindent" ><img
src="figs/ir3.jpg" alt="PIC"
></div>
<br /> <div class="caption"
><span class="id">Figure 4.2: </span><span
class="content">The display control bar menu</span></div><!--tex4ht:label?: x17-280022 -->
<!--l. 56--><p class="noindent" ><a name="nip_label_fg:scr4"></a>
<!--l. 57--><p class="indent" > </div><hr class="endfigure">
<!--l. 59--><p class="indent" > If you click the left mouse button on the arrow to the left
of the display control bar, <span
class="phvr7t-x-x-80">nip2 </span>pops up a menu of useful
display functions — see Figure <a
href="#x17-280022">4.2<!--tex4ht:ref: fg:scr4 --></a>.
<!--l. 63--><p class="indent" > <span
class="phvr7t-x-x-80">Scale </span>searches the area of the image you are viewing for
the darkest and brightest points and chooses settings for the
gain and offset sliders which will stretch the image to use
the full range of your screen. <span
class="phvr7t-x-x-80">False colour </span>tries to make small
differences in brightness more visible by colour-coding
them.
<!--l. 69--><p class="indent" > If <span
class="phvr7t-x-x-80">Interpret </span>is turned on (it is by default), then <span
class="phvr7t-x-x-80">nip2 </span>will
look at the <span
class="phvr7t-x-x-80">Type </span>field in the image header, and use that as a
hint when transforming the image to a viewable form for
you. This is usually the behaviour you want. <span
class="phvr7t-x-x-80">Reset </span>moves
the sliders back to the default positions of 1.0 and 0.0.
<span
class="phvr7t-x-x-80">Set As Workspace Default </span>makes the current display bar
settings the default for all new image windows in this
workspace. Finally, <span
class="phvr7t-x-x-80">Hide </span>removes this display control
bar.
<!--l. 78--><p class="indent" > If you select <span
class="phvr7t-x-x-80">View </span>/ <span
class="phvr7t-x-x-80">Toolbar </span>/ <span
class="phvr7t-x-x-80">Rulers</span>, <span
class="phvr7t-x-x-80">nip2 </span>will add rulers to
the edges of the window which you can use to measure
numbers of pixels. If you left-drag from the ruler, you can
create a guide. Guides are useful for lining up other things
in the view window, and also affect paint box actions. A
right-button menu on the rulers lets you use a mm scale
rather than a pixel scale, and controls whether the <span
class="phvr7t-x-x-80">Xoffset</span>
and <span
class="phvr7t-x-x-80">Yoffset </span>header fields are used.
<!--l. 86--><p class="indent" > <a name="nip_label_sec:paintbox"></a> If you select <span
class="phvr7t-x-x-80">View </span>/ <span
class="phvr7t-x-x-80">Toolbar </span>/ <span
class="phvr7t-x-x-80">Paint</span>, <span
class="phvr7t-x-x-80">nip2 </span>adds a paint bar
to the top of the window. You can use the paint bar
to do simple edits to the image being displayed. See
Figure <a
href="#x17-280033">4.3<!--tex4ht:ref: fg:paint --></a>.
<!--l. 91--><p class="indent" > While the paint bar is very limited, it does have two
useful features. First, it can paint with any pixel value, even
complex numbers. For example you can take the fourier
transform of an image and paint out the peaks. Secondly, it
doesn’t operate on a memory copy of an image, it operates
directly on the file on disc. This means that you can paint
very quickly on images of any size, but it does make the
paint bar a bit dangerous.
<!--l. 98--><p class="indent" > Normally paint actions are live, that is, every time you
paint something all the objects which depend on the thing
you painted will recalculate. This can sometimes cause
annoying delays: there’s a preferences option to turn off
automatic recalculations for the paint bar.
<!--l. 104--><p class="indent" > <a
id="x17-280033"></a><hr class="float"><div class="float"
>
<div class="center"
>
<!--l. 104--><p class="noindent" >
<!--l. 104--><p class="noindent" ><img
src="figs/ir4.jpg" alt="PIC"
></div>
<br /> <div class="caption"
><span class="id">Figure 4.3: </span><span
class="content">The paint bar</span></div><!--tex4ht:label?: x17-280033 -->
<!--l. 106--><p class="noindent" ><a name="nip_label_fg:paint"></a>
</div><hr class="endfloat" />
<!--l. 109--><p class="indent" > The <span
class="phvr7t-x-x-80">Undo </span>and <span
class="phvr7t-x-x-80">Redo </span>buttons move forward and back
though paint actions. The <span
class="phvr7t-x-x-80">Clear </span>button wipes the undo/redo
history (useful if memory is getting low). There’s an option
in the preferences workspace which controls the number of
undo steps <span
class="phvr7t-x-x-80">nip2 </span>tracks.
<!--l. 114--><p class="indent" > The slider sets the nib diameter for drawing operations,
the black square is the current ink colour (you can drag and
drop colour, or pixel values, from other parts of <span
class="phvr7t-x-x-80">nip2</span>2),
and the text box at the far right is the text that will be
drawn by the text tool. The paint tools will ‘snap’ to
guides, points and regions, so you can line things up
easily.
<!--l. 120--><p class="indent" > You can mark regions on images by holding down Ctrl
and dragging down and right with the left mouse button.
You can move the region about by dragging on the
label with the left mouse button; you can resize it by
dragging with the left mouse button in the border; you
can get a useful context menu by right-clicking on the
label; and you can pop up a box which will let you edit
the region numerically by double-left-clicking on the
label.
<!--l. 127--><p class="indent" > If you drag up and left, you will make an <span
class="ptmri7t-">arrow</span>. If you
hold down Ctrl and just click the left mouse button, you will
make a <span
class="ptmri7t-">point</span>. If you drag from a horizontal or vertical ruler,
you’ll make a <span
class="ptmri7t-">guide</span>. Guides are useful for lining up other
things in the view window.
<!--l. 132--><p class="indent" > <span
class="phvr7t-x-x-80">View </span>/ <span
class="phvr7t-x-x-80">Image Header </span>shows the image metadata and
history. Use the search box to filter large metadata sets.
<!--l. 135--><p class="indent" > The <span
class="phvr7t-x-x-80">File </span>menu contains two useful items: select <span
class="phvr7t-x-x-80">Replace</span>
<span
class="phvr7t-x-x-80">Image </span>to change the image which is being displayed in the
window (you can also drag and drop new images in). Select
<span
class="phvr7t-x-x-80">Save Image </span>to save the image you are viewing to a file. See
<span
class="cmsy-10"></span><a
href="nipguidese10.html#x18-290004.2">4.2<!--tex4ht:ref: sec:loadsave --></a> for details on <span
class="phvr7t-x-x-80">nip2</span>’s load and save dialogs. Use <span
class="phvr7t-x-x-80">File </span>/
<span
class="phvr7t-x-x-80">New </span>to make regions, points, arrows and guides without the
mouse.
<!--l. 143--><div class="crosslinks"><p class="noindent">[<a
href="nipguidese10.html" >next</a>] [<a
href="nipguidese9.html" >front</a>] [<a
href="nipguidech4.html#nipguidese9.html" >up</a>] </p></div>
<!--l. 143--><p class="indent" > <a
id="tailnipguidese9.html"></a>
</body></html>
|