|
TPCCLIB
|
Construct an ECAT PET file from binary flat file. More...
Go to the source code of this file.
Functions | |
| void | zero_hot_spots (float *fdata, int dim) |
| int | readMatrixInformation (char *fname, int *planeNr, int *frameNr, int *dim1, int *dim2) |
Construct an ECAT PET file from binary flat file.
Application name was previously flo2ecat.
Definition in file flat2img.c.
| int readMatrixInformation | ( | char * | fname, |
| int * | planeNr, | ||
| int * | frameNr, | ||
| int * | dim1, | ||
| int * | dim2 ) |
Read ASCII file containing information on matrix dimensions
| fname | Matrix information filename |
| planeNr | matrix plane number (zdim) |
| frameNr | matrix time frame number (tdim) |
| dim1 | matrix column number (xdim) |
| dim2 | matrix row number (ydim) |
Definition at line 468 of file flat2img.c.
| void zero_hot_spots | ( | float * | fdata, |
| int | dim ) |
Calculate the distance between the pixel and the center of matrix. If the distance is greater than radius of FOV, pixel value is set to zero.
| fdata | Pointer to array containing one 2D image matrix |
| dim | Dimensions (x and y) of the image matrix |
Definition at line 441 of file flat2img.c.