[Mne_analysis] Converting from CTF to a Neuromag/FreeSurfer coordinate system

Robert Oostenveld r.oostenveld at donders.ru.nl
Tue Apr 2 04:20:00 EDT 2019
Search archives:

        External Email - Use Caution        

Hi Lau,

The MOUS dataset <http://hdl.handle.net/11633/di.dccn.DSC_3011020.09_236> is shared in the BIDS format <https://www.nature.com/articles/sdata2018110>. That means that metadata about the coregistration is present in the _coordsystem.json files. In this case it specifies 

{
	"DigitizedHeadPoints": "sub-A2002_headshape.pos",
	"DigitizedHeadPointsCoordinateSystem": "CTF",
	"DigitizedHeadPointsCoordinateSystemDescription": "CTF coordinates relative to the nasion and left and right pre-auricular points",
	"DigitizedHeadPointsCoordinateUnits": "cm",
	"FiducialsDescription": "Coregistration was initially done using the approximate position of the head localizer coils in the anatomical MRI and subsequently refined using the full headshape measured with the Polhemus. The positions of the head localizer coils at the ear canals (relative to the Polhemus coordinates) is included in the headshape file. CTF coordinates in the MEG data and in the coregistered anatomical MRI are specified relative to the localizer coils at nasion and left and right ear canal.",
	"HeadCoilCoordinateSystem": "CTF",
	"HeadCoilCoordinateSystemDescription": "CTF coordinates relative to the localizer coils, with the localizer coils at nasion and left and right ear canal",
	"HeadCoilCoordinateUnits": "cm",
	"HeadCoilCoordinates": {
		"nasion": [10.5092,0,0],
		"left_ear": [-0.014438,7.03839,0],
		"right_ear": [0.014438,-7.03839,0]
	},
	"IntendedFor": "anat/sub-A2002_space-CTF_T1w.nii",
	"MEGCoordinateSystem": "CTF",
	"MEGCoordinateSystemDescription": "CTF coordinates relative to the localizer coils, with the localizer coils at nasion and left and right ear canal",
	"MEGCoordinateUnits": "cm”
}

So the anatomical landmarks (nasion, left and right ear canal) are specified and their voxel indices can be looked up in the corresponding anatomical MRI, even though the nose is not visible any more. This should allow you to redo the full coregistration procedure using MNE Python. Note that the _headshape.pos file is also shared.
cheers
Robert

> On 2 Apr 2019, at 10:07, Lau Møller Andersen <lau.moller.andersen at ki.se> wrote:
> 
> Dear List
> 
> I'm analysing a dataset in MNE-Python that has been acquired in a CTF scanner. I also have access to individual MR's for each subject. Both one in the native coordinate system (Niftii) and one converted to the CTF space. Since the data comes from an publicly accessible database, the MR's have been defaced, and therefore it is not possible to correctly get the nasion fiducial correctly placed.
> 
> My attempt at solving this has been to run the FreeSurfer pipeline on the MR in the CTF space. Then to get it in the Neuromag Space I've rotated it 90 degrees around the z-axis and translated it 40 cm upwards. This looks reasonable, but now I've gotten worried that this won't work since the FreeSurfer origin is based on the ACPC convention and not between the auricular points as in Neuromag. Does this mean that my co-registration below is likely to be wrong, or is it right to be in the Neuromag coordinate system?
> 
> Here's my transformation matrix to go from CTF (left below) to Neuromag (right below)
> 
> <hcdglkoicemfmdik.png>
> 
> <nbbgjgknkcmcigpg.png>
> 
> Left: before rotation and translation. Right: after rotation and translation.
> 
> Best Wishes
> 
> Lau
> 
> -- 
> Lau Møller Andersen | Ph.D. | Post Doc 
> NatMEG - The National Research Facility for Magnetoencephalography (MEG)
> Department of Clinical Neuroscience
> Nobels väg 9: D303 | 171 77 Stockholm
> +46 8 524 833 33
> lau.moller.andersen at ki.se <mailto:lau.moller.andersen at ki.se> | lau at natmeg.se <mailto:lau at natmeg.se> 
> ki.se  <x-msg://10/ki.se>| natmeg.se <x-msg://10/natmeg.se>
> _____________________________________
> Karolinska Institutet – a medical university 
> 
> Treasurer: Karolinska Institutet Postdoc Association (KIPA) 
> 
> 
> När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI kommer att behandla dina personuppgifter. Här finns information om hur KI behandlar personuppgifter <https://ki.se/medarbetare/integritetsskyddspolicy>. 
> 
> Sending email to Karolinska Institutet (KI) will result in KI processing your personal data. You can read more about KI’s processing of personal data here <https://ki.se/en/staff/data-protection-policy>. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190402/f077a4c2/attachment-0001.html 


More information about the Mne_analysis mailing list