[FieldTrip] [Fieldtrip] creating mni-normalised headmodels of neuromag data
Hanneke.vanDijk at med.uni-duesseldorf.de
Hanneke.vanDijk at med.uni-duesseldorf.de
Thu Jun 14 12:47:01 CEST 2012
Dear all,
I am creating headmodels of neuromag data (Using FT version 20123105 and the example script http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space)
First I realign the mri with the fiducials I get out of mri-lab (in voxels).
The 'vol' structure is created like this:
Cfg = [];
cfg.coordsys = 'neuromag';
cfg.method = 'singleshell';
vol = ft_prepare_singleshell(cfg, segmentedmri);
the 'grid' like this:
load(strcat(basepath,'templates/template_grid.mat'));
cfg = [];
cfg.grid.warpmni = 'yes';
cfg.grid.template = template_grid;
cfg.grid.nonlinear = 'yes'; % use non-linear normalization
cfg.coordsys = 'neuromag';
cfg.mri = mri; %the realigned mri
grid = ft_prepare_sourcemodel(cfg);
Everything works well, untill I plot and see that the sizes/ origins (or units) are completely different for the vol and grid. At the moment I cannot find a solution. Does anyone have an idea?
The results are plotted and attached to this e-mail.
Thanks in advance,
Hanneke
p.s. I also filed this in bugzilla, for more information see there:
http://bugzilla.fcdonders.nl/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailreporter1=1&emailtype1=exact&email1=hannekevdg%40hotmail.com&field0-0-0=bug_status&type0-0-0=notequals&value0-0-0=UNCONFIRMED&field0-0-1=reporter&type0-0-1=equals&value0-0-1=hannekevdg%40hotmail.com
__________________________________________
Hanneke van Dijk, PhD
http://www.uniklinik-duesseldorf.de/deutsch/unternehmen/institute/KlinNeurowiss/Team/HannekevanDijk/page.html <http://www.uniklinik-duesseldorf.de/deutsch/unternehmen/institute/KlinNeurowiss/Team/HannekevanDijk/page.html>
Institute for Clinical Neuroscience,
Heinrich Heine Universität Düsseldorf, Germany
Hanneke.vanDijk at med.uni-duesseldorf.de
Tel. +49 (0) 211 81 13074
__________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grid_vol.png
Type: image/png
Size: 324339 bytes
Desc: grid_vol.png
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120614/f07c4264/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grid_vol2.jpg
Type: image/jpeg
Size: 139682 bytes
Desc: grid_vol2.jpg
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120614/f07c4264/attachment-0002.jpg>
More information about the fieldtrip
mailing list