[Mristudio-users] Quantify the head motion using the 4x4 transformation matrices from AIR results

Yuan, Weihong Weihong.Yuan at cchmc.org
Thu Apr 17 00:09:16 EDT 2014


Dear Susumu and all,

After registering the DWIs to b0 with AIR,  all the transformation matrices are saved in a text file (please see attached as an example) . Each DWI frame has a 4x4 transformation matrix, say it's called matrix A.  Here are my questions and I appreciate if you can help me with this:

- I assume the first three rows in the fourth column (element A(1,4), A(2,4) and A(3,4)) are for translation at x-, y-, and z- plane.  Can you confirm, please? Are they in the unit of mm or voxel? If I want to quantify the displacement, say for the 1st DWI frame relative to b0, can I just do: displacement = sqrt((x1-x0)^2+(y1-y0)^2+(z1-z0)^2)?

- The 9 elements in the first three rows and first three columns should be the rotation matrix.  Is there a way to get the quantification of rotation in the three plane (x-, y-, z-) for each DWI frame? I am wondering if you have a script that can read the text file generated from the AIR (see attached) and generate a text file with rotation (in three different plane) and translation for all the DWI frames?

Thanks

Weihong

Weihong Yuan, PhD
PNRC/IRC, Radiology
Cincinnati Children's Hospital
Cincinnati, OH 45040



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mristudio.org/pipermail/mristudio-users/attachments/20140417/7d297dac/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CC003_AirMatrix.txt
URL: <http://lists.mristudio.org/pipermail/mristudio-users/attachments/20140417/7d297dac/attachment.txt>


More information about the mristudio-users mailing list