<div dir="ltr"><div><div><div><div>Thanks Jan,<br></div>Ill try as you said.<br></div><br></div>cheers<br></div>Jose<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/29 jan-mathijs schoffelen <span dir="ltr"><<a href="mailto:jan.schoffelen@donders.ru.nl" target="_blank">jan.schoffelen@donders.ru.nl</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">José,<div><br></div><div>Coregistration is a tricky thing, particularly if you start mixing results from two different software packages. I'd stick to one package, that's my recommendation, unless you really know what all individual steps are doing. Are you sure that your Aff_1 is doing what you think it is doing? E.g. does it apply to an anatomical volume with the same orientation, FOV, etc as the T1.nii?</div>
<div>Also, I think that for any automatic registration tool you use, it is necessary to get the geometric objects in approximate alignment, which means you need to select fiducials, otherwise your algorithm will not converge to the correct solution. I usually use ft_volumerealign twice. The first time to get an approximate registration (cfg.method = 'interactive'). If you have a headsurface determined with a polhemus device, you can call ft_volumerealign a second time (with the output to the first call as the input mri), in combination with cfg.method = 'headshape', and cfg.headshape = ft_read_headshape('headshapefile.txt')</div>
<div>Finally, I'd recommend not to re-post the same question too quickly after itself.</div><div><br></div><div>Best wishes,</div><div>Jan-Mathijs</div><div><br></div><div><br></div><div><br></div><div><br></div><div>
<div><div class="im"><div>On Apr 29, 2013, at 12:31 PM, José Ángel Pineda wrote:</div><br></div><blockquote type="cite"><div dir="ltr"><div class="im"><div><div><div><div>Dear experts,<br><br>I was using manual selection of the fiducials in
order to get the affine transformation of the MRI T1 image to the MEG
sensor space.<br></div></div></div>Now, I have decided to use freesurfer for
obtaining the head surface and some function for performing an automatic
corregistration from head surface to fiducials (and polhemus
information), in order to avoid manual selection of the fiducials for each subject.<br><br>So I already have one affine transformation (Aff_1)<br><br></div><div>I
loaded the MRI T1 volume (mri = ft_read_mri(T1.nii)), I change the
mri.transform to mri.transform*Aff_1, but when I plot the results
(ft_determine_coordsys) I got what is in the attached snapshot.<br>
</div><div><br>Could you please give me any advice to solve this?<br><br>Thanks<br><br></div>cheers <br><br>Jose<br><br></div><span><image.png></span><div class="im"><br clear="all"><br>-- <br><div style="background-color:transparent">
<div style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;font-size:12px;white-space:pre-wrap">José Angel Pineda Pardo</span></div><div style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt">
<span style="font-family:Arial;font-size:12px;white-space:pre-wrap">Center of Biomedical Technology (CTB)</span></div><div style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;font-style:normal;font-size:9pt;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal">Parque Científico y Tecnológico de la UPM</span></div>
<div style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;font-style:normal;font-size:9pt;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal">Campus de Montegancedo</span></div>
<div style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;font-style:normal;font-size:9pt;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal">28223 Pozuelo de Alarcón, Madrid, ES</span></div>
</div>
</div></div>
Spam detection software, running on the system "<a href="http://brievenbus.science.ru.nl" target="_blank">brievenbus.science.ru.nl</a>", has<br>identified this incoming email as possible spam. The original message<br>
has been attached to this so you can view it (if it isn't spam) or label<br>similar future email. If you have any questions, see<br><a href="mailto:postmaster@science.ru.nl" target="_blank">postmaster@science.ru.nl</a> for details.<br>
<br>Content preview: Dear experts, I was using manual selection of the fiducials<div class="im"><br> in order to get the affine transformation of the MRI T1 image to the MEG<br> sensor space. Now, I have decided to use freesurfer for obtaining the head<br>
surface and some function for performing an automatic corregistration from<br> head surface to fiducials (and polhemus information), in order to avoid manual<br></div> selection of the fiducials for each subject. [...] <br>
<br>Content analysis details: (5.0 points, 5.0 required)<br><br> pts rule name description<br>---- ---------------------- --------------------------------------------------<br> 3.9 BAYES_99 BODY: Bayesian spam probability is 99 to 100%<br>
[score: 0.9997]<br> 1.6 HTML_IMAGE_ONLY_28 BODY: HTML: images with 2400-2800 bytes of words<br> 0.0 HTML_MESSAGE BODY: HTML included in message<br>-1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at <a href="http://www.dnswl.org/" target="_blank">http://www.dnswl.org/</a>, low<br>
trust<br> [209.85.128.179 listed in <a href="http://list.dnswl.org" target="_blank">list.dnswl.org</a>]<br> 0.6 DC_PNG_UNO_LARGO Message contains a single large inline gif<br>
0.0 DC_IMAGE_SPAM_TEXT Possible Image-only spam with little text<br> 0.0 DC_IMAGE_SPAM_HTML Possible Image-only spam<br><br><br>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></blockquote></div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>Jan-Mathijs Schoffelen, MD PhD </div><div><br></div><div>Donders Institute for Brain, Cognition and Behaviour, <br>Centre for Cognitive Neuroimaging,<br>Radboud University Nijmegen, The Netherlands</div><div><br></div>
<div>Max Planck Institute for Psycholinguistics,</div><div>Nijmegen, The Netherlands</div><div><br></div><div><a href="mailto:J.Schoffelen@donders.ru.nl" target="_blank">J.Schoffelen@donders.ru.nl</a></div><div>Telephone: <a href="tel:%2B31-24-3614793" value="+31243614793" target="_blank">+31-24-3614793</a></div>
</div></span></div></span></div></span></div></span></div></span></span>
</div>
<br></div></div><br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br><br clear="all"><br>-- <br><div style="background-color:transparent">
<p style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;font-size:12px;white-space:pre-wrap">José Angel Pineda Pardo</span></p><p style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt">
<span style="font-family:Arial;font-size:12px;white-space:pre-wrap">Center of Biomedical Technology (CTB)</span></p><p style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Parque Científico y Tecnológico de la UPM</span></p>
<p style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Campus de Montegancedo</span></p>
<p style="font-family:Times;font-size:medium;text-align:justify;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">28223 Pozuelo de Alarcón, Madrid, ES</span></p>
</div>
</div>