STIR  6.2.0
Functions
create_projdata_template.cxx File Reference

A utility that creates a template projection data. More...

#include "stir/ProjDataInterfile.h"
#include "stir/ImagingModality.h"
#include "stir/ExamInfo.h"
#include "stir/ProjDataInfo.h"

Functions

int main (int argc, char *argv[])
 

Detailed Description

A utility that creates a template projection data.

Usage
create_projdata_template output_filename
This will ask questions to the user about the scanner, the data size, etc. It will then output new projection data (in Interfile format). However, the binary file will not contain any data.

This utility is mainly useful to create a template that can then be used for other STIR utilities (such as fwdtest, lm_to_projdata etc.).

Author
Kris Thielemans