About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 109
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Cihat Eldeniz
See full specifications

scripts default iconMake FSL-compatible Transformation Matrix (Scripts) Publisher's description

MAKEFSLXFMMATRIX Make FSL-compatible transformation matrix

MAKEFSLXFMMATRIX Make FSL-compatible transformation matrix.
M = MAKEFSLXFMMATRIX(T,R,S,FILENAME) outputs a 4x4 transformation
matrix performing the translations in T, the rotations in R and the
scalings in S and writes this matrix to the file specified by the
string FILENAME. This file is compatible with FSL's flirt and thus can
be directly used without further modification.

This function is actually the inverse function of FSL's avscale in that
avscale reads a transformation matrix file and lists the corresponding
translation, rotation and so on.

MAKEFSLXFMMATRIX can be especially useful if you would like to run

Please note that, just as in avscale, T is in millimeters, R is in
radians and S is unitless.

Usage example:
T = [1.433440 19.715600 0.786690]; % in mm.
R = [0.102735 -0.155470 0.121564]; % in rad.
S = [1 1 1]; % unitless
filename = 'thisIsWhatIWant.mat'; % :))

M = makeFslXfmMatrix(T,R,S,filename);

Now you can use avscale to see if things are working correctly.

[status,result] = system(['avscale --allparams thisIsWhatIWant.mat']);


System Requirements:

MATLAB 7.10 (2010a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Make FSL-compatible Transformation Matrix (Scripts) Tags:

Click on a tag to find related softwares

Is Make FSL-compatible Transformation Matrix (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.