-
Notifications
You must be signed in to change notification settings - Fork 1
Rotate
This utility allows you to rotate images, volumes and selfiles with images and volumes. To rotate an image you must give only the angle, while for rotating a volume you can choose among three different methods: rotation around an axis, rotation after an Euler matrix, rotation such that a given axis is vertical.
$ rotate -i ...
Parameters
-
__OR__Rotate a single file -
__OR__If no output file is given, then the input one is rewritten -
`` Reotate a bunch of files
-
`` If no output extension is given, then the input ones are rewritten.
-
`` Do not produce on screen information
-
`` Rotate a volume using these three angles to generate the rotation matrix. SeeCreatePhantom to have a deeper knowledge on Euler angles. The sign of the tilt angle in this program is the opposite to the one which must be supplied to the Spider routine
rt3d -
-align_with_Z "[[X],[y],[z]]"Rotate a volume such that (x,y,z) is aligned with Z -
-axis "[[X],[y],[z]]" -ang [ang]¡he axis must be only supplied for volumes, even if it is not given the Z axis is assumed. This is a turn ofangdegrees around the desired axis. If you are rotating pictures this is the only valid option and the axis need not to be provided -
`` By default, images and volumes are wrapped. This means that you will not find an empty region after rotating. Use this option if you don't want this behaviour
Rotation of a single image by 30 degrees around the Y-axis, overwriting input images
$ rotate -i g0ta00001.xmp -axis "[0,1,0]" -ang 30
Rotation of a sel file, a new extension is given to output images, ie, if input images are of the like ofg0ta0001.xmp, then the output ones will beg0ta0001.rot. The selfile contains only volumes and they are rotated such that the X axis is now vertical
$ rotate -i g0ta.sel -oext rot -euler 0 90 0
--Main.AlfredoSolano - 18 Jan 2007