[MINC-users] xfm to mat ??

Ernest Lo ernestplo at gmail.com
Thu Jan 11 10:00:27 EST 2007


Hello,

Does anyone have experience or knowledge with converting .xfm (for minc)
files to .mat (for analyze) files?

>From my understanding, the mat files appear to be a simple text file
containing a 4x4 matrix.  The first three
columns represent the rotational, scale and shear elements.  The last column
represents the translational
components.  The bottom (fourth) row always consists of 0 0 0 1 and makes
the matrix square.  Therefore
placing the first three rows of this matrix after the header information of
an .xfm file should translate this
.mat into a .xfm useable for minc images.  Does this sound correct?

Thank you,


Ernest Lo
Montreal Neurological Institute
Montreal, Canada


More information about the MINC-users mailing list