imgcalc - tpcclib 0.8.0 © 2023 by Turku PET Centre

Simple arithmetic calculations on PET images.
 
Usage: imgcalc [Options] file1 operation constant|file2 outputfile
 
, where
    Operation = +, -, x , :
    Constant = Image 1 is operated with this value.
 
Options:
 -frames
     All frames in image 1 are processed with the 1st time frame of image 2.
 -max=<value>
     Upper limit for output pixels (may be necessary in division).
 -abs[olute]
     Save absolute voxel values.
 -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.
 
Image 1 and 2 must be in the same format, and they must have same
matrix size and plane numbers.
Data is not interpolated or corrected for physical decay, and thus it is
on the responsibility of the user to check that PET time frames are similar
and that physical decay and other corrections are appropriately considered.
 
Constant can be given directly as value on the command line, or as name of
file containing only the value, or value with key 'constant'.
 
Input files must not be overwritten with the output file.
 
Examples:
     imgcalc a999.flow.img - a1000.flow.img subtr.img
     imgcalc o657dy1.v : 2.34 o657rda.v
 
See also: imgdecay, imgunit, eframe, imginv, esplit, imginteg, imgthrs
 
Keywords: image, modelling, simulation, tool