STIR
6.2.0
|
Conversion from interfile (or any format that we can read) to ECAT 7 cti (image and sinogram data) More...
#include "stir/DiscretisedDensity.h"
#include "stir/ProjData.h"
#include "stir/shared_ptr.h"
#include "stir/utilities.h"
#include "stir/Succeeded.h"
#include "stir/IO/stir_ecat7.h"
#include "stir/IO/read_from_file.h"
#include "stir/warning.h"
#include <iostream>
#include <vector>
#include <string>
#include <boost/format.hpp>
Functions | |
void | usage () |
int | main (int argc, char *argv[]) |
Conversion from interfile (or any format that we can read) to ECAT 7 cti (image and sinogram data)
This programme is used to convert image or projection data into CTI ECAT 7 data (input can be any format currently supported by the library). It normally should be run as follows
conv_to_ecat7 output_ECAT7_name input_filename1 [input_filename2 ...] scanner_name
(for images)
conv_to_ecat7 -s output_ECAT7_name input_filename1 [input_filename2 ...]
(for emission projection data)
conv_to_ecat7 -a output_ECAT7_name input_filename1 [input_filename2 ...]
(for sinogram-attenuation data)
If there are no command line parameters, the user is asked for the filenames and options instead. The data will be assigned a frame number in the order that they occur on the command line.
See buildblock/Scanner.cxx for supported scanner names, but examples are ECAT 953, ART, Advance. ECAT HR+, etc. If the scanner_name contains a space, the scanner name has to be surrounded by double quotes (") when used as a command line argument.