Added snark14m distribution examples
[snark14.git] / examples / b8 / b8.in
diff --git a/examples/b8/b8.in b/examples/b8/b8.in
new file mode 100644 (file)
index 0000000..204979e
--- /dev/null
@@ -0,0 +1,43 @@
+********* EXAMPLE 8
+* RECONSTRUCTION OF HEAD PHANTOM USING LINOGRAM AND FILTERED
+* BACKPROJECTION METHODS. SINC FILTER FOR LINOGRAM AND COSINE 
+* FILTER FOR FBP.
+*
+create
+EXAMPLE 8 LINOGRAM RECONSTRUCTION 
+spectrum monochromatic 75
+objects    cx          cy          u           v         ang         den
+elip      0.000       0.000     8.625        6.4687     90.00      0.416
+elip      0.000       0.000     7.875        5.7187     90.00     -0.206
+elip      0.000       1.500     0.375        0.3000     90.00     -0.003
+elip      0.675      -0.750     0.225        0.1500    140.00      0.010
+elip      0.750       1.500     0.375        0.2250     50.00      0.003
+segm      1.375      -7.500     1.100        0.6250     19.20     -0.204
+segm      1.375      -7.500     1.100        4.3200     19.21      0.204
+segm      0.000      -2.250     1.125        0.3750      0.00     -0.003
+segm      0.000      -2.250     1.125        3.0000      0.00      0.003
+segm     -1.000       3.750     1.000        0.5000    135.00     -0.003
+segm     -1.000       3.750     1.000        3.0000    135.00      0.003
+segm      1.000       3.750     1.000        0.5000    225.00     -0.003
+segm      1.000       3.750     1.000        3.0000    225.00      0.003
+tria      5.025       3.750     1.125        0.5000    110.75      0.206
+tria     -5.025       3.750     1.125        0.9000   -110.75      0.206
+last    1.0
+phantom average 5
+115    0.1504
+raysum average 1
+1
+geometry
+linogram
+measurement perfect
+background absorption is 0.0
+run
+picture test
+projection real
+execute lino
+EXAMPLE 8a LINOGRAM METHOD
+sinc 1.0 
+execute conv
+EXAMPLE 8b FILTERED BACKPROJECTION
+cosine 1.0 2 
+end