r574: no message
[ctsim.git] / doc / ctsim-gui.tex
1 \chapter{The Graphical User Interface}\label{ctsim}\index{ctsim}\index{Graphical interface}%
2 \setheader{{\it CHAPTER \thechapter}}{}{}{\ctsimheadtitle}{}{{\it CHAPTER \thechapter}}%
3 \ctsimfooter%
4
5
6 \ctsim\ is the graphical shell for the CTSim project. This shell uses
7 the \urlref{wxWindows}{http://www.wxwindows.org} library for
8 cross-platform compatibility. The graphical shell is compatible
9 with Microsoft Windows, \urlref{GTK}{http://www.gtk.org}, and
10 \urlref{Motif}{http://www.openmotif.org} graphical environments.
11
12 \section{Starting CTSim}
13 \usage \texttt{ctsim [files to open...]}
14
15 You can invoke \ctsim\ by itself on the command line, or include
16 any number of files that you want \ctsim\ to
17 automatically open. \ctsim\ can open projection files, image
18 files, phantom files, and plot files.
19
20 On Microsoft Windows platforms, the simplest way to invoke \ctsim\ is
21 via the \emph{Start} menu under the \emph{Programs} sub-menu.
22
23 \section{Quick Start}\label{IDH_QUICKSTART}\index{Quick Start}
24 The fastest way to put \ctsim\ through it's basic operation is:
25 \begin{enumerate}\itemsep=0pt
26 \item \texttt{File - Create Phantom...} \\
27 This creates a window with the geometric phantom. Choose the \texttt{Herman} head phantom.
28 \item \texttt{Process - Rasterize...} \\
29 This creates an image file of the phantom by converting it from a
30 geometric definition into a rasterized image. You may use the defaults
31 shown in the dialog box.
32 \item \texttt{View - Auto...} \\
33 Use this command on the new rasterized image window. This will optimize the intensity scale for
34 viewing the soft-tissue details of the phantom. Select the \texttt{median} center and
35 a standard deviation factor of \texttt{0.1}.
36 \item \texttt{Process - Projections...} \\
37 Use this command on the geometric phantom window. This simulates the collection of x-ray
38 data. You may use the defaults shown in the dialog box. Additionally, you may wish to turn on
39 \texttt{Trace - Projections} to watch to x-ray data being simulated.
40 \item \texttt{Reconstruction - Filtered Backprojection...} \\
41 Use this command on the projection window. This will reconstruct an image
42 from the projections. Once again, you may use the defaults shown in the dialog box.
43 \item \texttt{View - Auto...} \\
44 Use this command on the new reconstructed image window. This will optimize the intensity scale for
45 viewing the soft-tissue details of the reconstruction. Select the \texttt{median} center and
46 a standard deviation factor of \texttt{0.1}.
47 \item \texttt{Analyze - Compare Images...} \\
48 Use this command on the rasterized phantom image window. This will bring up a dialog box
49 asking for the comparison image. Select the reconstruction image that you just made and also select the "Make difference image"
50 check box. You'll then see the image distance measurements and also a new window with the difference between the rasterized
51 phantom and the reconstruction.
52 \item \textbf{That's it!} You have just performed the basic operations with \ctsim. By varying the parameters of the rasterization,
53 projection, and reconstructions you perform endless computed tomography experiments. \ctsim\ also has many other visualization
54 and analysis features that you learn more about by reading the manual.
55 \end{enumerate}
56
57 \section{File Types}\index{File types}
58
59 \subsection{Phantom}
60 Besides loading phantom files from the disk, the Herman\cite{HERMAN80} and
61 Shepp-Logan\cite{SHEPP74} phantoms are built-in to \ctsim. Phantom files can be
62 read from and written to the disk. Phantom files are stored in a simple
63 ASCII format. A text editor is required to
64 create and edit these files.
65
66 \subsection{Image}
67 Image files contain 2-dimensional arrays that store 4-byte floating
68 point values. Images files can be either real or complex-valued.
69 Typically, all images are real-valued except for images that have been
70 processed by Fourier transforms. As you might expect,
71 complex-valued images are twice the size of real-valued images
72 since both a real and imaginary component need to be stored. When
73 complex-valued images are viewed on the screen, only the real
74 component is displayed.
75
76 Images files can    store any number of text labels. \ctsim\ uses
77 these labels for recording history information regarding
78 the creation and modifications of images.
79
80 \subsection{Projection}
81 Projection files are created from phantom files via the
82 projection process. Numerous options are available for the
83 creation of the these files. The files are stored in a binary
84 format with cross-platform compatibility on little and big-endian
85 architectures.
86
87 \subsection{Plot}
88 Plot files are created by \ctsim\ during analysis of image files.
89 They can be read from and written to the disk. They are stored as ASCII
90 files for easy cross-platform support and editing.
91
92 \section{Global Menu Commands}
93 These global commands are present on the menus of all windows.
94
95 \subsection{File - Create Phantom}\label{IDH_DLG_PHANTOM}\index{Dialog!Create phantom}
96 This command displays a dialog box showing the phantoms that are pre-programmed
97 into \ctsim. After selecting one of these phantoms, the new window with that
98 phantom will be generated. The pre-programmed phantoms are:
99
100 \begin{twocollist}
101 \twocolitem{\textbf{Herman}}{The Herman head phantom\cite{HERMAN80}}
102 \twocolitem{\textbf{Shepp-Logan}}{The head phantom of Shepp \& Logan\cite{SHEPP74}}
103 \twocolitem{\textbf{Unit pulse}}{A phantom that has a value of \texttt{1} for the
104 center of the phantom and \texttt{0} everywhere else.}
105 \end{twocollist}
106
107 \subsection{File - Create Filter}\label{IDH_DLG_FILTER}\index{Dialog!Create filter}
108 This command displays a dialog box showing the pre-programmed filters
109 of \ctsim. This command will create a 2-dimensional image of the selected filter.
110 The center of the filter is at the center of the image.
111
112 These filters can be created in their natural frequency domain or in their inverse
113 spatial domain.
114
115 \begin{twocollist}
116 \twocolitem{\textbf{Filter}}{Selects the filter to generate. The available filters are:
117
118 \begin{itemize}\itemsep=0pt
119 \item $|w|$ Bandlimit
120 \item $|w|$ Hamming
121 \item $|w|$ Hanning
122 \item $|w|$ Cosine
123 \item $|w|$ Sinc
124 \item Shepp
125 \item Bandlimit
126 \item Sinc
127 \item Hamming
128 \item Hanning
129 \item Cosine
130 \item Triangle
131 \end{itemize}
132 }
133 \twocolitem{\textbf{Domain}}{Selects either the \texttt{Frequency} or \texttt{Spatial} domain. The filters have the
134 frequency domain as their natural domain. The spatial domain is obtained either analytically or performing
135 an inverse Fourier transformation.}
136 \twocolitem{\textbf{X Size}}{Number of columns in the output image.}
137 \twocolitem{\textbf{Y Size}}{Number of rows in the output image.}
138 \twocolitem{\textbf{Hamming Parameter}}{ This parameter adjusts the smoothing of the Hamming
139 filter and can range from \texttt{0} to \texttt{1}.
140 At a setting of \texttt{1}, the Hamming filter is the same as the bandlimit filter.
141 At a setting of \texttt{0.54}, the Hamming filter is the same as the Hanning
142 window.}
143 \twocolitem{\textbf{Bandwidth}}{Sets the bandwidth of the filter.}
144 \end{twocollist}
145 \begin{twocollist}
146 \twocolitem{\textbf{Axis (input) Scale}}{Sets the scale for the filter input. By default, the input to the filter is
147 the distance in pixels from the center of the image. By changing this value, one can set a scale the input to the filter.
148 For example, if the output image is \texttt{101} by \texttt{101} pixels and thus the center of the image is at \texttt{(50,50)}, then a pixel
149 lying at point \texttt{100,50} would be 50 units from the center of the filter. By applying an \texttt{Axis scale} of
150 \texttt{0.1}, then that point would be scaled to 5 units from the center of the filter.}
151 \twocolitem{\textbf{Filter (output) Scale}}{Multiplies the output of the filter by this amount. By default, the filter has a maximum
152 value of \texttt{1}.}
153 \end{twocollist}
154
155 \subsection{File - Preferences}\label{IDH_DLG_PREFERENCES}\index{Dialog!Preferences}
156 This command displays a dialog box that allows users to control
157 the behavior of \ctsim. These options are saved across \ctsim\ sessions.
158 Under Microsoft Windows environments, they are stored in the registry.
159 On UNIX and Linux environments, they are stored in the user's home
160 directory with the filename of \texttt{.ctsim}.
161
162 \begin{twocollist}
163 \twocolitem{\textbf{Advanced options}}{This option is initially turned off in new installations.
164 These advanced options are not required for normal simulations. When \texttt{Advanced
165 Options} is set, \ctsim\ will display more options during scanning of phantoms and
166 the reconstruction of projections.}
167
168 \twocolitem{\textbf{Ask before closing new documents}}{This option is initially turned on in
169 new installations. With this option set, \ctsim\ will ask before closing
170 documents that have been modified or never saved on disk. By turning off
171 this option, \ctsim\ will never ask if you want to save a file -- you'll
172 be responsible for saving any files that you create.}
173
174 \twocolitem{\textbf{Verbose logging}}{This option is initially turned off in
175 new installations. With this option set, \ctsim\ will log more events than
176 usual. There extra events are not important for viewing with typical operation of
177 \ctsim.}
178
179 \twocolitem{\textbf{Show startup tips}}{This option is initially turned on in
180 new installations. With this option set, \ctsim\ will display
181 helpful tips when \ctsim\ is started.}
182
183 \twocolitem{\textbf{Run background tasks}}{This option is initially turned off in
184 new installations. With this option set, \ctsim\ execute lengthy calculations in the
185 background. A background window will appear when processes are running in the background
186 and will disappear when no background processes are executing. This background window shows
187 the status and progress of all background processes.}
188
189 \end{twocollist}
190
191 \subsection{File - Open}
192 This command opens a file section dialog box. Of special consideration
193 is the \texttt{File Type} combo box on the bottom of the dialog. You need
194 to set the this combo box to the type of file that you wish to open.
195
196 \subsection{File - Save}
197 This command saves the contents of the active window. If the window hasn't
198 been named, a dialog box will open asking for the file name to use.
199
200 \subsection{File - Close}
201 As one would expect, this closes the active window. If the contents of the window have not been
202 saved and the \emph{Advanced Preferences} option \texttt{Ask before closing new documents}
203 is turned on, then you will be prompted if decide if you want to save the contents of the window
204 prior to closing.
205
206 \subsection{File - Save As}
207 Allows the saving of the contents of the active window to any file name.
208
209 \subsection{Help - Contents}
210 This command displays the online help.
211
212 \subsection{Help - Tips}
213 This command displays a dialog with tips on using \ctsim.
214
215 \subsection{Help - Quick Start}
216 This command displays a recommend approach to helping new users learn to use \ctsim.
217
218 \subsection{Help - About}
219 This command shows the version number and operating environment of \ctsim.
220
221
222 \section{Phantom Menus}
223
224 \subsection{Properties}
225 Displays the properties of a phantom which includes:
226
227 \begin{itemize}\itemsep=0pt
228 \item Overall dimensions of a phantom
229 \item A list of all component phantom elements
230 \end{itemize}
231
232 \subsection{Process - Rasterize}\label{IDH_DLG_RASTERIZE}\index{Dialog!Rasterize}
233 This creates an image file from a phantom. Technically, it
234 converts the phantom from a vector (infinite resolution) object
235 into a 2-dimension array of floating-point pixels. The parameters
236 to set are:
237
238 \begin{twocollist}
239 \twocolitem{\textbf{X size}}{Number of columns in image file}
240 \twocolitem{\textbf{Y size}}{Number of rows in image file}
241 \twocolitem{\textbf{Samples per pixel}}{Numbers of samples taken
242 per pixel in both the x and y directions. For example, if the
243 \texttt{Samples per pixel} is set to \texttt{3}, then for every
244 pixel in the image file 9 samples \latexonly{($3\times3$)}\latexignore{(3 x 3)}
245 are averaged.}
246 \end{twocollist}
247
248 \subsection{Process - Projections}\label{IDH_DLG_PROJECTIONS}\index{Dialog!Projections}
249 This command creates a projection file from a phantom. The options
250 available when collecting projections are:
251
252 \begin{twocollist}
253 \twocolitem{\textbf{Geometry}}{Sets the scanner geometry. The available geometries are:
254   \begin{itemize}\itemsep=0pt
255     \item \texttt{Parallel}
256     \item \texttt{Equiangular}
257     \item \texttt{Equilinear}
258   \end{itemize}}
259 \twocolitem{\textbf{Number of detectors}}{Sets the number of
260 detectors in the detector array.}
261
262 \twocolitem{\textbf{Number of views}}{Sets the number of views
263 to collect.}
264
265 \twocolitem{\textbf{Samples per detector}}{Sets the number of
266 samples collected for each detector.}
267
268 \twocolitem{\textbf{View Ratio}}{Sets the field of view as a ratio
269 of the diameter of the phantom.  For normal scanning, use a value of
270 \texttt{1.0}.}
271
272 \twocolitem{\textbf{Scan Ratio}}{Sets the length of scanning as a
273 ratio of the view diameter. For normal scanning, use a value of \texttt{1.0}.}
274
275 \twocolitem{\textbf{Focal length ratio}}{Sets the distance between the
276 radiation source and the center of the phantom as a
277 ratio of the radius of the phantom. For parallel geometries, a value
278 of \texttt{1.0} is optimal. For other
279 geometries, this should be at least \texttt{2.0} to avoid artifacts.}
280 \end{twocollist}
281
282 \textbf{Advanced Options}
283
284 These options are visible only if \emph{Advanced Options} has been
285 selected in the \texttt{File - Preferences} dialog. These parameters
286 default to optimal settings and don't need to be adjusted except
287 by expert users.
288
289 \begin{twocollist}
290 \twocolitem{\textbf{Rotation Angle}}{Sets the rotation amount as a
291 fraction of a circle. For parallel geometries use a rotation angle of \texttt{0.5}
292 and for equilinear and equiangular geometries use a rotation angle
293 of \texttt{1}. Using any other rotation angle will lead to artifacts.}
294 \end{twocollist}
295
296
297
298 \section{Image Menus}
299 \subsection{File - Properties}
300 Properties of image files include:
301 \begin{itemize}\itemsep=0pt
302   \item Whether the image is real or complex-valued.
303   \item Numeric statistics (minimum, maximum, mean, median, mode, and standard deviation).
304   \item History labels (text descriptions of the processing for this image).
305 \end{itemize}
306
307 \subsection{File - Export}\label{IDH_DLG_EXPORT}\index{Image!Export}
308 This command allows for exporting image files to a standard
309 graphics file format. This is helpful when you want to take an
310 image and import it into another application. The current
311 \helprefn{intensity scale}{intensityscale} is used when exporting
312 the file. The supported graphic formats are:
313
314 \begin{twocollist}
315 \twocolitem{\textbf{PNG}}{Portable Network Graphics format. This uses 8-bits or
316 256 shades of gray.}
317 \twocolitem{\textbf{PNG-16}}{This is a 16-bit version of PNG which allows for
318 65536 shades of gray.}
319 \twocolitem{\textbf{PGM}}{Portable Graymap format. This is a common format used on
320 UNIX systems.}
321 \twocolitem{\textbf{PGM ASCII}}{ASCII version of PGM.}
322 \end{twocollist}
323
324
325 \subsection{View}
326 \subsubsection{Intensity Scale}\label{intensityscale}\index{Intensity scale}
327 These commands are used change the intensity scale for viewing the image.
328 These commands do not change the image data. When the minimum value is
329 set, then the color pure black is assigned to that image value. Similarly,
330 when the maximum value is set, the the color pure white is assigned to that
331 image value.
332
333 Changing the intensity scale is useful when examining different image features.
334 In clinical medicine, the intensity scale is often changed to examine bone
335 (high value) versus soft-tissue (medium value) features.
336
337 \subsubsection{Set}\label{IDH_DLG_MINMAX}
338 This command displays a dialog box that sets the lower
339 and upper values to display.
340
341 \subsubsection{Auto}\label{IDH_DLG_AUTOSCALE}\index{Auto scale}
342 This command displays a dialog box that allows \ctsim\ to automatically
343 make an intensity scale. The parameters that \ctsim\ needs to make this
344 automatic scale are:
345
346 \begin{twocollist}
347 \twocolitem{\textbf{Center}}{This sets the center of the intensity scale. Currently,
348 \ctsim\ allows you to use either the mean, mode, or median of the image
349 as the center of the intensity scale.}
350
351 \twocolitem{\textbf{Width}}{This sets the half-width of the intensity scale. The half-width
352 is specified as a multiple of the standard deviation.}
353 \end{twocollist}
354
355 As an example, if \texttt{median} is selected as the center and
356 \texttt{0.5} is selected as the width, the the minimum value will
357 be \latexonly{$median - 0.5 \times standardDeviation$}\latexignore{\emph{median - 0.5 x standardDeviation}}
358 and the maximum value will be \latexonly{$median + 0.5 \times standardDeviation$.}\latexignore{\emph{
359 median + 0.5 x standardDeviation}.}
360
361 \subsubsection{Full}
362 This command resets the intensity scale to the full scale of the image.
363
364 \subsection{Image}
365 These commands create a new image based upon the current image,
366 and for some commands, also upon a comparison image.
367
368 \subsubsection{Add, Subtract, Multiply, Divide}
369 These are simple arithmetic operations. \ctsim\ will display a dialog
370 box showing all of the currently opened image files that are the
371 same size as the active image. After the selection of a compatible image,
372 \ctsim\ will perform the arithmetic operation on the two images and
373 make a new result image.
374
375 \subsubsection{Image Size}
376 This command will generate a new image based on the current image. The new
377 image can be scaled to any size. A dialog
378 appears asking for the size of the new image. Bilinear interpolation
379 is used when calculating the new image.
380
381 \subsubsection{3-D Conversion}
382 This command generates a 3-dimensional view of the current phantom. This view can be
383 rotated in three dimensions. The left and right arrow control the z-axis
384 rotation and the up and down arrows control the x-axis rotation. The y-axis
385 rotation is controlled by the \texttt{T} and \texttt{Y} keys. Other options
386 are presented on the \texttt{View} menu and include:
387
388 \begin{itemize}\itemsep=0pt
389 \item Surface plot versus wireframe plot.
390 \item Smooth shading versus flat shading.
391 \item Lighting on or off.
392 \item Color scale on or off.
393 \end{itemize}
394
395 \subsection{Filter}\index{Image!Filter}
396 These commands filter and modify the image
397
398 \subsubsection{Arithmetic}
399 These commands operate on the image on a pixel-by-pixel basis. The commands
400 support both real and complex-valued images. The available arithmetic commards are:
401
402 \begin{twocollist}
403   \twocolitem{\textbf{Invert}}{Negate pixel values.}
404   \twocolitem{\textbf{Log}}{Take natural logrithm of pixel values.}
405   \twocolitem{\textbf{Exp}}{Take natural exponent of pixel values.}
406   \twocolitem{\textbf{Square}}{Take square of pixel values.}
407   \twocolitem{\textbf{Square root}}{Take square root of pixel values.}
408 \end{twocollist}
409
410
411 \subsubsection{Frequency Based}
412 These commands perform Fourier and inverse Fourier transformations of
413 images. By default, the transformations will automatically convert
414 images between Fourier to natural orders as expected. For example, \texttt{2-D FFT}
415 will transform the points into natural order after the Fourier transform.
416 Similarly the inverse, \texttt{2-D IFFT}, will reorder the points from
417 natural order to Fourier order before applying the inverse Fourier transformation.
418
419 As you would expect, images that undergo frequency filtering will be complex-valued
420 after than filtering. Only the real component is shown by \ctsim. However, \ctsim\ does
421 have options for converting a complex-valued image into a real-valued image via
422 the \texttt{Magnitude} and \texttt{Phase} filtering commands.
423
424 The available frequency-based filtering commards are:
425
426 \begin{itemize}\itemsep=0pt
427 \item 2-D FFT
428 \item 2-D IFFT
429 \item FFT Rows
430 \item IFFT Rows
431 \item FFT Columns
432 \item IFFT Columns
433 \item 2-D Fourier
434 \item 2-D Inverse Fourier
435 \item Shuffle Fourier to Natural Order
436 \item Shuffle Natural to Fourier Order
437 \item Magnitude
438 \item Phase
439 \end{itemize}
440
441 \subsection{Analyze - Plot}
442 The commands plot rows and columns of images. There are commands
443 that perform FFT transformations prior to plotting. To select
444 the row or column to plot, click the left mouse button over the
445 desired cursor point.
446
447 The available plot commands are:
448 \begin{itemize}\itemsep=0pt
449 \item Plot Row
450 \item Plot Column
451 \item Plot Histogram
452 \item Plot FFT Row
453 \item Plot FFT Col
454 \end{itemize}
455
456 \subsection{Analyze - Compare}\label{IDH_DLG_COMPARISON}\index{Image!Comparison}
457 This command performs statistical comparisons between two images. An option
458 also exists for generating a difference image from the two input images.
459
460 The three distance measures reported are:
461 \begin{itemize}\itemsep=0pt
462 \item[] \textbf{$d$}\quad The normalized root mean squared distance measure.
463 \item[] \textbf{$r$}\quad The normalized mean absolute distance measure.
464 \item[] \textbf{$e$}\quad The worst case distance measure over a \latexonly{$2\times2$}\latexignore{\emph{2 x 2}} pixel area.
465 \end{itemize}
466
467 There are also commands for comparison plotting of rows and columns from two images.
468 This is quite helpful when comparing a phantom to a reconstruction. As with plotting
469 of rows and columns, click the left mouse button over the desired cursor point to
470 choose which row and column to plot.
471
472
473 \section{Projection Menus}
474
475 \subsection{File - Properties}
476 The displayed properties include:
477
478 \begin{itemize}\itemsep=0pt
479 \item Number of detectors in the projections.
480 \item Number of views.
481 \item The parameters used when generating the projections from the phantom.
482 \end{itemize}
483
484 \subsection{Process - Convert Polar}\label{IDH_DLG_POLAR}\index{Polar conversion}
485 This command creates an image file with the polar conversion of the projection data.
486 The parameters to set are:
487
488 \begin{twocollist}
489 \twocolitem{\textbf{X Size}}{Number of columns in output image.}
490 \twocolitem{\textbf{Y Ssize}}{Number of rows in output image.}
491 \twocolitem{\textbf{Interpolation}}{Selects the interpolation method.
492 Currently, the \texttt{bilinear} option provides the highest
493 quality interpolation.}
494 \end{twocollist}
495
496 \subsection{Process - Convert FFT Polar}
497 The parameters for this option are the same as the \helprefn{Convert
498 Polar Dialog}{convertpolardialog}. For this command, though, the
499 projections are Fourier transformed prior to conversion to polar
500 image.
501
502 \subsection{Reconstruct - Filtered Backprojection}\label{IDH_DLG_RECONSTRUCTION}\index{Dialog!Reconstruction}
503 This command displays a dialog to set the parameters for reconstructing an image from projections
504 using the filtered backprojection technique. The parameters available are:
505
506 \begin{twocollist}
507 \twocolitem{\textbf{Filter}}{Selects the filter to apply to each
508 projection. To properly reconstruct an image, this filter should
509 consist of the the absolute value of distance from zero
510 frequency optionally multiplied by a smoothing filter. The optimal
511 filters to use are:
512 \begin{itemize}\itemsep=0pt
513 \item \texttt{abs\_bandlimit}
514 \item \texttt{abs\_hamming}
515 \item \texttt{abs\_hanning}
516 \item \texttt{abs\_cosine}
517 \end{itemize}
518 } \twocolitem{\textbf{Hamming parameter}}{Sets the alpha level for
519 Hamming window. This parameter adjusts the smoothing of the Hamming
520 filter and can range from \texttt{0} to \texttt{1}.
521 At a setting of \texttt{1}, the Hamming filter is the same as the bandlimit filter.
522 At a setting of \texttt{0.54}, the Hamming filter is the same as the Hanning
523 window.}
524 \twocolitem{\textbf{Filter Method}}{Selects the filtering method.
525 For large numbers of detectors, the FFT-based filters are preferred whereas for
526 smaller numbers of detectors \texttt{convolution} can be
527 faster. When \emph{Advanced Options} have been turned off, this menu only shows
528 the two basic choices: \texttt{convolution} and \texttt{FFT}. However, when
529 \emph{Advanced Options} have been turned on, additional selections are available as
530 discussed in the next section.
531 }
532 \twocolitem{\textbf{Interpolation}}{Interpolation technique during backprojection.
533 \texttt{cubic} has optimal quality when the
534 data is smooth. Smooth data is obtained by taking many projections and/or
535 using a smoothing filter. In the absence of smooth data, \texttt{linear} gives better results and
536 is also many times faster than cubic interpolation.
537
538 \begin{itemize}\itemsep=0pt
539 \item \texttt{nearest} - No interpolation, selects nearest point.
540 \item \texttt{linear} - Uses fast straight line interpolation.
541 \item \texttt{cubic} - Uses cubic interpolating polynomial.
542 \end{itemize}
543 }
544 \end{twocollist}
545
546 \textbf{Advanced Options}
547
548 These options are visible only if \emph{Advanced Options} has been
549 selected in the \texttt{File - Preferences} dialog. These parameters
550 default to optimal settings and don't need to be adjusted except
551 by expert users.
552
553 \begin{twocollist}
554 \twocolitem{\textbf{Filter Method}}{Selects the filtering method.
555 The general comments about this parameter given the previous section still apply.
556 With \emph{Advanced Options} on, the full set of filter methods are available:
557 \begin{itemize}\itemsep=0pt
558 \item \texttt{convolution}
559 \item \texttt{fourier} - Uses simple Fourier transform.
560 \item \texttt{fourier-table} - Optimizes Fourier transform by precalculating trigometric functions.
561 \item \texttt{fftw} - Uses complex-valued Fourier transform with the \emph{fftw} library.
562 \item \texttt{rfftw} - Uses optimized real/half-complex Fourier transform.
563 \end{itemize}
564 }
565 \twocolitem{\textbf{Backprojection}}{Selects the backprojection
566 technique. A setting of \texttt{idiff} is optimal.
567 \begin{itemize}\itemsep=0pt
568 \item \texttt{trig} - Use trigometric functions at each image point.
569 \item \texttt{table} - Use precalculated trigometric tables.
570 \item \texttt{diff} - Use difference method to iterate within image.
571 \item \texttt{idiff} - Use integer iteration techique.
572 \end{itemize}
573 }
574
575 \twocolitem{\textbf{Filter Generation}}{Selects the filter
576 generation. With convolution, \texttt{direct} is the proper method
577 to select. With any of the frequency methods,
578 \texttt{inverse-fourier} is the best method.
579 \begin{itemize}\itemsep=0pt
580 \item \texttt{direct}
581 \item \texttt{inverse-fourier}
582 \end{itemize}
583 }
584
585 \twocolitem{\textbf{Zeropad}}{Zeropad factor when using
586 frequency-based filtering. A setting of \texttt{1} is optimal whereas
587 a setting of \texttt{0} disables zero padding. Settings greater than \texttt{1}
588 perform larger amounts of zero padding but without any significant benefit.}
589
590 \end{twocollist}
591
592 \section{Plot Menus}
593 \subsection{File - Properties}
594 The displayed properties include:
595
596 \begin{itemize}\itemsep=0pt
597 \item the number of curves in the plot and the number of points per curve.
598 \item the EZPlot commands used to format the plot are displayed.
599 \item history labels from the originating image(s) and the plot function.
600 \end{itemize}
601
602 \subsection{View Menu}
603 These commands set the scaling for the y-axis. They are analogous
604 to the options used for setting the intensity scale for images.
605
606 \subsubsection{Set}
607 This command sets the upper and lower limits for the y-axis.
608
609 \subsubsection{Auto}
610 This command automatically sets the upper and lower limits for the
611 y-axis. Please refer to the image file \helpref{\texttt{View - Auto}}{IDH_DLG_AUTOSCALE}
612 documentation for the details.
613
614 \subsubsection{Full}
615 The command resets the upper and lower limits of the y-axis to the
616 minimum and maximum values of the curves.