Parameter file format for fbprec
fbprec
is a tool for filtered back projection (FBP)
reconstruction.
The program is called from SUN/Solaris command window with command
fbprec 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 filter code cutoff 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.
- Filter code
-
1 (Ramp)
2 (Butter)
3 (Hann)
4 (Hamm)
5 (Parzen)
6 (Shepp)
0 (none) - cutoff
- Cutoff value. For example 0.3.
- 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 3 0.3 1 0 0 0 128 1 s04120dy1_fbp.img
See also:
Tags: Image reconstruction, File format
Updated at: 2014-04-23
Created at: 2007-01-31
Written by: Kaisa Liukko, Vesa Oikonen