imgmask - tpcclib 0.8.0 © 2023 by Turku PET Centre
Apply mask image(s) to PET image file in ECAT 6.3 or 7.x, NIfTI-1, or
Analyze 7.5 format. Mask and PET image must have the same dimensions, except
if z and/or t dimension in mask image is 1, it is applied to all PET image
planes and frames, respectively.
By default, those pixels that have value 0 in the mask image will be set to
zero in the PET image.
Notice that PET image file is overwritten; make sure that backup exists.
Usage: imgmask [Options] imgfile maskfile [maskedfile]
Options:
-inv
Pixels that have non-zero value in the mask image will be set to zero
in the PET image.
-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: imgcalc, imgslim, imgadd, simcirc, flat2img, imgmax, maskinv
Keywords: image, mask, threshold