|
TPCCLIB
|
Printing ECAT 7.x (header) contents. More...
#include "libtpcimgio.h"Go to the source code of this file.
Functions | |
| void | ecat7PrintMainheader (ECAT7_mainheader *h, FILE *fp) |
| void | ecat7PrintImageheader (ECAT7_imageheader *h, FILE *fp) |
| void | ecat7PrintScanheader (ECAT7_scanheader *h, FILE *fp) |
| void | ecat7PrintAttenheader (ECAT7_attenheader *h, FILE *fp) |
| void | ecat7PrintPolmapheader (ECAT7_polmapheader *h, FILE *fp) |
| void | ecat7PrintNormheader (ECAT7_normheader *h, FILE *fp) |
| void | ecat7Print2DScanheader (ECAT7_2Dscanheader *h, FILE *fp) |
| void | ecat7Print2DNormheader (ECAT7_2Dnormheader *h, FILE *fp) |
| char * | ecat7filetype (short int file_type) |
| char * | ecat7acquisitiontype (short int acquisition_type) |
| char * | ecat7datatype (short int data_type) |
| int | ecat7PrintSubheader (ECAT7_mainheader mh, FILE *fp, int plane, int frame, FILE *ofp) |
Printing ECAT 7.x (header) contents.
Definition in file ecat7p.c.
| char * ecat7acquisitiontype | ( | short int | acquisition_type | ) |
Returns pointer to a string describing the ECAT7 acquisition_type
| acquisition_type | acquisition type code |
Definition at line 468 of file ecat7p.c.
Referenced by ecat7PrintMainheader().
| char * ecat7datatype | ( | short int | data_type | ) |
Returns pointer to a string describing the ECAT7 data_type
| data_type | data type code |
Definition at line 489 of file ecat7p.c.
Referenced by ecat7Print2DNormheader(), ecat7Print2DScanheader(), ecat7PrintAttenheader(), ecat7PrintImageheader(), ecat7PrintNormheader(), ecat7PrintPolmapheader(), and ecat7PrintScanheader().
| char * ecat7filetype | ( | short int | file_type | ) |
Returns pointer to a string describing the ECAT7 file_type
| file_type | file type code |
Definition at line 447 of file ecat7p.c.
Referenced by ecat7PrintMainheader(), and imgRead().
| void ecat7Print2DNormheader | ( | ECAT7_2Dnormheader * | h, |
| FILE * | fp ) |
Print ECAT 7.x 2D normalization header contents to specified file pointer
| h | Ecat7 2D normalization header |
| fp | target file pointer |
Definition at line 415 of file ecat7p.c.
Referenced by ecat7PrintSubheader().
| void ecat7Print2DScanheader | ( | ECAT7_2Dscanheader * | h, |
| FILE * | fp ) |
Print ECAT 7.x 2D sinogram header contents to specified file pointer
| h | Ecat7 2D scan header |
| fp | target file pointer |
Definition at line 364 of file ecat7p.c.
Referenced by ecat7PrintSubheader(), and ecat7Read2DScanMatrix().
| void ecat7PrintAttenheader | ( | ECAT7_attenheader * | h, |
| FILE * | fp ) |
Print ECAT 7.x attenuation header contents to specified file pointer
| h | Ecat7 attenuation header |
| fp | target file pointer |
Definition at line 230 of file ecat7p.c.
Referenced by ecat7PrintSubheader().
| void ecat7PrintImageheader | ( | ECAT7_imageheader * | h, |
| FILE * | fp ) |
Print ECAT 7.x image header contents to specified file pointer.
| h | Ecat7 image header |
| fp | target file pointer |
Definition at line 102 of file ecat7p.c.
Referenced by ecat7PrintSubheader(), and ecat7ReadImageMatrix().
| void ecat7PrintMainheader | ( | ECAT7_mainheader * | h, |
| FILE * | fp ) |
Print ECAT 7.x main header contents to specified file pointer
| h | Ecat7 main header |
| fp | target file pointer |
Definition at line 16 of file ecat7p.c.
| void ecat7PrintNormheader | ( | ECAT7_normheader * | h, |
| FILE * | fp ) |
Prints ECAT 7.x normalization header contents to specified file pointer
| h | Ecat7 normalization header |
| fp | tager file pointer |
Definition at line 327 of file ecat7p.c.
Referenced by ecat7PrintSubheader().
| void ecat7PrintPolmapheader | ( | ECAT7_polmapheader * | h, |
| FILE * | fp ) |
Print ECAT 7.x polar map header contents to specified file pointer
| h | Ecat7 polar map header |
| fp | target file pointer |
Definition at line 276 of file ecat7p.c.
Referenced by ecat7PrintSubheader(), and ecat7ReadPolarmapMatrix().
| void ecat7PrintScanheader | ( | ECAT7_scanheader * | h, |
| FILE * | fp ) |
Print ECAT 7.x 3D sinogram header contents to specified file pointer
| h | Ecat7 scan header |
| fp | target file pointer |
Definition at line 181 of file ecat7p.c.
Referenced by ecat7PrintSubheader(), and ecat7ReadScanMatrix().
| int ecat7PrintSubheader | ( | ECAT7_mainheader | mh, |
| FILE * | fp, | ||
| int | plane, | ||
| int | frame, | ||
| FILE * | ofp ) |
Print ECAT7 subheader contents into specified file pointer.
| mh | ECAT7 mainheader (not printed but needed here) |
| fp | File pointer to ECAT7 file |
| plane | ECAT7 plane |
| frame | ECAT7 frame |
| ofp | Output is written to this file pointer; it can be stdout |
Definition at line 506 of file ecat7p.c.