imgmove - tpcclib 0.8.0 © 2023 by Turku PET Centre
Move specified image frames in x,y-directions. Only for simulation use:
this is not convenient nor valid method for movement correction, because
attenuation correction is not moved accordingly.
Usage: imgmove [Options] imgfile x y [frames [outputfile]]
Image file can be in ECAT 6.3 or 7.x, NIfTI-1, or Analyze 7.5 format.
Movements in x and y directions are given in pixels, with positive number
meaning right/up and negative number meaning left/down.
If name for output file is not given, then the original image is overwritten.
If also frame(s) are not given, then all frames are moved.
New image area is filled with neighbouring pixel values
(by default with zeroes).
Display usage information on standard output and exit.
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.
Suppress displaying normal results on standard output.
Suppress displaying anything except errors.
Example: Move pixels in frames 14-16 upwards by two pixels
imgmove ua2918dy1.v 0 2 14-16 ua2918dy1mov.v
See also: imgadd, simcirc, simboxes, flat2img
Keywords: image, simulation, software testing, mask