imgbox - tpcclib 0.8.0 © 2023 by Turku PET Centre

Extract a box-like volume of 3D/4D PET image in ECAT format.
NIfTI-1 format is supported, except that SIF is not written.
Image is processed frame-by-frame, thus even large files can be processed.
Note that no backup is made of any previous output file.
Usage: imgbox [Options] imgfile [vrdfile outputfile]
     Image is not cropped, but voxels outside of the given volume are
     set to zero.
 -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.
Volume range definition (vrd) file is an ASCII text file, which containts
pixel coordinates (x y z; 1..dimension) of the two opposite corners of
the cropped image volume, for example:
     corner1 := 63 57 26
     corner2 := 84 71 44
If only input image filename is given, then program prints the image
See also: imgdim, imgslim, esplit, e7vplavg, imgshrink, pxl2tac, imgdelfr
Keywords: image, cropping, mask, compression, tool