Hi Freesurfer developers,
I am rather new (a few days in fact) to Freesurfer, so forgive me if I have some lack of knowledge.
I am currently working with T1 MRI and CT scans of patients that are undergoing epilepsy surgery, and am interested in using the transformation that freesurfer uses to "inflate" the cortical surface into a sphere for "inflating" the electrode contacts onto the spherical surface as well.
However, I am not sure if Freesurfer saves this transformation matrix done on the cortical surface? If so, is there a way I can extract that?
Thank you!
The way you probably want to do this is to register the CT to the MRI (bbregister, creates an LTA registration file), then run mri_vol2surf, passing it the LTA you created with bbregister. Then just load the result as an overlay in freeview and specify whatever surface you want (white, pial, inflated). It is generally set up to sample inside the brain, so when you run mri_vol2surf, you may have to play with it a little bit to make sure that it samples the electrodes. You can try using the pial surface instead of the white (--surf) and use --projdist-max. Run any of the programs with --help to get more details.
On 12/8/17 11:54 AM, Adam Li wrote:
Hi Freesurfer developers,
I am rather new (a few days in fact) to Freesurfer, so forgive me if I have some lack of knowledge.
I am currently working with T1 MRI and CT scans of patients that are undergoing epilepsy surgery, and am interested in using the transformation that freesurfer uses to "inflate" the cortical surface into a sphere for "inflating" the electrode contacts onto the spherical surface as well.
However, I am not sure if Freesurfer saves this transformation matrix done on the cortical surface? If so, is there a way I can extract that?
Thank you!
-- Best Regards,
Adam Li Graduate Student in Biomedical Engineering Johns Hopkins University & School of Medicine (805) 807-5898 | LinkedIn http://www.linkedin.com/in/adamli2392 | Personal Website http://adam2392.pythonanywhere.com/ | ali39@jhu.edu mailto:ali39@jhu.edu
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Hi Adam
it isn't a matrix, since it's nonlinear, but each vertex index is preserved through all of the transformations, so you can look up any vertex on any surface
cheers Bruce On Fri, 8 Dec 2017, Adam Li wrote:
Hi Freesurfer developers, I am rather new (a few days in fact) to Freesurfer, so forgive me if I have some lack of knowledge.
I am currently working with T1 MRI and CT scans of patients that are undergoing epilepsy surgery, and am interested in using the transformation that freesurfer uses to "inflate" the cortical surface into a sphere for "inflating" the electrode contacts onto the spherical surface as well.
However, I am not sure if Freesurfer saves this transformation matrix done on the cortical surface? If so, is there a way I can extract that?
Thank you!
-- Best Regards, Adam Li Graduate Student in Biomedical Engineering Johns Hopkins University & School of Medicine (805) 807-5898 | LinkedIn | Personal Website | ali39@jhu.edu
freesurfer@nmr.mgh.harvard.edu