STIR
6.2.0
|
Conversion from interfile (or any format that we can read) to ECAT 6 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/IO/stir_ecat6.h"
#include "stir/IO/ecat6_utils.h"
#include "stir/IO/read_from_file.h"
#include "stir/Succeeded.h"
#include <iostream>
#include <vector>
#include <string>
#include "stir/warning.h"
#include "stir/error.h"
Functions | |
int | main (int argc, char *argv[]) |
Conversion from interfile (or any format that we can read) to ECAT 6 cti (image and sinogram data)
This programme is used to convert image or projection data into CTI ECAT 6 data (input can be any format currently supported by the library). It normally should be run as follows
conv_to_ecat6 [-k] [-i] outputfilename.img input_filename1 [input_filename2 ...] scanner_name
(for images)
conv_to_ecat6 -s[2] [-k] [-i] outputfilename.scn input_filename1 [input_filename2 ...]
(for projection data)
If there are no command line parameters, the user is asked for the filenames and options instead. Unless the -i option is used, 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.