r635: no message
[ctsim.git] / man / pjrec.1
1 .\"  -*- NROFF -*-
2 .TH pjrec 1
3
4 .SH NAME
5 pjrec - reconstruction from projections
6
7 .SH SYNOPSIS
8 .B pjrec projection-file image-file nx-image ny-image [OPTIONS]
9
10 .SH DESCRIPTION
11 \fIpjrec\fP takes projection data from \fIraysum-file\P and produces an
12 (IF) image file \fIimage-file\fP, of size \fInx-image\fP by
13 \fIny-image\fP pixels, containing the reconstructed image.  
14
15 .SH OPTIONS
16 \fIpjrec\fP accepts the following options, which control the
17 reconstruction algorithm:
18 .TP 12
19 .B \-\-interp        
20 Interpolation method during backprojection
21 .RS
22 .TP
23 .B nearest     
24 Nearest neighbor interpolation
25 .TP
26 .B linear      
27 Linear interpolation
28 .RE
29 .TP 12
30 .B \-\-preinterpolate  
31 Preinterpolation factor (default = 1).  Used only with frequency-based 
32 filtering
33 .TP 12
34 .B \-\-filter       
35 Filter name
36 .RS
37 .TP 15
38 .B abs_bandlimit 
39 Abs * Bandlimiting (default)
40 .TP 15
41 .B abs_sinc      
42 Abs * Sinc
43 .TP 15
44 .B abs_cosine    
45 Abs * Cosine
46 .TP 15
47 .B abs_hamming   
48 Abs * Hamming
49 .TP 15
50 .B shepp         
51 Shepp-Logan
52 .TP 15
53 .B bandlimit     
54 Bandlimiting
55 .TP 15
56 .B sinc          
57 Sinc
58 .TP 15
59 .B cosine        
60 Cosine
61 .TP 15
62 .B triangle      
63 Triangle
64 .TP 15
65 .B hamming       
66 Hamming
67 .RE
68 .TP 12
69 .B \-\-filter-method  
70 Filter method before backprojections
71 .RS
72 .TP 15
73 .B convolution      
74 Spatial filtering (default)
75 .TP 15
76 .B fourier          
77 Frequency filtering with discete fourier
78 .TP 15
79 .B fourier_table    
80 Frequency filtering with table lookup fourier
81 .TP 15
82 .B fft              
83 Fast Fourier Transform
84 .RE
85 .TP 12
86 .B \-\-zeropad n   
87 Set zeropad level (default = 0).  set n to number of powers to two to pad
88 .TP 12
89 .B \-\-filter-generation  
90 Filter Generation mode
91 .RS
92 .TP 12
93 .B direct       
94 Use direct filter in spatial or frequency domain (default)
95 .TP 12
96 .B inverse_fourier  
97 Use inverse fourier transform of inverse filter
98 .RE
99 .TP 12
100 .B \-\-backproj    
101 Backprojection Method
102 .RS
103 .TP
104 .B trig        
105 Trigometric functions at every point
106 .TP
107 .B table       
108 Trigometric functions with precalculated table
109 .TP
110 .B diff        
111 Difference method
112 .TP
113 .B diff2       
114 Optimized difference method (default)
115 .TP
116 .B idiff2      
117 Optimized difference method with integer math
118 .TP
119 .B idiff3      
120 Highly-optimized difference method with integer math
121 .RE
122 .TP 12
123 .B \-\-filter-param 
124 Alpha level for Hamming filter
125 .TP 12
126 .B \-\-trace        
127 Set tracing to level:
128 .RS
129 .TP 12
130 .B none        
131 No tracing (default)
132 .TP 12
133 .B console     
134 Text level tracing
135 .TP 12
136 .B phantom     
137 Trace phantom
138 .TP 12
139 .B proj        
140 Trace allrays
141 .TP 12
142 .B plot        
143 Trace plotting
144 .TP 12
145 .B clipping    
146 Trace clipping
147 .RE
148 .TP 12
149 .B \-\-verbose      Turn on verbose mode
150 .TP 12
151 .B \-\-debug        Turn on debug mode
152 .TP 12
153 .B \-\-version      Print version
154 .TP 12
155 .B \-\-help         Print a terse help message
156
157 .SH AUTHORS
158 Kevin Rosenberg, M.D. <kevin@rosenberg.net>
159
160 .SH HISTORY
161 .Nm pjrec
162 was first written in 1983 using MS-DOS and an EGA display adapter. In 1999 it was ported to GNU/Linux and later ported to Microsoft Windows.
163
164 .SH SEE ALSO
165 .BR ctsim (1), ifinfo (1), if1 (1), if2 (1), ifexport (1), phm2pj (1), phm2if (1), pj2if (1), pjinfo (1)