|
TPCCLIB
|
Scan information file interface with IMG structure. More...
Go to the source code of this file.
Functions | |
| int | imgToSIF (IMG *img, TAC *sif, int copy_header, int copy_frames, int copy_counts, int verbose) |
| int | imgFromSIF (IMG *img, TAC *sif, int copy_header, int copy_frames, int copy_counts, int verbose) |
Scan information file interface with IMG structure.
Definition in file imagesif.c.
| int imgFromSIF | ( | IMG * | img, |
| TAC * | sif, | ||
| int | copy_header, | ||
| int | copy_frames, | ||
| int | copy_counts, | ||
| int | verbose ) |
Copy information from SIF into IMG.
| img | Pointer to IMG struct into which content is copied from SIF. |
| sif | Pointer to SIF, which actually is stored as a TAC format. |
| copy_header | Select whether header contents are copied (1) or not copied (0) from SIF. |
| copy_frames | Select whether frame times are copied (1) or not copied (0) from SIF. |
| copy_counts | Select whether counts are copied (1) or not copied (0) from SIF. |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout |
Definition at line 126 of file imagesif.c.
Referenced by imgReadNifti().
| int imgToSIF | ( | IMG * | img, |
| TAC * | sif, | ||
| int | copy_header, | ||
| int | copy_frames, | ||
| int | copy_counts, | ||
| int | verbose ) |
Set SIF contents based on data in IMG.
| img | Pointer to IMG struct from which content is copied to SIF. |
| sif | Pointer to SIF, which actually is stored as a TAC format. Previous contents are optionally kept. |
| copy_header | Select whether header contents are copied (1) or not copied (0) to SIF. |
| copy_frames | Select whether frame times are copied (1) or not copied (0) to SIF. |
| copy_counts | Select whether counts are copied (1) or not copied (0) to SIF, or created if they do not exist (2). |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout. |
Definition at line 18 of file imagesif.c.
Referenced by imgWriteNifti().