imgcalc - tpcclib 0.6.6 © 2016 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).
-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.
Examples:
imgcalc a999.flow.img - a1000.flow.img subtr.img
imgcalc o657dy1.v : 2.34 o657rda.v
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.
See also: imgdecay, imgunit, eframe, ecatcat, esplit, imginteg, img2tif
Keywords: image, modelling, simulation, tool