imgdelpl - tpcclib 0.8.0 © 2023 by Turku PET Centre

Delete specified planes (z dimension) from PET image in ECAT 6.3, 7.x,
NIfTI-1, or Analyze 7.5 format. If name for output file is not given,
then the original image is overwritten.
Usage: imgdelpl [Options] image planenr1 planenr2 [newimage]
Planes to be deleted can be given either as a range with planenr1
representing the first and planenr2 the last plane to delete (both >0),
or the number of planes to delete from the beginning and end (specified
with negative number or zero).
     Planes are not actually deleted, but pixel values 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.
Example 1: delete planes 2-3
     imgdelpl a234dy1.v 2 3 a234dy1_wo2-3.v
Example 2: delete three first and two last planes
     imgdelpl a234dy1.v -3 -2 a234dy1_4-13.v
See also: imgdelfr, imgdim, imgadd, esplit, imgslim, imgbox, imgzavg
Keywords: image, cropping, compression, time