|
TPCCLIB
|
Routines for Scan Information Files (SIF). More...
#include "libtpcimgio.h"Go to the source code of this file.
Functions | |
| void | sifInit (SIF *data) |
| void | sifEmpty (SIF *data) |
| int | sifSetmem (SIF *data, int frameNr) |
Variables | |
| int | SIF_TEST |
| char | siferrmsg [128] |
| void sifEmpty | ( | SIF * | data | ) |
Free memory allocated for SIF. All contents are destroyed.
| data | Pointer to sif data struct. |
Definition at line 33 of file sif.c.
Referenced by imgReadAnalyze(), imgReadAnalyzeFrame(), imgReadAnalyzeHeader(), imgReadModelingData(), imgReadNiftiFrame(), imgReadNiftiHeader(), imgSetWeights(), imgWriteNifti(), sifAllocateWithIMG(), sifRead(), and sifSetmem().
| void sifInit | ( | SIF * | data | ) |
Initiate SIF structure. This should be called once before first use.
| data | Pointer to sif data struct. |
Definition at line 17 of file sif.c.
Referenced by imgReadAnalyze(), imgReadAnalyzeFrame(), imgReadAnalyzeHeader(), imgReadModelingData(), imgReadNiftiFrame(), imgReadNiftiHeader(), imgSetWeights(), imgWriteAnalyze(), and imgWriteNifti().
| int sifSetmem | ( | SIF * | data, |
| int | frameNr ) |
Allocates memory for SIF data.
| data | Pointer to initiated sif data struct. Any existing data is destroyed. |
| frameNr | Number of PET time frames. |
Definition at line 56 of file sif.c.
Referenced by img2sif(), imgGetMicropetSIF(), sifAllocateWithIMG(), and sifRead().
| int SIF_TEST |
Verbose prints from SIF functions
Definition at line 6 of file sif.c.
Referenced by sifEmpty(), sifInit(), sifModerateTrues(), sifModerateWeights(), sifRead(), sifSetmem(), sifWeight(), sifWeightByFrames(), sifWeightNorm(), and sifWrite().
| char siferrmsg[128] |
Error message from SIF functions
Definition at line 7 of file sif.c.
Referenced by imgReadModelingData(), sifRead(), sifSetmem(), and sifWrite().