imgunit - tpcclib 0.7.5 © 2020 by Turku PET Centre

Report or set data calibration units in PET images.
By default, the calibration units are only shown, not changed.
Notice that some image formats, like Analyze, do not contain information
on the calibration units.
Time frame units are determined by the image format.
 
Usage: imgunit [Options] file(s)
 
Options:
 -u=<New unit; e.g. Bq/cc or kBq/ml>
     Set the unit, but does NOT change the pixel values.
 -us=<New unit; e.g. Bq/cc or kBq/ml>
     Set the unit only if unit is not originally defined in the image.
     This does NOT change the pixel values.
 -uc=<New unit; e.g. Bq/cc or kBq/ml>
     Converts pixel values to the specified unit.
 -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.
 
The following unit conversions are tested (but also others may work):
  Bq/cc  -> kBq/ml
  nCi/ml -> kBq/ml
  MBq/ml -> kBq/ml
  kBq/ml -> Bq/cc
 
Example: convert the pixel values in ECAT images to Bq/mL
  imgunit -uc=Bq/ml *.v
 
See also: tacunit, lmhdr, lshdr, e7emhdr, imgmax, imgcalc, imglkup
 
Keywords: image, ECAT, unit, tool, simulation