<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div style="" class="">Dear fieldtrip experts,<br style="">Im trying to do source localization for simulated EEG data, for this I followed the tutorial in page:</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><a style="" class="" href="http://fieldtrip.fcdonders.nl/tutorial/minimumnormestimate">http://fieldtrip.fcdonders.nl/tutorial/minimumnormestimate</a></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"
 class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">I was trying to use the mri image provided by fieldtrip (Subject01.mri) and EEG template (standard_1020.elc) in my work.<br style="" class="">The mri image need to be re-aliened to the Talairach space for coregistration with EEG space. In the tutorial you use (ft_volumerealien) to do that using interactive method.<br style="" class="">I have two questions:<br style="" class=""><br style="" class="">First, how can I do the coregistration using fixed coordinates of the 3 fiducials (nasion, left pr, right pr), in other words how can I get the coordinates of the fiducials in both Talairach and EEG spaces to do the coregistration using the script only not manually.<br style="" class=""><br style="" class="">Second, I
 tried to use the mri image provided by the spm toolbox because its already aliened to Talairach space, but when I try to do segmentation I get error that coordinates field does not exist:<br style="" class=""><br style="" class="">??? Reference to non-existent field 'coordsys'.<br style="" class=""><br style="" class="">Error in ==> ft_volumesegment at 284<br style="" class="">  original.coordsys  = mri.coordsys;<br style="" class=""><br style="" class="">Error in ==> segmentation_spm_mri at 24<br style="" class="">seg           = ft_volumesegment(cfg, mrirs); <br style="" class=""><br style="" class="">I read the image using (ft_read_mri) function, I don't find the field specified for the coordinates:<br style="" class=""><br style="" class="">disp(mri)<br style="" class="">          dim: [177 240 256]<br style=""
 class="">      anatomy: [177x240x256 double]<br style="" class="">          hdr: [1x1 struct]<br style="" class="">    transform: [4x4 double]<br style="" class="">         unit: 'mm'<br style="" class=""><br style="" class="">How can I solve this problem so I can use the mri image in SPM for further analysing in fieldtrip?<br style="" class=""><br style="" class="">Sorry for the long email I would be thankful for any help.<br style="" class="">Regards<br style="" class="">Rasha <br style="" class=""></div><div style="" class="" id="yiv9704346239"><div style="" class=""><div class="" style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><br style="" class=""></div></div></div><br style="" class=""><div style=""
 class=""></div></div></body></html>