# Parameter file format for mrprec

mrprec is a tool for median root prior (MRP) reconstruction. The program is called from SUN/Solaris command window with command

mrprec parameter_file.txt


Format of the parameter file is following:

name of the input sinogram file
name of the input normalization file
name of the input attenuation file
p1 p2 ... pN
f1 f2 ... fN
g1 g2 ... gN
b1 b2 ... bN
Maximum number of iterations Number of OS-sets
Number of iterations without prior
zoom
rotate
shift_x
shift_y
img_dim
decay_ON/OFF (1/0)
name of the output image file


Parameters stands for:

Name of the input sinogram file
Filename of the sinogram that will be reconstructed.
Name of the input normalization file
Filename of the normalization file. If sinogram is already normalized then leave an empty row here.
Name of the input attenuation file
Filename of the attenuation file. If sinogram is already corrected for attenuation, then leave an empty row here.
p1 p2 … pN
Specify here the numbers of the planes that you want to reconstruct.
f1 f2 … fN
Specify here the numbers of the frames that you want to reconstruct.
g1 g2 … gN
Specify here the gates.
b1 b2 … bN
Specify here the bed positions.
maximum number of iterations
Maximum number of iterations.
number of OS-sets
For MRP OS-set is usually 1.
beta
Often beta=0.3 is used for MRP.
zoom
Reconstruction zoom factor. Preferably zoom=1. If you use other than 1, it might be wise to use the same zoom for all images of the same study.
rotate
Image will be rotated if this is other than 0.
shift_x
Image will be moved in x direction if shift_x is other than 0.
shift_y
Image will be moved in y direction if shift_y is other than 0.
img_dim
Size of the image (in pixels). For example if you want a 128x128 size image set img_dim=128.
decay_ON/OFF (1/0)
Set 1 if sinogram is not decay corrected (it usually isn’t) and 0 if it is.
Name of the output image file
Specify a name for reconstructed image file.

## Example of a parameter file:

s04120dy1.scn
991122_norm.nrm
s04120tr1.atn
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
1
0
150 1
1
0.3 3
1
0
0
0
128
1
s04120dy1_mrp.img