|
TPCCLIB
|
Setting image calibration unit. More...
#include "libtpcimgio.h"Go to the source code of this file.
Functions | |
| int | imgUnitId (char *unit) |
| void | imgUnitFromEcat (IMG *img, int ecat_unit) |
| void | imgUnitFromEcat7 (IMG *img, ECAT7_mainheader *h) |
| int | imgUnitToEcat6 (IMG *img) |
| void | imgUnitToEcat7 (IMG *img, ECAT7_mainheader *h) |
| char * | imgUnit (int dunit) |
| int | imgSetUnit (IMG *img, char *unit) |
Setting image calibration unit.
Definition in file imgunits.c.
| int imgSetUnit | ( | IMG * | img, |
| char * | unit ) |
Sets the unit in IMG based on specified unit string.
Definition at line 328 of file imgunits.c.
Referenced by imgSetUnit().
| char * imgUnit | ( | int | dunit | ) |
Return pointer to string describing the calibrated image data unit
| dunit | Unit id number. |
Definition at line 315 of file imgunits.c.
Referenced by clusterTACs(), cunit_check_dft_vs_img(), dftAllocateWithIMG(), imgInfo(), imgUnit(), and sif2dft().
| void imgUnitFromEcat | ( | IMG * | img, |
| int | ecat_unit ) |
Set IMG calibration unit based on ECAT 6.3 unit.
| img | Pointer to target IMG structure. |
| ecat_unit | Calibration unit code id. |
Definition at line 95 of file imgunits.c.
Referenced by ecat63ReadAllToImg(), ecat63ReadPlaneToImg(), imgGetEcat63MHeader(), imgReadEcat63Header(), and imgUnitFromEcat().
| void imgUnitFromEcat7 | ( | IMG * | img, |
| ECAT7_mainheader * | h ) |
Set IMG calibration unit based on ECAT7 main header.
| img | Pointer to target IMG structure. |
| h | Pointer to source ECAT 7 main header structure. |
Definition at line 149 of file imgunits.c.
Referenced by imgGetEcat7MHeader(), and imgUnitFromEcat7().
| int imgUnitId | ( | char * | unit | ) |
Identify the specified unit string as IMG unit.
| unit | Pointer to string containing the unit to be identified. |
Definition at line 14 of file imgunits.c.
Referenced by imgConvertUnit(), imgSetUnit(), imgUnitFromEcat7(), and imgUnitId().
| int imgUnitToEcat6 | ( | IMG * | img | ) |
Return ECAT 6.3 calibration unit based on IMG unit
| img | Pointer to IMG structure. |
Definition at line 175 of file imgunits.c.
Referenced by ecat63AddImg(), ecat63WriteAllImg(), imgSetEcat63MHeader(), imgSetEcat63SHeader(), and imgUnitToEcat6().
| void imgUnitToEcat7 | ( | IMG * | img, |
| ECAT7_mainheader * | h ) |
Set ECAT 7 main header calibration units based on IMG unit.
| img | Pointer to source IMG structure. |
| h | Pointer to target ECAT 7 main header structure. |
Definition at line 209 of file imgunits.c.
Referenced by imgSetEcat7MHeader(), and imgUnitToEcat7().