Yes, you get Scanner RASExternal Email - Use Caution
Hi,
I am a bit noob on FreeSurfer and coordinate systems and I had a few questions. I am wondering if I have the
T1.mgzfile of FreeSurfer after running recon-all and this is the 256^3 image re-scaled and re-oriented from yourorig.mgzfile, then how does one define the fsnative (volume RAS) vs surface RAS (tkras in FreeSurfer)? Assuming there was no preprocessing done on the original scanner nifti, I run the following commands:(base) workstation$ mri_info ~/bids/derivatives/freesurfer/la02/mri/T1.mgz --vox2ras
-1.00000 0.00000 0.00000 126.81799
0.00000 -0.00000 1.00000 -121.57332
0.00000 -1.00000 0.00000 159.64563
0.00000 0.00000 0.00000 1.00000(base) workstation$ mri_info ~/bids/derivatives/freesurfer/la02/mri/T1.mgz --vox2ras-tkr
-1.00000 0.00000 0.00000 128.00000
0.00000 0.00000 1.00000 -128.00000
0.00000 -1.00000 0.00000 128.00000
0.00000 0.00000 0.00000 1.00000Questions:
1. Applying the `vox2ras` to any voxel, I would get RAS xyz coordinates right?
You would get "TKR" coordinates. TKR stands for tkregister, one of our old registration GUIs.2. If I apply `vox2ras-tkr` to any voxel, I would also get RAS xyz coordinates?
The surface is in TKR coords (eg, if you take a surface vertex XYZ and apply the inverse vox2ras-tkr, you will get the voxel col, row, slice where the vertex lives). The center is at the center of the volume (almost).3. So what is the difference exactly between these two transforms? Is there anything special / consistent in terms of the definition of the origin and orientation? E.g. Orientation is always RAS, and origin is always... estimated center of the patient's brain? Or is the origin somewhere special like the AC?
3. When would I use one transform over the other?
I've searched online and read through the following, but I feel like there is not explicit discussion of the above questions:
--
Best Regards,
Adam Li (he/him)PhD Student in Biomedical EngineeringJohns Hopkins University & School of Medicine
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer