Hello,
is there a tool to extract the translations and rotations from an affine transform matrix (register.dof6.dat)?
Best Joerg
If it is an LTA (not .dat file), you can use mri_coreg --mat2par ltafile There will be 9 values that come out: 1-3: translation in mm 4-6: rotation in deg 7-9: should all be 1s in this case
On 6/20/2019 2:52 AM, Pfannmoeller, Joerg Peter wrote: Hello,
is there a tool to extract the translations and rotations from an affine transform matrix (register.dof6.dat)?
Best Joerg
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
you can also use lta_convert to convert a .dat file to an LTA
On 6/22/2019 2:12 AM, Greve, Douglas N.,Ph.D. wrote: If it is an LTA (not .dat file), you can use mri_coreg --mat2par ltafile There will be 9 values that come out: 1-3: translation in mm 4-6: rotation in deg 7-9: should all be 1s in this case
On 6/20/2019 2:52 AM, Pfannmoeller, Joerg Peter wrote: Hello,
is there a tool to extract the translations and rotations from an affine transform matrix (register.dof6.dat)?
Best Joerg
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu