img2flat - tpcclib 0.6.6 © 2016 by Turku PET Centre
Extract the pixel values in PET image to a binary flat file
as 4-byte (32-bit) floating point values, in this order of matrices:
All image planes of the first frame, then planes of the 2nd frame, and so on.
Plane and frame number and matrix dimensions are written on screen
or in specified matrix information file (MIF), if filename for it is given.
The current platforms byte order (little or big endian) is used.
Usage: img2flat [Options] imagefile flatfile [MIF]
Options:
-inf=<Matrix information file>
Plane and frame number and matrix dimensions x and y are written in
specified text file; these numbers are needed when binary data
is imported in another application program
-bins=<Nr of bins>
This application supports also 2D ECAT sinogram data. With this option
only specified nr of bins in the mid part of sinogram are saved,
leaving out bins from both sides.
-h, --help
Display usage information on standard output and exit.
-v, --version
Display version and compile information on standard output and exit.
-d[n], --debug[=n], --verbose[=n]
Set the level (n) of debugging messages and listings.
-q, --quiet
Suppress displaying normal results on standard output.
-s, --silent
Suppress displaying anything except errors.
See also: flat2img, ecat2ana, ecat2nii, imgunit, eframe, convend
Keywords: ECAT, image, sinogram, format conversion