Manpage of MOTL2Slicer
Section: User Commands (1)
Return to Main Contents
MOTL2Slicer - convert Z-X-Z Euler angles to Z-Y-X "Slicer" angles
MOTL2Slicer inputFilename outputFilename
MOTL2Slicer converts one or more Z-X-Z Euler angles (in degrees)
to the corresponding Z-Y-X Slicer angles, and will either print the
results or save them to an output file in comma separated value format.
If no arguments are supplied, the program will prompt the user for
Euler angles, and will display the corresponding Slicer angles.
Conversely, if input and output filenames are provided, results will be
read from and written to these files. Input files can be in either of
2 formats. If every line of the input file contains 3 comma separated
values, each line will be taken as Z1, X, and Z2 angles in degrees.
Alternatively, if every line after the first contains 20 comma separated
values, the file will be assumed to be a motive list, and Z1, X, and Z2
will be taken from columns 17, 19, and 18, respectively.
The output Slicer angles will correspond to the same transform
as the input Euler angles. (This is in contrast to slicer2MOTL, where
the inverse of the original transform is computed). If Slicer angles
corresponding to the inverse transform are desired, simply replace
Z1, X, and Z2 by -Z2, -X, and -Z1.
- inputFilename (optional)
is the path to either a motive list or a coma separated value file with
3 columns containing the Z-X-Z Euler angles tp be converted.
- outputFilename (optional)
is the name to which the output Slicer angles will be written. Note that
Slicer angles are written in the order X (1st), Y (2nd), and Z (3rd)
even though they are to be applied in the order Z-Y-X.
PEET(1), and slicer2MOTL(1).
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:10:05 GMT, March 20, 2017