imghist - tpcclib 0.8.0 © 2023 by Turku PET Centre

Make histogram of the voxel values in PET image.
PET image file must be in ECAT, NIfTI, or Analyze format.
Resulting histogram file contains the bin as the two first columns,
and the proportion (0-1) of values in the bin in the next column.
In case of dynamic PET data a separate histogram is made from each frame
and saved as its own column in the histogram file.
Usage: imghist [Options] petfile [histogram]
 -bin=<Binsize as absolute value> or -per=<Binsize as percentage>
     Set the bin size using these options; by default, bin size is 10%
     of maximum-minimum voxel value in the whole image.
     Nr of voxels in each bin is written in histogram file; proportion
     of them is written by default.
     Include only voxels with value > 0.
     Histogram is plotted in specified SVG file.
 -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: imginteg, imgmax, imgposv, imglkup, hist4dat, imgqntls, imgthrs
Keywords: image, histogram, threshold