STIR  6.2.0
Functions
create_multi_header.cxx File Reference

create a "Multi" header for a set of data More...

#include "stir/MultipleDataSetHeader.h"
#include <vector>
#include <fstream>
#include <iostream>

Functions

int main (int argc, char **argv)
 

Detailed Description

create a "Multi" header for a set of data

This is a command line utility for creating a header that "points" to several other data-sets, useful for e.g. dynamic images/data. The output header can then be used in other STIR utilities. This is useful for instance if you have a set of reconstruct images corresponding to several time frames, but need to read the data as a single study.

The command line arguments are as follows:

output_filename_with_extension in_data1 [in_data2 [in_data3...]]
Warning
There is no check that the data sizes and other info are compatible. Hence, lots of funny effects can happen if data are not compatible.
Author
Kris Thielemans