imgthrs - tpcclib 0.6.6 © 2016 by Turku PET Centre

Threshold PET image file in ECAT, NIfTI, or Analyze format.
Program calculates an integral (AUC) over time frames of a dynamic
image, finds the maximal integral value of all planes, and
cuts off (sets to zero) the pixels in dynamic image which have lower
or higher integral than the specified threshold-%.
 
Usage: imgthrs [Options] imgfile lowerthreshold upperthreshold [outputfile]
 
Options:
 -mask=<filename>
     Save cutoff mask file containing pixels values 1 (between threshold
     limits) and 0 (under lower or over upper threshold).
 -abs
     Thresholds are given as absolute values instead of percentages
     of maximum in the static image; not applicable to dynamic images.
 -start=<time (min)>
     AUC calculation starts from given time. By default from scan start.
 -end=<time (min)>
     AUC calculation ends to given time. By default until scan end.
 --force
     Program does not mind if none of pixels are thresholded;
     otherwise that is considered as an error.
 -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.
 
Example: threshold the background and cerebrospinal fluid:
     imgthrs b123dy1.v 30 100 b123thres.v
 
See also: img2dft, imgmask, imginteg, imgposv, imgslim, pxl2tac, img2tif
 
Keywords: image, threshold, mask