-
Notifications
You must be signed in to change notification settings - Fork 1
Shift
This utility allows you to shift and or scale images, volumes and selfiles with images and volumes.
$ shift -i ...
Parameters
-
__OR__
Shift a single file -
__OR__
If no output file is given, then the input one is rewritten -
`` Shift a bunch of files
-
__OR__
If no output extension is given, then the input ones are rewritten -
`` Do not produce on screen information
-
-shift "[[X],[y],[z]]"
Shift vector -
-scale "[[X],[y],[z]]"
Scale vector -
`` Shift vectors may be provided by a doc file
- `` Shift and scales are totally independent
-
`` Scale vectors may be provided by a doc file
- `` Shift and scales are totally independent
-
`` By default, the image or volume is assumed to be periodic. Applying this flag it is not
-
`` Use this flag to store the shift in the header avoiding, thus, the interpolation. This flag is only valid for images
-
`` Use this flag to shift the center of mass of the images to the center of the image. This flag is only valid for images
Shifting of a single image, overwriting input images
$ shift -i g0ta00001.xmp -shift "[3,-2]"
Shifting of a selfile, a new extension is given to output images, ie, if input images are of the like ofg0ta0001.xmp
, then the output ones will beg0ta0001.shf
.
$ shift -i g0ta.sel -oext shf -shift "[-2,-2]"
Shift and Scale a sel file using a unique docfile with shifts is columns 3 and 4 and scales in columns 5 and 6. The output images extension isspi
$ shift -i g1t.sel -oext spi -shift shift.doc -scale shift.doc -colX_shift 3 -colX_scale 5
Shift all images in a selfile so that their center of mass are in the center of the images
$ shift -i g1t.sel -center_mass
--Main.AlfredoSolano - 18 Jan 2007